├── AUTHORS.txt ├── COPYING.modifiedLGPL ├── COPYING.txt ├── INSTALL.txt ├── README.txt ├── patch ├── Lazarus │ ├── main.pp_laz_1.0.14.zip │ ├── main.pp_laz_1.0.8.zip │ ├── main.pp_laz_1.2.0.zip │ ├── main.pp_laz_1.2.2.zip │ ├── main.pp_laz_1.2.4.zip │ ├── main.pp_laz_1.2.6.zip │ ├── main.pp_laz_1.2RC2.zip │ ├── main.pp_laz_1.4.4.zip │ └── readme_patch_lazarus.txt ├── Typhon │ ├── readme_patch_typhon.txt │ ├── sourcefilemanager_4.6.zip │ ├── sourcefilemanager_4.7.zip │ ├── sourcefilemanager_4.9.zip │ ├── sourcefilemanager_5.0.zip │ ├── sourcefilemanager_5.1.zip │ ├── sourcefilemanager_5.2.zip │ ├── sourcefilemanager_5.3.zip │ ├── sourcefilemanager_5.4.zip │ ├── sourcefilemanager_5.5.zip │ └── sourcefilemanager_5.6.zip ├── fpc │ ├── fpc_fpg_patch.bat │ ├── fpc_fpg_patch.pas │ ├── fpc_fpg_patch.sh │ └── readme_patch_fpc.txt └── readme_patch.txt ├── readme_dynload.txt ├── src ├── anchors.inc ├── cthreads.pas ├── define.inc ├── designer_ext.lpi ├── designer_ext.pas ├── designer_ext.prj ├── designer_ext_lib.prj ├── designer_ext_lib_fpgui-test.prj ├── dynX11 │ ├── keysym.pp │ ├── x.pp │ ├── xatom.pp │ ├── xext.pas │ ├── xftlib.pas │ ├── xlib.pas │ ├── xrender.pas │ └── xutil.pp ├── ext.inc ├── extrafpc.cfg ├── form_libtest_lcl.lfm ├── form_libtest_lcl.pas ├── fpGUI-develop_dynX11 │ ├── fpg_main.pas │ ├── fpg_netlayer_x11.pas │ ├── fpg_x11.pas │ └── xdynload.pas ├── fpGUI-maint_dynX11 │ ├── fpg_main.pas │ ├── fpg_netlayer_x11.pas │ ├── fpg_x11.pas │ └── xdynload.pas ├── fpcadds.pas ├── fpg_gtk.pas ├── fpg_hexview.pas ├── fpg_hint.pas ├── fpg_iniutils.pas ├── fpg_main.pas ├── fpg_main_extold.pas ├── fpg_netlayer_x11.pas ├── fpg_nicegrid.pas ├── fpg_style_anim_chrome_silver_horz.pas ├── fpg_style_anim_chrome_silver_horz_flatmenu.pas ├── fpg_style_anim_chrome_silver_vert.pas ├── fpg_style_anim_chrome_silver_vert_flatmenu.pas ├── fpg_style_anim_ellipse_silver_horz.pas ├── fpg_style_anim_ellipse_silver_vert.pas ├── fpg_style_anim_pram1.pas ├── fpg_style_anim_round_silver_flat_horz.pas ├── fpg_style_anim_round_silver_horz.pas ├── fpg_style_chrome_blue.pas ├── fpg_style_chrome_gray.pas ├── fpg_style_chrome_green.pas ├── fpg_style_chrome_purple.pas ├── fpg_style_chrome_red.pas ├── fpg_style_chrome_silver.pas ├── fpg_style_chrome_silver_flatmenu.pas ├── fpg_style_chrome_system.pas ├── fpg_style_chrome_yellow.pas ├── fpg_style_ellipse_blue.pas ├── fpg_style_ellipse_gray.pas ├── fpg_style_ellipse_green.pas ├── fpg_style_ellipse_purple.pas ├── fpg_style_ellipse_red.pas ├── fpg_style_ellipse_silver.pas ├── fpg_style_ellipse_system.pas ├── fpg_style_ellipse_yellow.pas ├── fpg_style_hoover_silver_flat.pas ├── fpg_style_hoover_system_flat.pas ├── fpg_style_mint1.pas ├── fpg_style_mint2.pas ├── fpg_style_mint3.pas ├── fpg_style_round_silver_flat_horz.pas ├── fpg_style_systemcolors.pas ├── fpg_style_systemcolorsmystyle1.pas ├── fpg_style_systemcolorsmystyle2.pas ├── fpg_winapi.pas ├── fpg_x11.pas ├── fpgdxt.class ├── fpgdxt.java ├── fpgdxt.lpi ├── fpgdxt.pas ├── fpgdxt2.pas ├── fpgdxtold.pas ├── fpgextrafpc.cfg ├── fpgextrafpcwin.cfg ├── fpgui.bmp ├── fpgui_logo.inc ├── frm_colorpicker.pas ├── frm_imageconvert.pas ├── frm_main_designer.pas ├── frm_multiselect.pas ├── frm_vfdforms.pas ├── h_fpgdxt.pas ├── icon.inc ├── icon_16.png ├── icon_32.png ├── icons.inc ├── images │ ├── assist.bmp │ ├── assist2.bmp │ ├── assist2.png │ ├── checkdateedit.bmp │ ├── colorlistbox.bmp │ ├── colorwheel.bmp │ ├── dateedit.bmp │ ├── editbutton.bmp │ ├── editcurrency.bmp │ ├── editdirectory.bmp │ ├── editfilename.bmp │ ├── editfloat.bmp │ ├── editfont.bmp │ ├── editgrid.bmp │ ├── editinteger.bmp │ ├── formdesign.bmp │ ├── fpgui_ico.png │ ├── fpgui_ico2.bmp │ ├── fpgui_ico2.png │ ├── fpgui_ico22.png │ ├── fpgui_logo.bmp │ ├── fpgui_logo.png │ ├── gauge.bmp │ ├── groupbox.bmp │ ├── hyperlink.bmp │ ├── icodesext.bmp │ ├── listbox.bmp │ ├── listview.bmp │ ├── menubar.bmp │ ├── newform_16.bmp │ ├── nicegrid.bmp │ ├── pagecontrol.bmp │ ├── picker.bmp │ ├── progressbar.bmp │ ├── radiobutton.bmp │ ├── richtextview.bmp │ ├── scrollframe.bmp │ ├── select1.bmp │ ├── shape_align_bottom.bmp │ ├── shape_align_left.bmp │ ├── shape_align_right.bmp │ ├── shape_align_top.bmp │ ├── splitter.bmp │ ├── stringgrid.bmp │ ├── tabsheet.bmp │ ├── tofront.bmp │ ├── toggle.bmp │ ├── trackbar.bmp │ ├── treeview.bmp │ └── valuebar.bmp ├── keysym.pp ├── lazutils_defines.inc ├── led.png ├── messagedialog.inc ├── plugmanager.pas ├── pthread.inc ├── pthread │ ├── cthreads.pas │ ├── pthread.inc │ └── tthread.inc ├── runonce_postit.pas ├── sak_fpg.pas ├── sakit │ ├── contributors.txt │ ├── credits.txt │ ├── espeak-data │ │ ├── af_dict │ │ ├── am_dict │ │ ├── an_dict │ │ ├── as_dict │ │ ├── az_dict │ │ ├── bg_dict │ │ ├── bn_dict │ │ ├── ca_dict │ │ ├── cs_dict │ │ ├── cy_dict │ │ ├── da_dict │ │ ├── de_dict │ │ ├── el_dict │ │ ├── en_dict │ │ ├── eo_dict │ │ ├── es_dict │ │ ├── et_dict │ │ ├── eu_dict │ │ ├── fa_dict │ │ ├── fi_dict │ │ ├── fr_dict │ │ ├── ga_dict │ │ ├── gd_dict │ │ ├── grc_dict │ │ ├── gu_dict │ │ ├── hbs_dict │ │ ├── hi_dict │ │ ├── hu_dict │ │ ├── hy_dict │ │ ├── id_dict │ │ ├── intonations │ │ ├── is_dict │ │ ├── it_dict │ │ ├── jbo_dict │ │ ├── ka_dict │ │ ├── kl_dict │ │ ├── kn_dict │ │ ├── ko_dict │ │ ├── ku_dict │ │ ├── la_dict │ │ ├── lfn_dict │ │ ├── lt_dict │ │ ├── lv_dict │ │ ├── mbrola_ph │ │ │ ├── af1_phtrans │ │ │ ├── ca1_phtrans │ │ │ ├── cr1_phtrans │ │ │ ├── cs_phtrans │ │ │ ├── de2_phtrans │ │ │ ├── de4_phtrans │ │ │ ├── de6_phtrans │ │ │ ├── ee1_phtrans │ │ │ ├── en1_phtrans │ │ │ ├── es_phtrans │ │ │ ├── fr1_phtrans │ │ │ ├── gr2_phtrans │ │ │ ├── grc-de6_phtrans │ │ │ ├── hn1_phtrans │ │ │ ├── hu1_phtrans │ │ │ ├── ic1_phtrans │ │ │ ├── id1_phtrans │ │ │ ├── in1_phtrans │ │ │ ├── ir1_phtrans │ │ │ ├── it3_phtrans │ │ │ ├── la1_phtrans │ │ │ ├── lt1_phtrans │ │ │ ├── lt2_phtrans │ │ │ ├── mx1_phtrans │ │ │ ├── mx2_phtrans │ │ │ ├── nl_phtrans │ │ │ ├── pl1_phtrans │ │ │ ├── pt1_phtrans │ │ │ ├── pt_phtrans │ │ │ ├── ptbr4_phtrans │ │ │ ├── ptbr_phtrans │ │ │ ├── ro1_phtrans │ │ │ ├── sv2_phtrans │ │ │ ├── sv_phtrans │ │ │ ├── tr1_phtrans │ │ │ ├── us3_phtrans │ │ │ ├── us_phtrans │ │ │ └── vz_phtrans │ │ ├── mk_dict │ │ ├── ml_dict │ │ ├── ms_dict │ │ ├── nci_dict │ │ ├── ne_dict │ │ ├── nl_dict │ │ ├── no_dict │ │ ├── or_dict │ │ ├── pa_dict │ │ ├── pap_dict │ │ ├── phondata │ │ ├── phondata-manifest │ │ ├── phonindex │ │ ├── phontab │ │ ├── pl_dict │ │ ├── pt_dict │ │ ├── ro_dict │ │ ├── ru_dict │ │ ├── si_dict │ │ ├── sk_dict │ │ ├── sl_dict │ │ ├── sq_dict │ │ ├── sv_dict │ │ ├── sw_dict │ │ ├── ta_dict │ │ ├── te_dict │ │ ├── tr_dict │ │ ├── ur_dict │ │ ├── vi_dict │ │ ├── voices │ │ │ ├── !v │ │ │ │ ├── croak │ │ │ │ ├── f1 │ │ │ │ ├── f2 │ │ │ │ ├── f3 │ │ │ │ ├── f4 │ │ │ │ ├── f5 │ │ │ │ ├── klatt │ │ │ │ ├── klatt2 │ │ │ │ ├── klatt3 │ │ │ │ ├── klatt4 │ │ │ │ ├── m1 │ │ │ │ ├── m2 │ │ │ │ ├── m3 │ │ │ │ ├── m4 │ │ │ │ ├── m5 │ │ │ │ ├── m6 │ │ │ │ ├── m7 │ │ │ │ ├── whisper │ │ │ │ └── whisperf │ │ │ ├── asia │ │ │ │ ├── fa │ │ │ │ ├── fa-pin │ │ │ │ ├── hi │ │ │ │ ├── hy │ │ │ │ ├── hy-west │ │ │ │ ├── id │ │ │ │ ├── ka │ │ │ │ ├── kn │ │ │ │ ├── ku │ │ │ │ ├── ml │ │ │ │ ├── ms │ │ │ │ ├── ne │ │ │ │ ├── pa │ │ │ │ ├── ta │ │ │ │ ├── tr │ │ │ │ ├── vi │ │ │ │ ├── vi-hue │ │ │ │ ├── vi-sgn │ │ │ │ ├── zh │ │ │ │ └── zh-yue │ │ │ ├── de │ │ │ ├── default │ │ │ ├── en │ │ │ ├── en-us │ │ │ ├── es-la │ │ │ ├── europe │ │ │ │ ├── an │ │ │ │ ├── bg │ │ │ │ ├── bs │ │ │ │ ├── ca │ │ │ │ ├── cs │ │ │ │ ├── cy │ │ │ │ ├── da │ │ │ │ ├── el │ │ │ │ ├── es │ │ │ │ ├── et │ │ │ │ ├── fi │ │ │ │ ├── fr-be │ │ │ │ ├── ga │ │ │ │ ├── hr │ │ │ │ ├── hu │ │ │ │ ├── is │ │ │ │ ├── it │ │ │ │ ├── lt │ │ │ │ ├── lv │ │ │ │ ├── mk │ │ │ │ ├── nl │ │ │ │ ├── no │ │ │ │ ├── pl │ │ │ │ ├── pt-pt │ │ │ │ ├── ro │ │ │ │ ├── ru │ │ │ │ ├── sk │ │ │ │ ├── sq │ │ │ │ ├── sr │ │ │ │ └── sv │ │ │ ├── fr │ │ │ ├── mb │ │ │ │ ├── mb-af1 │ │ │ │ ├── mb-af1-en │ │ │ │ ├── mb-br1 │ │ │ │ ├── mb-br3 │ │ │ │ ├── mb-br4 │ │ │ │ ├── mb-cr1 │ │ │ │ ├── mb-cz2 │ │ │ │ ├── mb-de2 │ │ │ │ ├── mb-de3 │ │ │ │ ├── mb-de4 │ │ │ │ ├── mb-de4-en │ │ │ │ ├── mb-de5 │ │ │ │ ├── mb-de5-en │ │ │ │ ├── mb-de6 │ │ │ │ ├── mb-de6-grc │ │ │ │ ├── mb-de7 │ │ │ │ ├── mb-ee1 │ │ │ │ ├── mb-en1 │ │ │ │ ├── mb-es1 │ │ │ │ ├── mb-es2 │ │ │ │ ├── mb-fr1 │ │ │ │ ├── mb-fr1-en │ │ │ │ ├── mb-fr4 │ │ │ │ ├── mb-fr4-en │ │ │ │ ├── mb-gr2 │ │ │ │ ├── mb-gr2-en │ │ │ │ ├── mb-hu1 │ │ │ │ ├── mb-hu1-en │ │ │ │ ├── mb-ic1 │ │ │ │ ├── mb-id1 │ │ │ │ ├── mb-ir1 │ │ │ │ ├── mb-ir2 │ │ │ │ ├── mb-it3 │ │ │ │ ├── mb-it4 │ │ │ │ ├── mb-la1 │ │ │ │ ├── mb-mx1 │ │ │ │ ├── mb-mx2 │ │ │ │ ├── mb-nl2 │ │ │ │ ├── mb-nl2-en │ │ │ │ ├── mb-pl1 │ │ │ │ ├── mb-pl1-en │ │ │ │ ├── mb-pt1 │ │ │ │ ├── mb-ro1 │ │ │ │ ├── mb-ro1-en │ │ │ │ ├── mb-sw1 │ │ │ │ ├── mb-sw1-en │ │ │ │ ├── mb-sw2 │ │ │ │ ├── mb-sw2-en │ │ │ │ ├── mb-tr1 │ │ │ │ ├── mb-tr2 │ │ │ │ ├── mb-us1 │ │ │ │ ├── mb-us2 │ │ │ │ ├── mb-us3 │ │ │ │ └── mb-vz1 │ │ │ ├── other │ │ │ │ ├── af │ │ │ │ ├── en-n │ │ │ │ ├── en-rp │ │ │ │ ├── en-sc │ │ │ │ ├── en-wi │ │ │ │ ├── en-wm │ │ │ │ ├── eo │ │ │ │ ├── grc │ │ │ │ ├── jbo │ │ │ │ ├── la │ │ │ │ ├── lfn │ │ │ │ └── sw │ │ │ ├── pt │ │ │ └── test │ │ │ │ ├── am │ │ │ │ ├── as │ │ │ │ ├── az │ │ │ │ ├── bn │ │ │ │ ├── eu │ │ │ │ ├── gd │ │ │ │ ├── gu │ │ │ │ ├── kl │ │ │ │ ├── ko │ │ │ │ ├── nci │ │ │ │ ├── or │ │ │ │ ├── pap │ │ │ │ ├── si │ │ │ │ ├── sl │ │ │ │ ├── te │ │ │ │ └── ur │ │ ├── zh_dict │ │ └── zhy_dict │ ├── libfreebsd32 │ │ ├── libportaudio_x86.so │ │ ├── sak.ini │ │ └── speak_x86 │ ├── libfreebsd64 │ │ ├── libportaudio_x64.so │ │ ├── sak.ini │ │ └── speak_x64 │ ├── liblinux32 │ │ ├── libportaudio_x86.so │ │ ├── sak.ini │ │ └── speak_x86 │ ├── liblinux64 │ │ ├── libportaudio_x64.so │ │ ├── sak.ini │ │ └── speak_x64 │ ├── libmac32 │ │ ├── libportaudio_32.dylib │ │ ├── sak.ini │ │ └── speak │ ├── libwin32 │ │ ├── espeak.exe │ │ └── sak.ini │ ├── license.txt │ └── readme.txt ├── synregexpr.pas ├── testfpglib.pas ├── testfpglib2.pas ├── testlib.lpi ├── testlib.pas ├── testlib_lcl.lpi ├── testlib_lcl.lpr ├── tthread.inc ├── u_editgrid.pas ├── units │ └── dummy ├── uos_portaudio.pas ├── vfd_constants.pas ├── vfd_constants.rst ├── vfd_designer.pas ├── vfd_editors.pas ├── vfd_file.pas ├── vfd_formparser.pas ├── vfd_main.pas ├── vfd_propeditgrid.pas ├── vfd_props.pas ├── vfd_propsdev.pas ├── vfd_resizer.pas ├── vfd_utils.pas ├── vfd_widgetclass.pas ├── vfd_widgetclassdev.pas ├── vfd_widgets.pas ├── vfd_widgetsdev.pas ├── x.pp ├── xatom.pp ├── xdynload.pas ├── xext.pas ├── xftlib.pas ├── xlib.pas ├── xrender.pas └── xutil.pp └── template ├── fpGUIDirectTemplate.pas ├── fpGUITemplate.lpi └── fpGUITemplate.lpr /AUTHORS.txt: -------------------------------------------------------------------------------- 1 | Here is a list of people that have contributed in some way towards the fpGUI project. 2 | 3 | Lead Developer and Maintainer 4 | ----------------------------- 5 | Graeme Geldenhuys 6 | 7 | Implementation inspired by works from 8 | ------------------------------------- 9 | Sebastian Guenther 10 | Viktor Nagy 11 | Milan Marusinec (Milano) for the AggPas port 12 | 13 | Contributors 14 | ------------ 15 | Felipe Monteiro de Carvalho 16 | Andrew Haines 17 | Giuliano Colla 18 | Jean-Marc Levecque 19 | Antonio Sanguigni 20 | Vladimir Zhirov 21 | Alexsander Rosa 22 | Horacio Jamilis 23 | Michael van Canneyt 24 | Jean-Pierre Anghel 25 | Fred van Stappen 26 | 27 | ______________.o0O0o.______________ 28 | 29 | 30 | -------------------------------------------------------------------------------- /COPYING.modifiedLGPL: -------------------------------------------------------------------------------- 1 | This is the file COPYING.modifiedLGPL, it applies to all fpGUI sources 2 | distributed by members of the fpGUI Development Team. 3 | All files contains headers showing the appropriate license. 4 | 5 | These files are distributed under the GNU Library Public License 6 | (see the file COPYING.txt) with the following modification: 7 | 8 | As a special exception, the copyright holders of this library give you 9 | permission to link this library with independent modules to produce an 10 | executable, regardless of the license terms of these independent modules, 11 | and to copy and distribute the resulting executable under terms of your choice, 12 | provided that you also meet, for each linked independent module, the terms 13 | and conditions of the license of that module. An independent module is a 14 | module which is not derived from or based on this library. If you modify this 15 | library, you may extend this exception to your version of the library, but 16 | you are not obligated to do so. If you do not wish to do so, delete this 17 | exception statement from your version. 18 | 19 | If you didn't receive a copy of the file COPYING.txt, contact: 20 | Free Software Foundation, Inc., 21 | 675 Mass Ave 22 | Cambridge, MA 02139 23 | USA 24 | 25 | 26 | -------------------------------------------------------------------------------- /INSTALL.txt: -------------------------------------------------------------------------------- 1 | Designer_ext is the extended version of fpGUI uiDesigner. 2 | 3 | It needs the last fpGUI version => 4 | https://github.com/graemeg/fpgui/ 5 | 6 | How to install it ? 7 | 8 | Just compile /designer_ext/src/designer_ext.pas 9 | You may use designer_ext.lpi for Lazarus/Typhon or designer_ext.prj for MSEide/ideU. 10 | 11 | If you want to use last fpgui-develop branch, edit => define.inc 12 | and uncomment {$DEFINE fpgui-develop}. 13 | 14 | If you want to use dynamic loading of Xorg and Xft, edit => define.inc 15 | and uncomment {$DEFINE DYNLOAD}. 16 | Depends of the fpGUI branch you are using, copy + paste all files 17 | in /designer_ext/src/xxx_dynx11 into /designer_ext/src/. 18 | 19 | If you want assistive for designer_ext => copy /src/sakit folder => into your main application folder (or where you want) . 20 | Then in "Settings" => choose the parent directory of /sakit. 21 | 22 | For total integation with fpc, Lazarus and Typhon, Geany, external-code-editor, ..., you may use the patches... 23 | Those patches are in /designer_ext/patch. 24 | 25 | Please read the readme-patch-file before to apply patch. 26 | 27 | Fred van Stappen 28 | fiens@hotmail.com 29 | 30 | -------------------------------------------------------------------------------- /README.txt: -------------------------------------------------------------------------------- 1 | designer_ext is the extended version of fpGUI uiDesigner. 2 | 3 | With : 4 | voice assisted, 5 | auto-add units in uses section, 6 | run-only-once option, window list, 7 | undo's feature, 8 | integration into IDE, 9 | editor launcher, 10 | for Unix OS : dynamically load of XOrg and TThreads dependencies, 11 | lot of new themes-styles, 12 | and much more... 13 | 14 | There are also patches for integration with fpc, Lazarus, Typhon, Geany,... 15 | 16 | Added /sakit (speecher assistive kit) => to make designer_ext "assistivized". 17 | 18 | Here compiled release with sakit included: 19 | => https://github.com/fredvs/uidesigner_ext/releases/tag/1.9 20 | 21 | Designer_ext needs fpGUI => 22 | https://github.com/graemeg/fpgui/ 23 | 24 | If you use the develop branch of fpGUI, please uncomment, in define.inc 25 | {$DEFINE fpgui-develop} // uncomment for building with fpgui-develop 26 | -> 27 | 28 | Fred van Stappen => fiens@hotmail.com 29 | 30 | 31 | fpGUI's Visual User Interface Designer 32 | ====================================== 33 | 34 | Introduction 35 | ============ 36 | 37 | fpGUI Designer is a port of a product called VFD written by Nagy Viktor in 2003. 38 | I ported VFD to fpGUI because I thought it would add a lot to the framework as 39 | a whole. I could see it has lots of potential and could easily be extended to 40 | become a great tool. What I immediately liked about VFD is that it used the 41 | same source unit and writes actual code describing the UI like I would have 42 | done manually. This departs from the GUI designers used in Lazarus or Delphi 43 | where they save the UI code to external files (*.lfm or *.dfm respectively). 44 | 45 | 46 | Features 47 | ======== 48 | 49 | * It uses the same source unit where your normal code lives. No external GUI 50 | files. 51 | 52 | * It can handle "unknown" or "custom" components and properties. Whenever the 53 | designer finds a component it doesn't natively know it paints a green 54 | rectangle in it's place. Whenever it finds properties it doesn't know it 55 | adds them "as is" to the Unknown section memo in the Properties window. Any 56 | code in the Unknown memo will be written back to the source unit "as is". 57 | 58 | * The designer can handle more that one form in a unit. 59 | 60 | * When creating a new form, that form can be merged into an existing unit or 61 | the designer will create a new unit for it. 62 | 63 | * The designer uses comment markers in the code to define what parts it will 64 | maintain. Existing code (Forms) can be easily amended (manually by the 65 | programmer) so that the designer can start managing it. No need to redesign 66 | Forms from scratch. 67 | 68 | 69 | 70 | Graeme Geldenhuys - September 2007 71 | 72 | ============================================ 73 | 74 | 75 | 76 | 77 | 78 | 79 | -------------------------------------------------------------------------------- /patch/Lazarus/main.pp_laz_1.0.14.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/patch/Lazarus/main.pp_laz_1.0.14.zip -------------------------------------------------------------------------------- /patch/Lazarus/main.pp_laz_1.0.8.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/patch/Lazarus/main.pp_laz_1.0.8.zip -------------------------------------------------------------------------------- /patch/Lazarus/main.pp_laz_1.2.0.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/patch/Lazarus/main.pp_laz_1.2.0.zip -------------------------------------------------------------------------------- /patch/Lazarus/main.pp_laz_1.2.2.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/patch/Lazarus/main.pp_laz_1.2.2.zip -------------------------------------------------------------------------------- /patch/Lazarus/main.pp_laz_1.2.4.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/patch/Lazarus/main.pp_laz_1.2.4.zip -------------------------------------------------------------------------------- /patch/Lazarus/main.pp_laz_1.2.6.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/patch/Lazarus/main.pp_laz_1.2.6.zip -------------------------------------------------------------------------------- /patch/Lazarus/main.pp_laz_1.2RC2.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/patch/Lazarus/main.pp_laz_1.2RC2.zip -------------------------------------------------------------------------------- /patch/Lazarus/main.pp_laz_1.4.4.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/patch/Lazarus/main.pp_laz_1.4.4.zip -------------------------------------------------------------------------------- /patch/Lazarus/readme_patch_lazarus.txt: -------------------------------------------------------------------------------- 1 | This patch enable complete integration of fpGUI into Lazarus. 2 | 3 | If you have already a compiled designer_ext, load it as stand-alone and disable "Integration into IDE Lazarus" then 4 | close designer_ext. 5 | 6 | 1)- Compile designer_ext.pas 7 | - Close designer_ext 8 | 9 | 2)- Depending of your Lazarus version, unzip main.pp_laz_xxx in ~/designer_ext/patch/Lazarus/ 10 | 11 | 3)- Copy-replace ~/designer_ext/patch/Lazarus/main.pp into ../Lazarus/ide and rebuild Lazarus. 12 | - Close Lazarus 13 | 14 | 4)- Load designer_ext and, in "Settings", enable "Integration into IDE Lazarus". 15 | - Close designer_ext 16 | 17 | Now, you may run Lazarus with fpGUI-designer integeration... 18 | 19 | Warning : If you want to re-compile designer_ext, first load designer_ext and disable "Integration into IDE Lazarus" then close designer_ext. 20 | Compile it (better not run it via Lazarus-run). 21 | After, as stand-alone, re-enable "Integration into IDE Lazarus". 22 | 23 | If designer_ext does not load, even as stand-alone, it is surely because a other instance of designer_ext is already running. If so, kill that instance via Ctrl-Alt-Delete. 24 | 25 | Fred van Stappen 26 | fiens@hotmail.com 27 | -------------------------------------------------------------------------------- /patch/Typhon/readme_patch_typhon.txt: -------------------------------------------------------------------------------- 1 | This patch enable complete integration of fpGUI into Typhon. 2 | 3 | If you have already a compiled designer_ext, load it and disable "Integration into IDE Typhon" and 4 | close designer_ext. 5 | 6 | 1)- Compile desinger_ext.pas 7 | - Close designer_ext 8 | 9 | 2)- Depending of your Typhon version, unzip sourcefilemanager_xxx in ~/designer_ext/patch/typhon/ 10 | 11 | 2)- Copy-replace ~/designer_ext/patch/Typhon/sourcefilemanager.pas into ../codetyphon/typhon/ide and rebuild Typhon. 12 | - Close Typhon 13 | 14 | 3)- Load designer_ext and, in "Settings", enable "Integration into IDE Typhon". 15 | - Close designer_ext 16 | 17 | Now, you may run Typhon with fpGUI-designer integeration... 18 | 19 | Warning : If you want to re-compile designer_ext, first load designer_ext and disable "Integration into IDE Typhon" then close designer_ext. 20 | Compile it (better not run it via Lazarus-run). 21 | After, as stand-alone, re-enable "Integration into IDE Typhon". 22 | 23 | If designer_ext does not load, even as stand-alone, it is surely because a other instance of designer_ext is already running. If so, kill that instance via Ctrl-Alt-Del. 24 | 25 | Fred van Stappen 26 | fiens@hotmail.com 27 | 28 | -------------------------------------------------------------------------------- /patch/Typhon/sourcefilemanager_4.6.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/patch/Typhon/sourcefilemanager_4.6.zip -------------------------------------------------------------------------------- /patch/Typhon/sourcefilemanager_4.7.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/patch/Typhon/sourcefilemanager_4.7.zip -------------------------------------------------------------------------------- /patch/Typhon/sourcefilemanager_4.9.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/patch/Typhon/sourcefilemanager_4.9.zip -------------------------------------------------------------------------------- /patch/Typhon/sourcefilemanager_5.0.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/patch/Typhon/sourcefilemanager_5.0.zip -------------------------------------------------------------------------------- /patch/Typhon/sourcefilemanager_5.1.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/patch/Typhon/sourcefilemanager_5.1.zip -------------------------------------------------------------------------------- /patch/Typhon/sourcefilemanager_5.2.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/patch/Typhon/sourcefilemanager_5.2.zip -------------------------------------------------------------------------------- /patch/Typhon/sourcefilemanager_5.3.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/patch/Typhon/sourcefilemanager_5.3.zip -------------------------------------------------------------------------------- /patch/Typhon/sourcefilemanager_5.4.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/patch/Typhon/sourcefilemanager_5.4.zip -------------------------------------------------------------------------------- /patch/Typhon/sourcefilemanager_5.5.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/patch/Typhon/sourcefilemanager_5.5.zip -------------------------------------------------------------------------------- /patch/Typhon/sourcefilemanager_5.6.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/patch/Typhon/sourcefilemanager_5.6.zip -------------------------------------------------------------------------------- /patch/fpc/fpc_fpg_patch.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | patchit() 4 | { 5 | 6 | echo "-------------------------------------------------------------" 7 | echo "The patch will compile fpc_fpg_patch.pas" 8 | echo "-------------------------------------------------------------" 9 | fpc fpc_fpg_patch.pas 10 | echo "----------------------------------------------" 11 | 12 | echo "Ok, let's run compiled fpc_fpg_patch..." 13 | echo "-------------------------------------------------------------" 14 | sudo ./fpc_fpg_patch 1 15 | echo "-------------------------------------------------------------" 16 | sudo rm fpc_fpg_patch.o 17 | sudo rm fpc_fpg_patch 18 | 19 | echo "" 20 | echo "-------------------------------------------------------------" 21 | echo " Do you want to delete" 22 | echo "fpc_fpg_patch.pas and fpc_fpg_patch.sh" 23 | echo " in fpGUI-root directory (y/n) ? " 24 | 25 | read var_read 26 | case $var_read in 27 | 28 | #------------------- OK, delete it ------------------- 29 | y) 30 | sudo rm fpc_fpg_patch.pas 31 | sudo rm fpc_fpg_patch.sh 32 | 33 | ;; 34 | Y) 35 | sudo rm fpc_fpg_patch.pas 36 | sudo rm fpc_fpg_patch.sh 37 | ;; 38 | #------------------- else exit ------------------- 39 | *) 40 | echo "Exiting..." 41 | exit 42 | ;; 43 | esac 44 | } 45 | 46 | # =================== Init ============================= 47 | 48 | echo "-------------------------------------------------------------" 49 | echo "This is a patch to define fpGUI path in fpc.cfg config file." 50 | echo "" 51 | echo "WARNING: Be sure that the patch is in fpGUI root-directory..." 52 | echo "" 53 | echo -n "Do you want to patch fpc.cfg (y/n) ? " 54 | 55 | read var_read 56 | case $var_read in 57 | 58 | #------------------- OK, patch it ------------------- 59 | y) patchit 60 | ;; 61 | Y) patchit 62 | ;; 63 | # ------------Exiting---------------------------- 64 | *) 65 | echo "Exiting..." 66 | exit 67 | ;; 68 | 69 | esac 70 | # ------------------------------------------------ 71 | echo " " 72 | 73 | 74 | 75 | 76 | -------------------------------------------------------------------------------- /patch/fpc/readme_patch_fpc.txt: -------------------------------------------------------------------------------- 1 | This is a patch that define fpGUI path into fpc.cfg. 2 | For Windows, it adds the fpc path in Windows PATH Environment Variable. 3 | 4 | Copy this files into fpGUI root-directory (can be fpGUI-develop too): 5 | - For Windows : fpc_fpg_patch.pas and fpc_fpg_patch.bat 6 | - For Linux : fpc_fpg_patch.pas and fpc_fpg_patch.sh 7 | 8 | Then: 9 | -------------------------------------------------------------------------------------- 10 | - For Windows: 11 | In Terminal (cmd.exe) run: 12 | 13 | > cd c:\root_dir_of_fpGUI (go in root-directory of fpGUI, for example: > cd c:\fpGUI) 14 | 15 | > fpc_fpg_patch.bat (apply the patch) 16 | ---------------------------------------------------------------------------------------- 17 | - For Linux: 18 | In Terminal run: 19 | 20 | > cd /root_dir_of_fpGUI (go in root-directory of fpGUI, for example: > cd /home/me_user/fpGUI) 21 | 22 | > sudo chmod 777 fpc_fpg_patch.sh (change permission of script) 23 | 24 | > sh fpc_fpg_patch.sh (apply the patch) 25 | ----------------------------------------------------------------------------------------- 26 | 27 | That's all ;-) 28 | 29 | Fred van Stappen 30 | fiens@hotmail.com 31 | 32 | -------------------------------------------------------------------------------- /patch/readme_patch.txt: -------------------------------------------------------------------------------- 1 | There are 3 patches: 2 | 3 | Please read the readme-file in each patch-directory, it explains how to install... 4 | 5 | - fpc : This patch defines fpGUI path into fpc.cfg. 6 | Apply this patch if you want to use fpGUI with pure fpc command-line, 7 | code editor like Geany, Gedit, NotePad++, etc... 8 | You may also apply this patch if you have path-problems at compilation. 9 | For Lazarus/Typhon, with this patch, you may use fpGUI without installing any package... 10 | For Windows, the patch add the fpc-path in Windows PATH Environment Variable. 11 | 12 | - Lazarus: This patch enable complete integration of fpGUI into Lazarus IDE. 13 | 14 | - Typhon : This patch enable complete integration of fpGUI into Typhon IDE. 15 | 16 | Fred van Stappen 17 | fiens@hotmail.com 18 | -------------------------------------------------------------------------------- /readme_dynload.txt: -------------------------------------------------------------------------------- 1 | - For dynamic loading of Xlib, Xft and Pthread. 2 | 3 | Please, copy + paste all files in /src/dynX11 into /src. 4 | 5 | Also, depend of the fpGui branch you are using, 6 | copy + paste all files in /src/xxx_dynx11 into /src. 7 | 8 | Finally copy + paste all files in /src/pthread into /src. 9 | 10 | Edit define.inc and uncomment {$DEFINE DYNLOAD} 11 | 12 | Add in uses section : xdynload. 13 | To load the libraries, add xdynloadlib() before fpgApplication.Initialize. 14 | To unload the libraries, add xdynunloadlib() after fpgApplication.Run; 15 | 16 | - For static loading of Xlib and Xft. 17 | Delete all files in /src that are also in /src/dynX11. 18 | Delete all files in /src that are also in /src/xxx_dynx11. 19 | Delete all files in /src that are also in /src/pthread. 20 | Edit define.inc and comment {$.DEFINE DYNLOAD} 21 | 22 | By default, designer_ext use fpGUI-maint 1.4 branch and dynamic loading of Xlib, Xft and Pthread. -------------------------------------------------------------------------------- /src/define.inc: -------------------------------------------------------------------------------- 1 | 2 | // for compiling using new fpgui-develop branch 3 | {.$DEFINE fpgui-develop} // uncomment for building with fpgui-develop 4 | 5 | // for dynamic load of xlib and xft 6 | {$DEFINE DYNLOAD} // uncomment for dynamic load of xlib and xft 7 | 8 | // for compiling into library 9 | {.$DEFINE islibrary} // uncomment for building library (native and java) 10 | {.$DEFINE java} // uncomment for building java library 11 | 12 | // for integration into ideU 13 | {.$DEFINE ideu} // uncomment for building integration into ideU 14 | 15 | -------------------------------------------------------------------------------- /src/dynX11/xatom.pp: -------------------------------------------------------------------------------- 1 | // This is a dummy file for compatibitily with static linking. 2 | // all is transfered to xlib.pas 3 | unit xatom; 4 | interface 5 | implementation 6 | end. 7 | -------------------------------------------------------------------------------- /src/dynX11/xext.pas: -------------------------------------------------------------------------------- 1 | { This is the dynamic loader header of xrender library. 2 | Use xren_load() to dynamically load libXrender.so.1 3 | Fredvs ---> fiens@hotmail.com 4 | } 5 | 6 | unit xext; 7 | 8 | interface 9 | {$mode objfpc}{$H+} 10 | 11 | uses 12 | dynlibs, ctypes, x, xlib ; 13 | {$define MACROS} 14 | 15 | const 16 | libXext='libXext.so.6'; 17 | 18 | type 19 | // XSync extension types 20 | TXSyncCounter = TXID; 21 | TXSyncValue = record 22 | hi: cint; 23 | lo: cunsigned; 24 | end; 25 | 26 | // XSync functions 27 | var XSyncCreateCounter: function(dpy: PXDisplay; initial_value: TXSyncValue): TXSyncCounter; cdecl; 28 | var XSyncSetCounter: function(dpy: PXDisplay; counter: TXSyncCounter; value: TXSyncValue): TStatus; cdecl; 29 | var XSyncDestroyCounter: function(dpy: PXDisplay; counter: TXSyncCounter ): TStatus; cdecl; 30 | 31 | var xext_Handle:TLibHandle=dynlibs.NilHandle; 32 | 33 | var ReferenceCounter : cardinal = 0; // Reference counter 34 | 35 | function xext_IsLoaded() : boolean; inline; 36 | 37 | function xext_Load(const libfilename:string = libXext) :boolean; // load the lib 38 | 39 | procedure xext_Unload(); // unload and frees the lib from memory : do not forget to call it before close application. 40 | 41 | implementation 42 | 43 | function xext_IsLoaded(): boolean; 44 | begin 45 | Result := (xext_Handle <> dynlibs.NilHandle); 46 | end; 47 | 48 | Function xext_Load (const libfilename:string = libXext) :boolean; 49 | begin 50 | Result := False; 51 | if xext_Handle<>0 then 52 | begin 53 | Inc(ReferenceCounter); 54 | result:=true {is it already there ?} 55 | end else 56 | begin {go & load the library} 57 | if Length(libfilename) = 0 then exit; 58 | xext_Handle:=DynLibs.SafeLoadLibrary(libfilename); // obtain the handle we want 59 | if xext_Handle <> DynLibs.NilHandle then 60 | begin {now we tie the functions to the VARs from above} 61 | 62 | Pointer(XSyncCreateCounter):=DynLibs.GetProcedureAddress(xext_Handle,PChar('XSyncCreateCounter')); 63 | Pointer(XSyncSetCounter):=DynLibs.GetProcedureAddress(xext_Handle,PChar('XSyncSetCounter')); 64 | Pointer(XSyncDestroyCounter):=DynLibs.GetProcedureAddress(xext_Handle,PChar('XSyncDestroyCounter')); 65 | 66 | end; 67 | Result := xext_IsLoaded(); 68 | ReferenceCounter:=1; 69 | end; 70 | 71 | end; 72 | 73 | Procedure xext_Unload(); 74 | begin 75 | // < Reference counting 76 | if ReferenceCounter > 0 then 77 | dec(ReferenceCounter); 78 | if ReferenceCounter > 0 then 79 | exit; 80 | // > 81 | if xext_IsLoaded() then 82 | begin 83 | if xext_Handle <> DynLibs.NilHandle then 84 | DynLibs.UnloadLibrary(xext_Handle); 85 | xext_Handle:=DynLibs.NilHandle; 86 | end; 87 | end; 88 | 89 | end. 90 | -------------------------------------------------------------------------------- /src/dynX11/xutil.pp: -------------------------------------------------------------------------------- 1 | // This is a dummy file for compatibitily with static linking. 2 | // ---> all xutil.pp code transfered to xlib.pp 3 | unit xutil; 4 | interface 5 | implementation 6 | end. -------------------------------------------------------------------------------- /src/ext.inc: -------------------------------------------------------------------------------- 1 | 2 | const 3 | vfd_assist: array[0..345] of byte = ( 4 | 66, 77, 90, 1, 0, 0, 0, 0, 0, 0,118, 0, 0, 0, 40, 0, 0, 5 | 0, 19, 0, 0, 0, 19, 0, 0, 0, 1, 0, 4, 0, 0, 0, 0, 0, 6 | 228, 0, 0, 0, 35, 11, 0, 0, 35, 11, 0, 0, 16, 0, 0, 0, 16, 7 | 0, 0, 0, 0, 0,189, 0, 0, 0,214, 0, 0, 0,222, 0,255,255, 8 | 255, 0,255,255,255, 0,255,255,255, 0,255,255,255, 0,255,255,255, 9 | 0,255,255,255, 0,255,255,255, 0,255,255,255, 0,255,255,255, 0, 10 | 255,255,255, 0,255,255,255, 0,255,255,255, 0,255,255,255, 0, 51, 11 | 51, 51, 49, 17, 19, 51, 51, 51, 48, 0, 0, 51, 51, 51, 49, 17, 17, 12 | 51, 51, 51, 48, 0, 0, 51, 51, 51, 49, 17, 17, 19, 51, 51, 48, 0, 13 | 0, 51, 51, 51, 17, 17, 17, 19, 51, 51, 48, 0, 0, 51, 51, 51, 17, 14 | 17, 17, 17, 51, 51, 48, 0, 0, 51, 51, 49, 17, 19, 49, 17, 19, 51, 15 | 48, 0, 0, 51, 49, 17, 19, 51, 51, 49, 17, 51, 48, 0, 0, 49, 17, 16 | 17, 19, 51, 51, 49, 17, 19, 48, 0, 0, 49, 17, 17, 19, 51, 51, 49, 17 | 17, 17, 48, 0, 0, 51, 49, 17, 17, 51, 51, 51, 17, 17, 16, 0, 0, 18 | 51, 51, 17, 17, 19, 51, 49, 17, 17, 48, 0, 0, 51, 51, 49, 17, 17, 19 | 48, 17, 17, 19, 48, 0, 0, 51, 51, 51, 17, 17, 17, 17, 19, 51, 48, 20 | 0, 0, 51, 51, 51, 49, 17, 17, 17, 19, 51, 48, 0, 0, 51, 51, 51, 21 | 49, 19, 49, 17, 51, 51, 48, 0, 0, 51, 51, 51, 51, 19, 51, 19, 51, 22 | 51, 48, 0, 0, 51, 51, 51, 51, 51, 51, 19, 51, 51, 48, 0, 0, 51, 23 | 51, 51, 51, 51, 51, 51, 51, 51, 48, 0, 0, 51, 51, 51, 51, 51, 51, 24 | 51, 51, 51, 48, 0, 0); 25 | 26 | 27 | const 28 | vfd_select: array[0..321] of byte = ( 29 | 66, 77, 66, 1, 0, 0, 0, 0, 0, 0,118, 0, 0, 0, 40, 0, 0, 30 | 0, 18, 0, 0, 0, 17, 0, 0, 0, 1, 0, 4, 0, 0, 0, 0, 0, 31 | 204, 0, 0, 0, 19, 11, 0, 0, 19, 11, 0, 0, 16, 0, 0, 0, 16, 32 | 0, 0, 0, 0, 0, 0, 0,128,128,128, 0,200,208,212, 0,255,255, 33 | 255, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 34 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 35 | 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 34, 36 | 34, 34, 34, 34, 34, 34, 34, 34, 0, 0, 0, 35, 51, 16, 34, 33, 17, 37 | 34, 34, 34, 0, 0, 0, 35, 51, 49, 1, 33, 1, 18, 34, 34, 0, 0, 38 | 0, 32, 51, 51, 16, 16, 48, 18, 34, 34, 0, 0, 0, 34, 3, 51, 49, 39 | 0, 51, 1, 34, 34, 0, 0, 0, 34, 32, 51, 51, 16, 51, 1, 34, 34, 40 | 0, 0, 0, 34, 34, 3, 51, 51, 51, 48, 18, 34, 0, 0, 0, 34, 34, 41 | 16, 51, 51, 51, 48, 18, 34, 0, 0, 0, 34, 33, 0, 3, 51, 51, 51, 42 | 1, 34, 0, 0, 0, 34, 32, 51, 51, 51, 51, 51, 1, 34, 0, 0, 0, 43 | 34, 34, 3, 51, 51, 51, 51, 48, 18, 0, 0, 0, 34, 34, 32, 3, 51, 44 | 51, 51, 48, 18, 0, 0, 0, 34, 34, 34, 32, 3, 51, 51, 51, 2, 0, 45 | 0, 0, 34, 34, 34, 34, 32, 3, 51, 51, 2, 0, 0, 0, 34, 34, 34, 46 | 34, 34, 32, 3, 51, 2, 0, 0, 0, 34, 34, 34, 34, 34, 34, 32, 0, 47 | 2, 0, 0, 0, 34, 34, 34, 34, 34, 34, 34, 34, 34, 0, 0, 0); 48 | 49 | Const 50 | vfd_tofront : array[0..333] of byte = ( 51 | 66, 77, 78, 1, 0, 0, 0, 0, 0, 0,118, 0, 0, 0, 40, 0, 0, 52 | 0, 18, 0, 0, 0, 18, 0, 0, 0, 1, 0, 4, 0, 0, 0, 0, 0, 53 | 216, 0, 0, 0, 35, 11, 0, 0, 35, 11, 0, 0, 16, 0, 0, 0, 16, 54 | 0, 0, 0,116,152,176, 0, 11,163,240, 0, 0,205,248, 0, 0,242, 55 | 252, 0,120,198,248, 0,141,160,170, 0,181,176,173, 0,192,192,184, 56 | 0,136,171,194, 0,152,192,216, 0,160,192,216, 0,130,202,248, 0, 57 | 165,200,224, 0,209,206,206, 0,208,232,240, 0,252,252,252, 0,255, 58 | 255,255,255,255,255,255,255,255, 0, 0, 0,255,255,255,255,255,255, 59 | 255,255,255, 0, 0, 0,255,255,255,255,255,237,221,221,223, 0, 0, 60 | 0,255,255, 85, 85, 85, 85, 85,141,223, 0, 0, 0,255,245, 51, 51, 61 | 51, 51, 51, 48,127, 0, 0, 0,255,245, 51, 51, 51, 51, 51, 48,111, 62 | 0, 0, 0,255,245, 50, 34, 34, 34, 34, 48,111, 0, 0, 0,255,245, 63 | 34, 34, 34, 34, 34, 37,223, 0, 0, 0,255,245, 34, 34, 34, 34, 34, 64 | 37,255, 0, 0, 0,253,213, 33, 17, 17, 17, 17, 21,255, 0, 0, 0, 65 | 246,101, 17, 17, 17, 17, 17, 21,255, 0, 0, 0,254,213, 17, 17, 17, 66 | 17, 17, 21,255, 0, 0, 0,253,213, 17, 17, 17, 17, 17, 21,255, 0, 67 | 0, 0,253,117,180, 68, 68, 68, 75,181,255, 0, 0, 0,247,117,238, 68 | 238,238,238,238,229,255, 0, 0, 0,246,102, 85, 85, 85, 85, 85, 95, 69 | 255, 0, 0, 0,253,221,221,221,223,255,255,255,255, 0, 0, 0,255, 70 | 255,255,255,255,255,255,255,255, 0, 0, 0); 71 | 72 | 73 | -------------------------------------------------------------------------------- /src/extrafpc.cfg: -------------------------------------------------------------------------------- 1 | -FUunits 2 | -Fu../lib/$fpctarget 3 | -Xs 4 | -XX 5 | -CX 6 | #ifdef mswindows 7 | -WG 8 | #endif 9 | 10 | -------------------------------------------------------------------------------- /src/form_libtest_lcl.lfm: -------------------------------------------------------------------------------- 1 | object Form1: TForm1 2 | Left = 458 3 | Height = 240 4 | Top = 217 5 | Width = 320 6 | Caption = 'Form1' 7 | ClientHeight = 240 8 | ClientWidth = 320 9 | OnActivate = FormActivate 10 | OnClick = FormClick 11 | OnCreate = FormCreate 12 | OnResize = FormResize 13 | LCLVersion = '1.5' 14 | object Button1: TButton 15 | Left = 56 16 | Height = 25 17 | Top = 16 18 | Width = 208 19 | Caption = 'Load libfpgdxt library' 20 | OnClick = Button1Click 21 | TabOrder = 0 22 | end 23 | object Button2: TButton 24 | Left = 56 25 | Height = 25 26 | Top = 80 27 | Width = 208 28 | Caption = 'Run Designer_ext from library' 29 | OnClick = Button2Click 30 | TabOrder = 1 31 | end 32 | object Button3: TButton 33 | Left = 112 34 | Height = 25 35 | Top = 139 36 | Width = 75 37 | Caption = 'Button3' 38 | OnClick = Button3Click 39 | TabOrder = 2 40 | end 41 | object Button4: TButton 42 | Left = 138 43 | Height = 25 44 | Top = 186 45 | Width = 75 46 | Caption = 'Button4' 47 | TabOrder = 3 48 | end 49 | object Label1: TLabel 50 | Left = 96 51 | Height = 15 52 | Top = 48 53 | Width = 24 54 | Caption = ' ' 55 | ParentColor = False 56 | end 57 | object Timer1: TTimer 58 | Enabled = False 59 | OnTimer = Timer1Timer 60 | left = 44 61 | top = 126 62 | end 63 | end 64 | -------------------------------------------------------------------------------- /src/form_libtest_lcl.pas: -------------------------------------------------------------------------------- 1 | unit form_libtest_lcl; 2 | 3 | {$mode objfpc}{$H+} 4 | 5 | interface 6 | 7 | uses 8 | {$IFDEF UNIX} 9 | cthreads, {$ENDIF} 10 | h_fpgdxt, Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, 11 | StdCtrls, ExtCtrls; 12 | 13 | type 14 | 15 | { TForm1 } 16 | 17 | TForm1 = class(TForm) 18 | Button1: TButton; 19 | Button2: TButton; 20 | Button3: TButton; 21 | Button4: TButton; 22 | Label1: TLabel; 23 | Timer1: TTimer; 24 | procedure Button1Click(Sender: TObject); 25 | procedure Button2Click(Sender: TObject); 26 | procedure Button3Click(Sender: TObject); 27 | procedure FormActivate(Sender: TObject); 28 | procedure FormClick(Sender: TObject); 29 | procedure FormCreate(Sender: TObject); 30 | procedure FormResize(Sender: TObject); 31 | procedure Timer1Timer(Sender: TObject); 32 | private 33 | { private declarations } 34 | public 35 | { public declarations } 36 | end; 37 | 38 | var 39 | Form1: TForm1; 40 | 41 | implementation 42 | 43 | {$R *.lfm} 44 | 45 | { TForm1 } 46 | 47 | procedure TForm1.Button1Click(Sender: TObject); 48 | begin 49 | if fpgdxtloadlib('/home/fred/designer_ext/src/libfpgdxt.so') then 50 | label1.Caption:='libfpgdxt.so loaded. ;-)' else label1.Caption:='libfpgdxt.so not loaded. ;-(' ; 51 | end; 52 | 53 | procedure TForm1.Button2Click(Sender: TObject); 54 | begin 55 | // timer1.Enabled:=true; 56 | fpgdxtmainproc(); 57 | 58 | end; 59 | 60 | procedure TForm1.Button3Click(Sender: TObject); 61 | begin 62 | fpgdxtshow(); 63 | end; 64 | 65 | procedure TForm1.FormActivate(Sender: TObject); 66 | begin 67 | application.ProcessMessages; 68 | form1.Caption:='hello' + timetostr(now); 69 | end; 70 | 71 | procedure TForm1.FormClick(Sender: TObject); 72 | begin 73 | application.ProcessMessages; 74 | form1.Caption:='hello' + timetostr(now); 75 | end; 76 | 77 | procedure TForm1.FormCreate(Sender: TObject); 78 | begin 79 | application.ProcessMessages; 80 | form1.Caption:='hello' + timetostr(now); 81 | end; 82 | 83 | procedure TForm1.FormResize(Sender: TObject); 84 | begin 85 | 86 | end; 87 | 88 | procedure TForm1.Timer1Timer(Sender: TObject); 89 | begin 90 | Timer1.Enabled:=false; 91 | // fpgdxtprocessmessages(); 92 | //Timer1.Enabled:=true; 93 | end; 94 | 95 | end. 96 | 97 | -------------------------------------------------------------------------------- /src/fpGUI-develop_dynX11/xdynload.pas: -------------------------------------------------------------------------------- 1 | unit xdynload; 2 | 3 | {$mode objfpc}{$H+} 4 | 5 | interface 6 | 7 | uses 8 | sysutils, xlib, xftlib, xext; 9 | 10 | 11 | const 12 | fX11='libX11.so.6'; 13 | fXft='libXft.so.2'; 14 | fXext='libXext.so.6'; 15 | 16 | Function xdynloadlib(const libfilename1:string = '' ; const libfilename2:string = ''; const libfilename3:string = '') :boolean; 17 | procedure xdynunloadlib(); 18 | 19 | implementation 20 | 21 | Function xdynloadlib(const libfilename1:string = '' ; const libfilename2:string = ''; const libfilename3:string = '') :boolean; 22 | var 23 | libX11, libXft, libXext: string; 24 | begin 25 | result := false; 26 | 27 | if (libfilename1 = '') and (libfilename2 = '') and (libfilename3 = '') then 28 | begin 29 | libX11 := fX11; 30 | libXft := fXft; 31 | libXext := fXext; 32 | end else 33 | begin 34 | libX11 := libfilename1; 35 | libXft := libfilename2; 36 | libXext := libfilename3; 37 | end; 38 | 39 | result := x_Load(libX11) ; 40 | result := xft_Load(libXft); 41 | result := xext_Load(libXext); 42 | end; 43 | 44 | procedure xdynunloadlib() ; 45 | begin 46 | // xext_unLoad(); // done by X_unload 47 | xft_unLoad(); 48 | x_unLoad(); 49 | end; 50 | 51 | end. 52 | -------------------------------------------------------------------------------- /src/fpGUI-maint_dynX11/xdynload.pas: -------------------------------------------------------------------------------- 1 | unit xdynload; 2 | 3 | {$mode objfpc}{$H+} 4 | 5 | interface 6 | 7 | uses 8 | sysutils, xlib, xftlib; 9 | 10 | 11 | const 12 | fX11='libX11.so.6'; 13 | fXft='libXft.so.2'; 14 | 15 | Function xdynloadlib(const libfilename1:string = '' ; const libfilename2:string = '') :boolean; 16 | procedure xdynunloadlib(); 17 | 18 | implementation 19 | 20 | Function xdynloadlib(const libfilename1:string = '' ; const libfilename2:string = '') :boolean; 21 | var 22 | libX11, libXft: string; 23 | begin 24 | result := false; 25 | 26 | if (libfilename1 = '') and (libfilename2 = '') then 27 | begin 28 | libX11 := fX11; 29 | libXft := fXft; 30 | end else 31 | begin 32 | libX11 := libfilename1; 33 | libXft := libfilename2; 34 | end; 35 | 36 | result := x_Load(libX11) ; 37 | result := xft_Load(libXft); 38 | end; 39 | 40 | procedure xdynunloadlib() ; 41 | begin 42 | xft_unLoad(); 43 | x_unLoad(); 44 | end; 45 | 46 | end. 47 | -------------------------------------------------------------------------------- /src/fpcadds.pas: -------------------------------------------------------------------------------- 1 | { 2 | ***************************************************************************** 3 | This file is part of LazUtils. 4 | 5 | See the file COPYING.modifiedLGPL.txt, included in this distribution, 6 | for details about the license. 7 | ***************************************************************************** 8 | } 9 | unit FPCAdds; 10 | 11 | {$mode objfpc}{$H+}{$inline on} 12 | 13 | {$i lazutils_defines.inc} 14 | 15 | interface 16 | 17 | uses 18 | Classes, SysUtils; 19 | 20 | type 21 | TStreamSeekType = int64; 22 | TMemStreamSeekType = PtrInt; 23 | TCompareMemSize = PtrUInt; 24 | PHandle = ^THandle; 25 | 26 | function StrToWord(const s: string): word; 27 | 28 | function AlignToPtr(const p: Pointer): Pointer; 29 | function AlignToInt(const p: Pointer): Pointer; 30 | 31 | implementation 32 | 33 | function StrToWord(const s: string): word; 34 | var 35 | p: Integer; 36 | begin 37 | Result:=0; 38 | p:=1; 39 | while (p<=length(s)) do begin 40 | Result:=Result*10+ord(s[p])-ord('0'); 41 | inc(p); 42 | end; 43 | end; 44 | 45 | function AlignToPtr(const p: Pointer): Pointer; 46 | begin 47 | {$IFDEF FPC_REQUIRES_PROPER_ALIGNMENT} 48 | Result := Align(p, SizeOf(Pointer)); 49 | {$ELSE} 50 | Result := p; 51 | {$ENDIF} 52 | end; 53 | 54 | function AlignToInt(const p: Pointer): Pointer; 55 | begin 56 | {$IFDEF FPC_REQUIRES_PROPER_ALIGNMENT} 57 | Result := Align(p, SizeOf(integer)); 58 | {$ELSE} 59 | Result := p; 60 | {$ENDIF} 61 | end; 62 | 63 | {$ifdef UTF8_RTL} 64 | initialization 65 | SetMultiByteConversionCodePage(CP_UTF8); 66 | // SetMultiByteFileSystemCodePage(CP_UTF8); not needed, this is the default under Windows 67 | SetMultiByteRTLFileSystemCodePage(CP_UTF8); 68 | {$IFEND} 69 | 70 | end. 71 | -------------------------------------------------------------------------------- /src/fpg_style_hoover_silver_flat.pas: -------------------------------------------------------------------------------- 1 | { 2 | Hoover Style by Fred van Stappen 3 | fiens@hotmail.com 4 | } 5 | unit fpg_style_hoover_silver_flat; 6 | 7 | {$mode objfpc}{$H+} 8 | 9 | /// for custom compil, like using fpgui-dvelop => edit define.inc 10 | {$I define.inc} 11 | 12 | interface 13 | 14 | uses 15 | Classes, fpg_main, fpg_base; 16 | 17 | type 18 | 19 | TExtStyle = class(TfpgStyle) 20 | public 21 | constructor Create; override; 22 | { General } 23 | procedure DrawControlFrame(ACanvas: TfpgCanvas; x, y, w, h: TfpgCoord); override; 24 | { Buttons } 25 | procedure DrawButtonFace(ACanvas: TfpgCanvas; x, y, w, h: TfpgCoord; 26 | AFlags: TfpgButtonFlags); override; 27 | { Menus } 28 | procedure DrawMenuRow(ACanvas: TfpgCanvas; r: TfpgRect; 29 | AFlags: TfpgMenuItemFlags); override; 30 | function HasButtonHoverEffect: boolean; override; 31 | end; 32 | 33 | 34 | implementation 35 | 36 | uses 37 | fpg_stylemanager; 38 | 39 | constructor TExtStyle.Create; 40 | begin 41 | inherited Create; 42 | // fpgSetNamedColor(clWindowBackground, TfpgColor($eeeeec)); 43 | fpgSetNamedColor(clWindowBackground, clLightGray); 44 | end; 45 | 46 | function TExtStyle.HasButtonHoverEffect: boolean; 47 | begin 48 | Result := true; 49 | end; 50 | 51 | procedure TExtStyle.DrawControlFrame(ACanvas: TfpgCanvas; x, y, w, h: TfpgCoord); 52 | var 53 | r: TfpgRect; 54 | begin 55 | r.SetRect(x, y, w, h); 56 | {$ifdef fpgui-develop} 57 | if ACanvas.widget.ClassName = 'TfpgValueBar' then 58 | {$else} 59 | if ACanvas.window.ClassName = 'TfpgValueBar' then 60 | {$endif} 61 | begin 62 | ACanvas.SetColor(clblack); 63 | ACanvas.DrawRectangle(r); 64 | 65 | r.SetRect(x+1, y+1, w-2, h-2); 66 | ACanvas.SetColor(cllime); 67 | ACanvas.DrawRectangle(r); 68 | 69 | r.SetRect(x+2, y+2, w-4, h-4); 70 | ACanvas.SetColor(clwhite); 71 | ACanvas.DrawRectangle(r); 72 | 73 | end else 74 | begin 75 | 76 | ACanvas.SetColor(clShadow1); 77 | ACanvas.Clear(clWindowBackground); 78 | ACanvas.DrawRectangle(r); 79 | end; 80 | 81 | end; 82 | 83 | procedure TExtStyle.DrawButtonFace(ACanvas: TfpgCanvas; x, y, w, h: TfpgCoord; 84 | AFlags: TfpgButtonFlags); 85 | var 86 | r, r21, r22: TfpgRect; 87 | begin 88 | r.SetRect(x, y, w, h); 89 | 90 | r21.SetRect(x, y, w, h div 2); 91 | 92 | r22.SetRect(x, y + (h div 2), w, h div 2); 93 | 94 | 95 | ACanvas.SetColor(clWindowBackground); 96 | ACanvas.FillRectangle(r); 97 | 98 | if (btfFlat in AFlags) and not (btfIsPressed in AFlags) then 99 | Exit; 100 | 101 | if (btfIsPressed in AFlags) or (btfHover in AFlags) then 102 | begin 103 | 104 | // so we don't paint over the border 105 | InflateRect(r, -1, -1); 106 | ACanvas.GradientFill(r21, clHilite1, clwhite, gdVertical); 107 | ACanvas.GradientFill(r22, clwhite, clHilite1, gdVertical); 108 | // ACanvas.SetColor(clblack); 109 | ACanvas.SetColor(cldarkgray); 110 | ACanvas.DrawRectangle(r); 111 | InflateRect(r, -1, -1); 112 | if (btfHover in AFlags) then ACanvas.SetColor(clyellow) else ACanvas.SetColor(cllime); 113 | ACanvas.DrawRectangle(r); 114 | end 115 | else 116 | begin 117 | 118 | // ACanvas.SetColor(cldarkgray); 119 | // ACanvas.DrawRectangle(r); 120 | end; 121 | end; 122 | procedure TExtStyle.DrawMenuRow(ACanvas: TfpgCanvas; r: TfpgRect; 123 | AFlags: TfpgMenuItemFlags); 124 | var 125 | r21, r22: TfpgRect; 126 | begin 127 | r21.Height := r.Height div 2; 128 | r21.Width := r.Width; 129 | r21.Top := r.top; 130 | r21.Left := r.Left; 131 | 132 | r22.Height := r.Height div 2; 133 | r22.Width := r.Width; 134 | r22.Top := r.top + r22.Height; 135 | r22.Left := r.Left; 136 | ACanvas.SetColor(clwhite); 137 | ACanvas.FillRectangle(r); 138 | inherited DrawMenuRow(ACanvas, r, AFlags); 139 | if (mifSelected in AFlags) and not (mifSeparator in AFlags) then 140 | begin 141 | ACanvas.GradientFill(r21, clsilver, clwhite, gdVertical); 142 | ACanvas.GradientFill(r22, clwhite, clsilver, gdVertical); 143 | ACanvas.SetColor(cldarkgray); 144 | ACanvas.SetTextColor(clblack); 145 | ACanvas.DrawRectangle(r); 146 | InflateRect(r, -1, -1); 147 | ACanvas.SetColor(cllime); 148 | ACanvas.DrawRectangle(r); 149 | end; 150 | end; 151 | 152 | 153 | initialization 154 | fpgStyleManager.RegisterClass('Hoover Silver Flat', TExtStyle); 155 | 156 | end. 157 | 158 | -------------------------------------------------------------------------------- /src/fpg_style_mint3.pas: -------------------------------------------------------------------------------- 1 | {Mint Style 2 | by Fred van Stappen 3 | fiens@hotmail.com 4 | } 5 | unit fpg_style_mint3; 6 | 7 | {$mode objfpc}{$H+} 8 | 9 | /// for custom compil, like using fpgui-dvelop => edit define.inc 10 | {$I define.inc} 11 | 12 | interface 13 | 14 | uses 15 | Classes, fpg_main, fpg_base; 16 | 17 | type 18 | 19 | TExtStyle = class(TfpgStyle) 20 | public 21 | constructor Create; override; 22 | { General } 23 | procedure DrawControlFrame(ACanvas: TfpgCanvas; x, y, w, h: TfpgCoord); override; 24 | { Buttons } 25 | procedure DrawButtonFace(ACanvas: TfpgCanvas; x, y, w, h: TfpgCoord; AFlags: TfpgButtonFlags); override; 26 | { Menus } 27 | procedure DrawMenuRow(ACanvas: TfpgCanvas; r: TfpgRect; AFlags: TfpgMenuItemFlags); override; 28 | procedure DrawMenuBar(ACanvas: TfpgCanvas; r: TfpgRect; ABackgroundColor: TfpgColor); override; 29 | end; 30 | 31 | 32 | implementation 33 | 34 | uses 35 | fpg_stylemanager ; 36 | 37 | { TExtStyle } 38 | 39 | constructor TExtStyle.Create; 40 | begin 41 | inherited Create; 42 | fpgSetNamedColor(clWindowBackground, TfpgColor($eeeeec)); 43 | end; 44 | 45 | procedure TExtStyle.DrawControlFrame(ACanvas: TfpgCanvas; x, y, w, h: TfpgCoord); 46 | var 47 | r: TfpgRect; 48 | begin 49 | r.SetRect(x, y, w, h); 50 | {$ifdef fpgui-develop} 51 | if ACanvas.widget.ClassName = 'TfpgValueBar' then 52 | {$else} 53 | if ACanvas.window.ClassName = 'TfpgValueBar' then 54 | {$endif} 55 | begin 56 | ACanvas.SetColor(clblack); 57 | ACanvas.DrawRectangle(r); 58 | 59 | r.SetRect(x+1, y+1, w-2, h-2); 60 | ACanvas.SetColor(cllime); 61 | ACanvas.DrawRectangle(r); 62 | 63 | r.SetRect(x+2, y+2, w-4, h-4); 64 | ACanvas.SetColor(clwhite); 65 | ACanvas.DrawRectangle(r); 66 | 67 | end else 68 | begin 69 | 70 | ACanvas.SetColor(clShadow1); 71 | ACanvas.Clear(clWindowBackground); 72 | ACanvas.DrawRectangle(r); 73 | end; 74 | end; 75 | 76 | procedure TExtStyle.DrawButtonFace(ACanvas: TfpgCanvas; x, y, w, h: TfpgCoord; AFlags: TfpgButtonFlags); 77 | var 78 | r : TfpgRect; 79 | begin 80 | r.SetRect(x, y, w, h); 81 | 82 | if btfIsDefault in AFlags then 83 | begin 84 | ACanvas.SetColor(TfpgColor($7b7b7b)); 85 | ACanvas.SetLineStyle(1, lsSolid); 86 | ACanvas.DrawRectangle(r); 87 | InflateRect(r, -1, -1); 88 | Exclude(AFlags, btfIsDefault); 89 | fpgStyle.DrawButtonFace(ACanvas, r.Left, r.Top, r.Width, r.Height, AFlags); 90 | Exit; //==> 91 | end; 92 | 93 | // Clear the canvas 94 | ACanvas.SetColor(clWindowBackground); 95 | ACanvas.FillRectangle(r); 96 | 97 | if (btfFlat in AFlags) and not (btfIsPressed in AFlags) then 98 | Exit; // no need to go further 99 | 100 | // outer rectangle 101 | ACanvas.SetLineStyle(1, lsSolid); 102 | ACanvas.SetColor(TfpgColor($a6a6a6)); 103 | ACanvas.DrawRectangle(r); 104 | 105 | // so we don't paint over the border 106 | InflateRect(r, -1, -1); 107 | // now paint the face of the button 108 | if (btfIsPressed in AFlags) then 109 | begin 110 | ACanvas.GradientFill(r, cllime, TfpgColor($e4e4e4), gdVertical); 111 | end 112 | else 113 | begin 114 | ACanvas.GradientFill(r, TfpgColor($fafafa), cldarkseagreen, gdVertical); 115 | ACanvas.SetColor(TfpgColor($cccccc)); 116 | ACanvas.DrawLine(r.Right, r.Top, r.Right, r.Bottom); // right 117 | ACanvas.DrawLine(r.Right, r.Bottom, r.Left, r.Bottom); // bottom 118 | end; 119 | end; 120 | 121 | procedure TExtStyle.DrawMenuRow(ACanvas: TfpgCanvas; r: TfpgRect; AFlags: TfpgMenuItemFlags); 122 | begin 123 | inherited DrawMenuRow(ACanvas, r, AFlags); 124 | if (mifSelected in AFlags) and not (mifSeparator in AFlags) then 125 | // ACanvas.GradientFill(r, TfpgColor($fec475), TfpgColor($fb9d24), gdVertical); 126 | ACanvas.GradientFill(r, cldarkseagreen, clolivedrab, gdVertical); 127 | end; 128 | 129 | procedure TExtStyle.DrawMenuBar(ACanvas: TfpgCanvas; r: TfpgRect; ABackgroundColor: TfpgColor); 130 | var 131 | FLightColor: TfpgColor; 132 | FDarkColor: TfpgColor; 133 | begin 134 | // a possible future theme option 135 | FLightColor := TfpgColor($f0ece3); // color at top of menu bar 136 | FDarkColor := TfpgColor($beb8a4); // color at bottom of menu bar 137 | // ACanvas.GradientFill(r, FLightColor, FDarkColor, gdVertical); 138 | 139 | ACanvas.GradientFill(r, clgridheader, clhilite1, gdVertical); 140 | 141 | // inner bottom line 142 | ACanvas.SetColor(clShadow1); 143 | ACanvas.DrawLine(r.Left, r.Bottom-1, r.Right+1, r.Bottom-1); // bottom 144 | // outer bottom line 145 | ACanvas.SetColor(clWhite); 146 | ACanvas.DrawLine(r.Left, r.Bottom, r.Right+1, r.Bottom); // bottom 147 | end; 148 | 149 | 150 | initialization 151 | fpgStyleManager.RegisterClass('Mint 3', TExtStyle); 152 | 153 | end. 154 | 155 | -------------------------------------------------------------------------------- /src/fpg_winapi.pas: -------------------------------------------------------------------------------- 1 | { Win32 header for loading system palette 2 | 3 | Copyright (C) 2013 Krzysztof Dibowski dibowski_at_interia.pl 4 | 5 | This library is free software; you can redistribute it and/or modify it 6 | under the terms of the GNU Library General Public License as published by 7 | the Free Software Foundation; either version 2 of the License, or (at your 8 | option) any later version with the following modification: 9 | 10 | As a special exception, the copyright holders of this library give you 11 | permission to link this library with independent modules to produce an 12 | executable, regardless of the license terms of these independent modules,and 13 | to copy and distribute the resulting executable under terms of your choice, 14 | provided that you also meet, for each linked independent module, the terms 15 | and conditions of the license of that module. An independent module is a 16 | module which is not derived from or based on this library. If you modify 17 | this library, you may extend this exception to your version of the library, 18 | but you are not obligated to do so. If you do not wish to do so, delete this 19 | exception statement from your version. 20 | 21 | This program is distributed in the hope that it will be useful, but WITHOUT 22 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 23 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License 24 | for more details. 25 | 26 | You should have received a copy of the GNU Library General Public License 27 | along with this library; if not, write to the Free Software Foundation, 28 | Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 29 | } 30 | 31 | 32 | unit fpg_WinAPI; 33 | 34 | {$mode objfpc} 35 | 36 | /// for custom compil, like using fpgui-dvelop => edit define.inc 37 | {$I define.inc} 38 | 39 | interface 40 | 41 | uses 42 | Classes, SysUtils, dynlibs; 43 | 44 | const 45 | LIB_USER32 = 'user32.dll'; 46 | 47 | // Colors description on http://msdn.microsoft.com/en-us/library/windows/desktop/ms724371(v=vs.85).aspx 48 | const 49 | COLOR_BACKGROUND = 1; 50 | COLOR_BTNFACE = 15; 51 | COLOR_WINDOW = 5; 52 | COLOR_APPWORKSPACE = 12; 53 | COLOR_GRAYTEXT = 17; 54 | COLOR_BTNSHADOW = 16; 55 | COLOR_HIGHLIGHT = 13; 56 | COLOR_HIGHLIGHTTEXT = 14; 57 | COLOR_CAPTIONTEXT = 9; 58 | COLOR_BTNHIGHLIGHT = 20; 59 | COLOR_BTNHILIGHT = 20; 60 | COLOR_SCROLLBAR = 0; 61 | COLOR_INFOBK = 24; 62 | 63 | var 64 | LibUser32Handle: TLibHandle=0; 65 | GetSysColor: function (nIndex:longint):DWORD; stdcall; 66 | 67 | function LoadUser32Lib: Boolean; 68 | procedure UnloadUser32Lib; 69 | 70 | implementation 71 | 72 | function LoadUser32Lib: Boolean; 73 | begin 74 | if (LibUser32Handle<>0) then Exit(True); 75 | 76 | LibUser32Handle := LoadLibrary(LIB_USER32); 77 | 78 | Result := LibUser32Handle<>0; 79 | 80 | if Result then 81 | Pointer(GetSysColor) := GetProcedureAddress(LibUser32Handle, 'GetSysColor'); 82 | end; 83 | 84 | procedure UnloadUser32Lib; 85 | begin 86 | if LibUser32Handle<>0 then 87 | UnloadLibrary(LibUser32Handle); 88 | end; 89 | 90 | end. 91 | 92 | -------------------------------------------------------------------------------- /src/fpgdxt.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/fpgdxt.class -------------------------------------------------------------------------------- /src/fpgdxt.java: -------------------------------------------------------------------------------- 1 | public class fpgdxt{ 2 | 3 | public static native void mainproc(); 4 | 5 | public static void main(String[] args) 6 | 7 | { 8 | System.loadLibrary("fpgdxt"); 9 | mainproc(); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /src/fpgdxt.lpi: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | <UseAppBundle Value="False"/> 15 | <ResourceType Value="res"/> 16 | </General> 17 | <i18n> 18 | <EnableI18N LFM="False"/> 19 | </i18n> 20 | <VersionInfo> 21 | <StringTable ProductVersion=""/> 22 | </VersionInfo> 23 | <BuildModes Count="1"> 24 | <Item1 Name="Default" Default="True"/> 25 | </BuildModes> 26 | <PublishOptions> 27 | <Version Value="2"/> 28 | </PublishOptions> 29 | <RunParams> 30 | <local> 31 | <FormatVersion Value="1"/> 32 | </local> 33 | </RunParams> 34 | <Units Count="1"> 35 | <Unit0> 36 | <Filename Value="fpgdxt.pas"/> 37 | <IsPartOfProject Value="True"/> 38 | </Unit0> 39 | </Units> 40 | </ProjectOptions> 41 | <CompilerOptions> 42 | <Version Value="11"/> 43 | <Target> 44 | <Filename Value="fpgdxt"/> 45 | </Target> 46 | <SearchPaths> 47 | <IncludeFiles Value="$(ProjOutDir)"/> 48 | <UnitOutputDirectory Value="units"/> 49 | </SearchPaths> 50 | <CodeGeneration> 51 | <SmartLinkUnit Value="True"/> 52 | <RelocatableUnit Value="True"/> 53 | <SmallerCode Value="True"/> 54 | </CodeGeneration> 55 | <Linking> 56 | <Debugging> 57 | <GenerateDebugInfo Value="False"/> 58 | <StripSymbols Value="True"/> 59 | </Debugging> 60 | <LinkSmart Value="True"/> 61 | <Options> 62 | <ExecutableType Value="Library"/> 63 | </Options> 64 | </Linking> 65 | <Other> 66 | <ConfigFile> 67 | <CustomConfigFile Value="True"/> 68 | <ConfigFilePath Value="fpgextrafpcwin.cfg"/> 69 | </ConfigFile> 70 | </Other> 71 | </CompilerOptions> 72 | <Debugging> 73 | <Exceptions Count="3"> 74 | <Item1> 75 | <Name Value="EComponentError"/> 76 | </Item1> 77 | <Item2> 78 | <Name Value="EPropertyError"/> 79 | </Item2> 80 | <Item3> 81 | <Name Value="EListError"/> 82 | </Item3> 83 | </Exceptions> 84 | </Debugging> 85 | </CONFIG> 86 | -------------------------------------------------------------------------------- /src/fpgdxt2.pas: -------------------------------------------------------------------------------- 1 | { 2 | This library is the extended version of fpGUI uidesigner. 3 | With run-only-once, window list, undo feature, integration into IDE, editor launcher,... 4 | Fred van Stappen 5 | fiens@hotmail.com 6 | } 7 | { 8 | fpGUI - Free Pascal GUI Library 9 | 10 | Copyright (C) 2006 - 2013 See the file AUTHORS.txt, included in this 11 | distribution, for details of the copyright. 12 | 13 | See the file COPYING.modifiedLGPL, included in this distribution, 14 | for details about redistributing fpGUI. 15 | 16 | This program is distributed in the hope that it will be useful, 17 | but WITHOUT ANY WARRANTY; without even the implied warranty of 18 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 19 | 20 | Description: 21 | The starting unit for the UI Designer project. 22 | } 23 | 24 | library fpguidesignerext ; 25 | 26 | {$mode objfpc}{$H+} 27 | 28 | uses {$IFDEF UNIX} 29 | cthreads, {$ENDIF} 30 | fpg_iniutils, 31 | sysutils, 32 | RunOnce_PostIt, 33 | fpg_cmdlineparams, 34 | fpg_style_anim_round_silver_horz, 35 | fpg_style_round_silver_flat_horz, 36 | fpg_style_anim_round_silver_flat_horz, 37 | fpg_style_anim_chrome_silver_vert, 38 | fpg_style_anim_chrome_silver_vert_flatmenu, 39 | fpg_style_anim_chrome_silver_horz, 40 | fpg_style_anim_chrome_silver_horz_flatmenu, 41 | fpg_style_anim_ellipse_silver_vert, 42 | fpg_style_anim_ellipse_silver_horz, 43 | fpg_style_hoover_system_flat, 44 | fpg_style_hoover_silver_flat, 45 | fpg_style_ellipse_silver, 46 | fpg_style_ellipse_system, 47 | fpg_style_ellipse_gray, 48 | fpg_style_ellipse_purple, 49 | fpg_style_ellipse_red, 50 | fpg_style_ellipse_green, 51 | fpg_style_ellipse_blue, 52 | fpg_style_ellipse_yellow, 53 | fpg_style_chrome_gray, 54 | fpg_style_chrome_blue, 55 | fpg_style_chrome_silver, 56 | fpg_style_chrome_silver_flatmenu, 57 | fpg_style_chrome_system, 58 | fpg_style_chrome_green, 59 | fpg_style_chrome_red, 60 | fpg_style_chrome_purple, 61 | fpg_style_chrome_yellow, 62 | fpg_style_mint1, 63 | fpg_style_mint2, 64 | fpg_style_mint3, 65 | fpg_style_SystemColors, 66 | fpg_style_SystemColorsMyStyle1, 67 | fpg_style_SystemColorsMyStyle2, 68 | fpg_stylemanager, 69 | fpg_main, 70 | vfd_main, 71 | frm_main_designer, 72 | vfd_widgets; 73 | 74 | //procedure hidefpguidesigner(PEnv: pointer; Obj: pointer); cdecl; // Java 75 | procedure hidefpguidesigner(); cdecl; // native 76 | begin 77 | frmMainDesigner.hide; 78 | frmProperties.hide; 79 | end; 80 | 81 | //procedure closefpguidesigner(PEnv: pointer; Obj: pointer); cdecl; // Java 82 | procedure closefpguidesigner(); cdecl; // native 83 | begin 84 | frmMainDesigner.hide; 85 | frmProperties.hide; 86 | end; 87 | 88 | //function loadfilefpguidesigner(PEnv: pointer; Obj: pointer; afilename : PChar); cdecl; // Java 89 | function loadfilefpguidesigner(afilename : PChar) : integer ; cdecl; // native 90 | begin 91 | if FileExists(afilename) then 92 | begin 93 | maindsgn.EditedFileName := afilename; 94 | maindsgn.OnLoadFile(maindsgn); 95 | end; 96 | end; 97 | 98 | //procedure MainProc(PEnv: pointer; Obj: pointer); cdecl; // Java 99 | procedure MainProc(); cdecl; // native 100 | begin 101 | ifonlyone := false; 102 | 103 | fpgApplication.Initialize; 104 | try 105 | RegisterWidgets; 106 | if fpgStyleManager.SetStyle('Chrome silver flat menu') then 107 | fpgStyle := fpgStyleManager.Style; 108 | 109 | PropList := TPropertyList.Create; 110 | maindsgn := TMainDesigner.Create; 111 | 112 | maindsgn.CreateWindows; 113 | 114 | fpgApplication.MainForm := frmMainDesigner; 115 | 116 | frmMainDesigner.hide; 117 | frmProperties.hide; 118 | fpgApplication.Run; 119 | 120 | PropList.Free; 121 | 122 | finally 123 | maindsgn.Free; 124 | end; 125 | end; 126 | 127 | 128 | exports 129 | //{ // native 130 | MainProc name 'mainprocfpguidesigner', 131 | closefpguidesigner name 'closefpguidesigner', 132 | loadfilefpguidesigner name 'loadfilefpguidesigner', 133 | hidefpguidesigner name 'hidefpguidesigner'; 134 | //} 135 | 136 | { // Java 137 | MainProc name 'Java_fpguidesignerext_mainprocfpguidesigner', 138 | closefpguidesigner name 'Java_fpguidesignerext_closefpguidesigner', 139 | hidefpguidesigner name 'Java_fpguidesignerext_hidefpguidesigner', 140 | loadfilefpguidesigner name 'Java_fpguidesignerext_loadfilefpguidesigner' ; 141 | } 142 | 143 | end. 144 | -------------------------------------------------------------------------------- /src/fpgextrafpc.cfg: -------------------------------------------------------------------------------- 1 | -MObjFPC 2 | -fPIC 3 | -Fi/home/fred/fpGUI-fred/src/ 4 | -Fi/home/fred/fpGUI-fred/src/corelib/ 5 | -Fi/home/fred/fpGUI-fred/src/corelib/x11/ 6 | -Fu/home/fred/fpGUI-fred/src/ 7 | -Fu/home/fred/fpGUI-fred/src/corelib/ 8 | -Fu/home/fred/fpGUI-fred/src/gui/ 9 | -Fu/home/fred/fpGUI-fred/src/corelib/x11/ 10 | -Fu/home/fred/msegui/lib/common/* 11 | -Fu/home/fred/msegui/lib/common/kernel/linux 12 | -Fi/home/fred/msegui/lib/common/kernel 13 | -Fulib/common/* 14 | -Fulib/common/kernel/linux 15 | -Filib/common/kernel 16 | -FUunits/ 17 | -FE./ 18 | -FUunits 19 | -Schi 20 | -vewnhibq 21 | -Xs 22 | -XX 23 | -CX 24 | #ifdef mswindows 25 | -WG 26 | #endif 27 | 28 | -------------------------------------------------------------------------------- /src/fpgextrafpcwin.cfg: -------------------------------------------------------------------------------- 1 | -MObjFPC 2 | -fPIC 3 | -Fi/home/fred/fpGUI-fred/src/ 4 | -Fi/home/fred/fpGUI-fred/src/corelib/ 5 | -Fi/home/fred/fpGUI-fred/src/corelib/gdi/ 6 | -Fu/home/fred/fpGUI-fred/src/ 7 | -Fu/home/fred/fpGUI-fred/src/corelib/ 8 | -Fu/home/fred/fpGUI-fred/src/gui/ 9 | -Fu/home/fred/fpGUI-fred/src/corelib/gdi/ 10 | -Fu/home/fred/msegui/lib/common/* 11 | -Fu/home/fred/msegui/lib/common/kernel/linux 12 | -Fi/home/fred/msegui/lib/common/kernel 13 | -Fulib/common/* 14 | -Fulib/common/kernel/linux 15 | -Filib/common/kernel 16 | -FUunits/ 17 | -FE./ 18 | -FUunits 19 | -Schi 20 | -vewnhibq 21 | -Xs 22 | -XX 23 | -CX 24 | #ifdef mswindows 25 | -WG 26 | #endif 27 | 28 | -------------------------------------------------------------------------------- /src/fpgui.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/fpgui.bmp -------------------------------------------------------------------------------- /src/h_fpgdxt.pas: -------------------------------------------------------------------------------- 1 | 2 | unit h_fpgdxt ; 3 | {This is the Dynamic loading version of designer_ext library wrapper. 4 | 5 | With reference counter too... 6 | 7 | Fred van Stappen / fiens@hotmail.com 8 | } 9 | 10 | //////////////////////////////////////////////////////////////////////////////// 11 | 12 | /// for custom compil, like using fpgui-dvelop => edit define.inc 13 | {$I define.inc} 14 | 15 | interface 16 | 17 | uses 18 | DynLibs; 19 | 20 | {$IF not DEFINED(windows)} 21 | type 22 | THandle = pointer; 23 | TArray = single; 24 | {$endif} 25 | 26 | var 27 | fpgdxtmainproc : procedure(); cdecl; 28 | fpgdxtloadfile: function(afilename : PChar) : integer ; cdecl; 29 | fpgdxtclose : procedure(); cdecl; 30 | fpgdxthide : procedure(); cdecl; 31 | fpgdxtshow : procedure(); cdecl; 32 | fpgdxtprocessmessages : procedure(); cdecl; 33 | LibHandle:TLibHandle=dynlibs.NilHandle; // this will hold our handle for the lib 34 | ReferenceCounter : cardinal = 0; // Reference counter 35 | 36 | function fpgdxtisLoaded() : boolean; inline; 37 | function fpgdxtloadlib(const libfilename: string): boolean; // load the lib 38 | procedure fpgdxtunloadlib(); 39 | // unload and frees the lib from memory : do not forget to call it before close application. 40 | 41 | implementation 42 | 43 | function fpgdxtisloaded(): boolean; 44 | begin 45 | Result := (LibHandle <> dynlibs.NilHandle); 46 | end; 47 | 48 | function fpgdxtloadlib(const libfilename: string): boolean; 49 | begin 50 | Result := False; 51 | if LibHandle<>0 then 52 | begin 53 | Inc(ReferenceCounter); 54 | result:=true 55 | end else begin 56 | if Length(libfilename) = 0 then exit; 57 | LibHandle:=DynLibs.LoadLibrary(libfilename); // obtain the handle we want 58 | if LibHandle <> DynLibs.NilHandle then 59 | begin 60 | try 61 | Pointer(fpgdxtmainproc) := 62 | GetProcAddress(LibHandle, 'fpgdxtmainproc'); 63 | Pointer(fpgdxtclose) := 64 | GetProcAddress(LibHandle, 'fpgdxtclose'); 65 | Pointer(fpgdxtloadfile) := 66 | GetProcAddress(LibHandle, 'fpgdxtloadfile'); 67 | Pointer(fpgdxthide) := 68 | GetProcAddress(LibHandle, 'fpgdxthide'); 69 | Pointer(fpgdxthide) := 70 | GetProcAddress(LibHandle, 'fpgdxtshow'); 71 | Pointer(fpgdxtprocessmessages) := 72 | GetProcAddress(LibHandle, 'fpgdxtprocessmessages'); 73 | 74 | Result := fpgdxtisLoaded; 75 | ReferenceCounter:=1; 76 | except 77 | fpgdxtunloadlib; 78 | end; 79 | end; 80 | end; 81 | end; 82 | 83 | procedure fpgdxtunloadlib(); 84 | begin 85 | // < Reference counting 86 | if ReferenceCounter > 0 then 87 | dec(ReferenceCounter); 88 | if ReferenceCounter > 0 then 89 | exit; 90 | // > 91 | 92 | if LibHandle <> DynLibs.NilHandle then 93 | begin 94 | DynLibs.UnloadLibrary(LibHandle); 95 | LibHandle := DynLibs.NilHandle; 96 | end; 97 | end; 98 | 99 | end. 100 | -------------------------------------------------------------------------------- /src/icon_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/icon_16.png -------------------------------------------------------------------------------- /src/icon_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/icon_32.png -------------------------------------------------------------------------------- /src/images/assist.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/assist.bmp -------------------------------------------------------------------------------- /src/images/assist2.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/assist2.bmp -------------------------------------------------------------------------------- /src/images/assist2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/assist2.png -------------------------------------------------------------------------------- /src/images/checkdateedit.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/checkdateedit.bmp -------------------------------------------------------------------------------- /src/images/colorlistbox.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/colorlistbox.bmp -------------------------------------------------------------------------------- /src/images/colorwheel.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/colorwheel.bmp -------------------------------------------------------------------------------- /src/images/dateedit.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/dateedit.bmp -------------------------------------------------------------------------------- /src/images/editbutton.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/editbutton.bmp -------------------------------------------------------------------------------- /src/images/editcurrency.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/editcurrency.bmp -------------------------------------------------------------------------------- /src/images/editdirectory.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/editdirectory.bmp -------------------------------------------------------------------------------- /src/images/editfilename.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/editfilename.bmp -------------------------------------------------------------------------------- /src/images/editfloat.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/editfloat.bmp -------------------------------------------------------------------------------- /src/images/editfont.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/editfont.bmp -------------------------------------------------------------------------------- /src/images/editgrid.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/editgrid.bmp -------------------------------------------------------------------------------- /src/images/editinteger.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/editinteger.bmp -------------------------------------------------------------------------------- /src/images/formdesign.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/formdesign.bmp -------------------------------------------------------------------------------- /src/images/fpgui_ico.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/fpgui_ico.png -------------------------------------------------------------------------------- /src/images/fpgui_ico2.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/fpgui_ico2.bmp -------------------------------------------------------------------------------- /src/images/fpgui_ico2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/fpgui_ico2.png -------------------------------------------------------------------------------- /src/images/fpgui_ico22.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/fpgui_ico22.png -------------------------------------------------------------------------------- /src/images/fpgui_logo.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/fpgui_logo.bmp -------------------------------------------------------------------------------- /src/images/fpgui_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/fpgui_logo.png -------------------------------------------------------------------------------- /src/images/gauge.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/gauge.bmp -------------------------------------------------------------------------------- /src/images/groupbox.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/groupbox.bmp -------------------------------------------------------------------------------- /src/images/hyperlink.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/hyperlink.bmp -------------------------------------------------------------------------------- /src/images/icodesext.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/icodesext.bmp -------------------------------------------------------------------------------- /src/images/listbox.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/listbox.bmp -------------------------------------------------------------------------------- /src/images/listview.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/listview.bmp -------------------------------------------------------------------------------- /src/images/menubar.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/menubar.bmp -------------------------------------------------------------------------------- /src/images/newform_16.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/newform_16.bmp -------------------------------------------------------------------------------- /src/images/nicegrid.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/nicegrid.bmp -------------------------------------------------------------------------------- /src/images/pagecontrol.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/pagecontrol.bmp -------------------------------------------------------------------------------- /src/images/picker.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/picker.bmp -------------------------------------------------------------------------------- /src/images/progressbar.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/progressbar.bmp -------------------------------------------------------------------------------- /src/images/radiobutton.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/radiobutton.bmp -------------------------------------------------------------------------------- /src/images/richtextview.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/richtextview.bmp -------------------------------------------------------------------------------- /src/images/scrollframe.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/scrollframe.bmp -------------------------------------------------------------------------------- /src/images/select1.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/select1.bmp -------------------------------------------------------------------------------- /src/images/shape_align_bottom.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/shape_align_bottom.bmp -------------------------------------------------------------------------------- /src/images/shape_align_left.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/shape_align_left.bmp -------------------------------------------------------------------------------- /src/images/shape_align_right.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/shape_align_right.bmp -------------------------------------------------------------------------------- /src/images/shape_align_top.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/shape_align_top.bmp -------------------------------------------------------------------------------- /src/images/splitter.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/splitter.bmp -------------------------------------------------------------------------------- /src/images/stringgrid.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/stringgrid.bmp -------------------------------------------------------------------------------- /src/images/tabsheet.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/tabsheet.bmp -------------------------------------------------------------------------------- /src/images/tofront.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/tofront.bmp -------------------------------------------------------------------------------- /src/images/toggle.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/toggle.bmp -------------------------------------------------------------------------------- /src/images/trackbar.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/trackbar.bmp -------------------------------------------------------------------------------- /src/images/treeview.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/treeview.bmp -------------------------------------------------------------------------------- /src/images/valuebar.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/images/valuebar.bmp -------------------------------------------------------------------------------- /src/lazutils_defines.inc: -------------------------------------------------------------------------------- 1 | // Add defines here. This file should be included in all LazUtils units headers 2 | 3 | 4 | {$undef UTF8_RTL} // FPC >= 2.7.1 with codepages and default string = CP_UTF8 5 | {$undef ACP_RTL} // FPC >= 2.7.1 with codepages and default string = CP_ACP 6 | {$undef NO_CP_RTL} // FPC < 2.7.1 before string codepages 7 | 8 | 9 | {$ifdef FPC_HAS_CPSTRING} 10 | {$ifndef DisableUTF8RTL} 11 | {$define UTF8_RTL} 12 | {$else DisableUTF8RTL} 13 | {$define ACP_RTL} 14 | {$endif DisableUTF8RTL} 15 | {$else FPC_HAS_CPSTRING} 16 | {$define NO_CP_RTL} 17 | {$undef DisableUTF8RTL} 18 | {$endif FPC_HAS_CPSTRING} 19 | -------------------------------------------------------------------------------- /src/led.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/led.png -------------------------------------------------------------------------------- /src/plugmanager.pas: -------------------------------------------------------------------------------- 1 | 2 | unit plugmanager ; 3 | {This for loading/managing plugin 4 | 5 | Fred van Stappen / fiens@hotmail.com 6 | } 7 | 8 | //////////////////////////////////////////////////////////////////////////////// 9 | 10 | /// for custom compil, like using fpgui-dvelop => edit define.inc 11 | // {$I define.inc} 12 | 13 | interface 14 | 15 | uses 16 | {$IFDEF UNIX} 17 | cthreads, {$ENDIF} 18 | // msethreads, 19 | Classes, SysUtils, 20 | h_fpgdxt ; 21 | 22 | type 23 | TPlugin = class(TThread) 24 | protected 25 | // evPause: PRTLEvent; // for pausing 26 | procedure Execute; override; 27 | public 28 | constructor Create(CreateSuspended: boolean; 29 | const StackSize: SizeUInt = DefaultStackSize); 30 | end; 31 | 32 | //// fpGui designer_ext 33 | procedure fpgd_mainproc(); 34 | function fpgd_loadlib(const libfilename: string): boolean; 35 | procedure fpgd_unloadlib; 36 | procedure fpgd_hide(); 37 | procedure fpgd_close(); 38 | function fpgd_loadfile(afilename : PChar) : integer ; 39 | 40 | var 41 | fpgdlib_isloaded : boolean = false; 42 | fpgdlib_enabled : boolean = true; 43 | fpgdprog_enabled : boolean = false; 44 | fpgplug : TPlugin ; 45 | 46 | 47 | implementation 48 | 49 | constructor TPlugin.Create(CreateSuspended: boolean; 50 | const StackSize: SizeUInt); 51 | begin 52 | //evPause := RTLEventCreate; 53 | inherited Create(CreateSuspended, StackSize); 54 | FreeOnTerminate := true; 55 | Priority := tpTimeCritical; 56 | 57 | end; 58 | 59 | 60 | //// fpgui designer_ext 61 | 62 | procedure TPlugin.execute; 63 | begin 64 | fpgdxtloadlib('/home/fred/designer_ext/src/libfpgdxt.so') ; 65 | fpgdxtmainproc() ; 66 | end; 67 | 68 | function fpgd_loadlib(const libfilename: string): boolean; 69 | begin 70 | // fpgdlib_isloaded := h_fpgdxt.fpgdxtloadlib(libfilename); 71 | // result := fpgdlib_isloaded ; 72 | fpgplug := TPlugin.Create(true) ; 73 | end; 74 | 75 | procedure fpgd_unloadlib(); 76 | begin 77 | h_fpgdxt.fpgdxtunloadlib() ; 78 | fpgdlib_enabled := false; 79 | end; 80 | 81 | procedure fpgd_hide(); 82 | begin 83 | h_fpgdxt.fpgdxthide(); 84 | end; 85 | 86 | procedure fpgd_close(); 87 | begin 88 | h_fpgdxt.fpgdxtclose(); 89 | end; 90 | 91 | function fpgd_loadfile(afilename : PChar) : integer ; 92 | begin 93 | result := -1; 94 | if FileExists(afilename) then 95 | begin 96 | result := h_fpgdxt.fpgdxtloadfile(afilename); 97 | end; 98 | end; 99 | 100 | procedure fpgd_mainproc(); 101 | begin 102 | fpgplug.execute; 103 | end; 104 | 105 | end. 106 | -------------------------------------------------------------------------------- /src/sakit/contributors.txt: -------------------------------------------------------------------------------- 1 | Here are the great contributors of sak. 2 | 3 | Fred van Stappen : fiens@hotmail.com 4 | -------------------------------------------------------------------------------- /src/sakit/credits.txt: -------------------------------------------------------------------------------- 1 | Here are the open source libraries used by sak. 2 | 3 | => PortAudio Cross-Platform Audio API. 4 | Copyright (c) Ross Bencina and Phil Burk 5 | http://www.portaudio.com/ 6 | 7 | => eSpeak Speech Synthesizer. 8 | Copyright (c) <jonsd@users.sourceforge.net> 9 | http://espeak.sourceforge.net/ 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/af_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/af_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/am_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/am_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/an_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/an_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/as_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/as_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/az_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/az_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/bg_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/bg_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/bn_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/bn_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/ca_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/ca_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/cs_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/cs_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/cy_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/cy_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/da_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/da_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/de_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/de_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/el_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/el_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/en_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/en_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/eo_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/eo_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/es_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/es_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/et_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/et_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/eu_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/eu_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/fa_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/fa_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/fi_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/fi_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/fr_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/fr_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/ga_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/ga_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/gd_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/gd_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/grc_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/grc_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/gu_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/gu_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/hbs_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/hbs_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/hi_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/hi_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/hu_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/hu_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/hy_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/hy_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/id_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/id_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/intonations: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/intonations -------------------------------------------------------------------------------- /src/sakit/espeak-data/is_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/is_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/it_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/it_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/jbo_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/jbo_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/ka_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/ka_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/kl_dict: -------------------------------------------------------------------------------- 1 | ���Q�����������AGl�����A Yl�����AHl���� _dpt1'A # 2 | ������AlS�����A9%�����A k#���������A(9l�����A,1#�����A0l7�����A4lA�����A8l2���������A@0l�����ADh#�����AHl"�����ALlY�����AP/l���������AXTl����_1M4$ 2G%7%9' 2��A\:l�����_1M1$H/( Y2�A`%1Y��_1M2$ 2A%7%9' 2��_1M3$ 2A%7%9# H�������AhXl�����������������������_3Xo/"nS/ ������������������������������������������������������_ords������������������������������������������������������������������������������������������������������������������� _11ol7SHs������������������������� _10o/% 2s�� _10nh(7%/���������������� _12o/o7SHs�������������������������������������������������_7Xokn7S9n"Y$2Y/qT 2 ������� _3X/3nVT ��_0Ck(2 V���������_1C$Hk(2" V������� _192$H2�� _18nH2�������� _11l7T �� _10/%�� _13/3nH2�� 3 | _12/o7�� _15S$A/2��_14S9'"H2�� _17YrH2��_16Y#9YH2���_7Xkn7S9n"Y������ _1oSr"YHs��_1n#/# Ylh�������� 4 | _2on2 2�� _2nA#"7(1�������� _3o/"lH9s��_3n0%D#Y(/��� _2X/q :�������������� _5oSlA/s��_5n/#i%A#/��� _4XSr o������ _6oY9lHs��_6n#"S%2%i%/���_5Xkn7/lY������ _7oYqT2s��_7n#"S%2lhA#"7(1��� _6X/lY������� _0n2( 7(�������� _9o2% 2s��_9nh(7%D%7(#/��� _8XS%"Y���������_9Xkn7SlAY�������������� 5 | _4oS9$o��_4nY%Y#A#/�����������������������������_0M4G%7%9' 2s��_8n#"S%2lh0%D#Y(/�� 6 | _8oo/2s�_0M2A%7%9' 2o��_0M3A%7%9# Hs���_0M1/( Y2���������������������������_2Xo/qT 2 ���������������������������������������������������������������������������������������������������������������������������������_4XoSro/qT 2 �����������������������������������������������������������������_5Xokn7/lY$2Y/qT 2 ���������������������������������������������� _3/3$��_2/'��_1$2�� _02p7�� _7Yq:�� 7 | _6YldY�� _5SlA�� _4S%o����_92%�� 8 | _8p H ��������_6Xo/"lY$2Y/qT 2 ����������������������������������������������������������������� _0ando�����������������������������������������������������������������_8XoS%"Y$2Y/qT 2 �����������������������������������������������������������������_9Xokn7SlAY$2Y/qT 2 �����Bnng�ng�å�p�æ�n�ø�r�a�CC#�#�B�a# �aq�ar�i m�t n/�p n0�k nQ�b�G�c�1�eY�i�d�H�e�CCl�l�B�el �f�S�fS �g�gic �d�ge �h�k�hk �i�CC%�%�B�i% �j�9�j9 �k�1�k1 �l�7�li�m�A�mA �n�2�n2 �a2#�aa2# �gD�ngD �o�CC'�'�B�o' �p�0�p0 �q�h�qhh�r�"�l"i�rj �s�Y�sY �t�/�t/ �i N�lt�iu�s�u�CC(�(�B�u( �v�T�vT �w�:�x�1Y�y�CC%�B%��9�z�X��$H'7#"�� -------------------------------------------------------------------------------- /src/sakit/espeak-data/kn_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/kn_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/ko_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/ko_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/ku_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/ku_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/la_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/la_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/lfn_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/lfn_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/lt_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/lt_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/lv_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/lv_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/mbrola_ph/af1_phtrans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/mbrola_ph/af1_phtrans -------------------------------------------------------------------------------- /src/sakit/espeak-data/mbrola_ph/ca1_phtrans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/mbrola_ph/ca1_phtrans -------------------------------------------------------------------------------- /src/sakit/espeak-data/mbrola_ph/cr1_phtrans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/mbrola_ph/cr1_phtrans -------------------------------------------------------------------------------- /src/sakit/espeak-data/mbrola_ph/cs_phtrans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/mbrola_ph/cs_phtrans -------------------------------------------------------------------------------- /src/sakit/espeak-data/mbrola_ph/de2_phtrans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/mbrola_ph/de2_phtrans -------------------------------------------------------------------------------- /src/sakit/espeak-data/mbrola_ph/de4_phtrans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/mbrola_ph/de4_phtrans -------------------------------------------------------------------------------- /src/sakit/espeak-data/mbrola_ph/de6_phtrans: -------------------------------------------------------------------------------- 1 | ���w���i:��v��������������l/2�����l�������(�������l/������l���������������r/������6���������������r-������R���������������l-������l���������������w/������w���������������j/������j���������������;�����������������������g-����������������������@-����������������������*�������R���������������E2������E���������������y�������Y���������������W�������9���������������A:������a:��������������A�������a:��������������Y:������2:��������������OI������OY��������������3�������6���������������_|�����?���������������_!�����?���������������pF������pf��������������r�������R���������������V#������R���������������UR������U���R���<�������eI������E���j���<�������oU������@���w���<�������W~������E~��������������A~������a~��������������O~������o~��������������@L������@���l���(�������@2������@���������������@5������@���������������a#������@���������������I2������I���������������i�������i:��������������aa������a���������������V�������a:��������������0�������a:��������������3:������@���������������i@������i:��@���<�������i@3�����i:��@���<�������e@������E���@���<�������o@������o:��6���F�������O@������o:��6���F�������O:������O���������������A@������a:��6���F�������U@������U���@���<�������aI@�����aI��@���F�������aU@�����aU��@���F�������dZ������tS������������������������2@O��������@`@ -------------------------------------------------------------------------------- /src/sakit/espeak-data/mbrola_ph/ee1_phtrans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/mbrola_ph/ee1_phtrans -------------------------------------------------------------------------------- /src/sakit/espeak-data/mbrola_ph/en1_phtrans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/mbrola_ph/en1_phtrans -------------------------------------------------------------------------------- /src/sakit/espeak-data/mbrola_ph/es_phtrans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/mbrola_ph/es_phtrans -------------------------------------------------------------------------------- /src/sakit/espeak-data/mbrola_ph/fr1_phtrans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/mbrola_ph/fr1_phtrans -------------------------------------------------------------------------------- /src/sakit/espeak-data/mbrola_ph/gr2_phtrans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/mbrola_ph/gr2_phtrans -------------------------------------------------------------------------------- /src/sakit/espeak-data/mbrola_ph/grc-de6_phtrans: -------------------------------------------------------------------------------- 1 | ���i�������i:��������������e�������e:��������������E�������E:��������������a�������a:��������������a/������a:��������������O�������O���������������o�������o:��������������y�������Y���������������aI������a:��j���<�������EI������E:��j���F�������OI������O���j���F�������oI������o:��j���<�������yI������Y���j���<�������aU������aU��������������eU������e:��w���<�������EU������E:��w���F�������OU������O���w���F�������l/������l���������������f�������pf������������������z���R�������������� -------------------------------------------------------------------------------- /src/sakit/espeak-data/mbrola_ph/hn1_phtrans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/mbrola_ph/hn1_phtrans -------------------------------------------------------------------------------- /src/sakit/espeak-data/mbrola_ph/hu1_phtrans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/mbrola_ph/hu1_phtrans -------------------------------------------------------------------------------- /src/sakit/espeak-data/mbrola_ph/ic1_phtrans: -------------------------------------------------------------------------------- 1 | ���r/��r#������������������l/2�����l���������������l/������l���������������r/������r���������������r-������r���������������l-������l���������������w/������u���������������j/������j���������������;�����������������������g-����������������������@-����������������������**����������������������*�����������������������y�������Y���������������y:������Y:��������������W�������9���������������W:������9:��������������eI������ei��������������eI:�����ei:�������������aI������ai��������������aI:�����ai:�������������oU������ou��������������oU:�����ou:�������������aU������au��������������aU:�����au:�������������Yy������9y��������������Yy:�����9y:�������������OI������Oi��������������yi������Yi��������������_|����������������������R���_���r0��������������R�������r���������������R2������r���������������Q�������G���������������m#������m0��������������n#������n0��������������N#������N0��������������n^������J���������������n^#�����J0��������������l#������l0��������������r#������r0��������������J�������J-��������������s2����������������������h���l#��l0�������������h���n#��n0�������������h���r#��r0���������������������������>@V������� -------------------------------------------------------------------------------- /src/sakit/espeak-data/mbrola_ph/id1_phtrans: -------------------------------------------------------------------------------- 1 | ���e���E���e���_����������s���s���s���_����������?���k���k���_����������t���t���t���_����������m���m���m���_����������n���n���n���_����������p���p���p���_����������l/��l���l���_����������l/2�����l���������������l/������l���������������r/������r���������������r-������r���������������l-������l���������������w/������w���������������j/������j���������������a/������V���������������;���i������������������;�����������������������-�����������������������g-����������������������@-����������������������*�����������������������R2������r���������������R�������r���������������a�������V���������������E�������e���������������i�������I���������������o�������Q���������������O�������Q���������������u�������U���������������n^������nY��������������?�������k���������������S�������s���j���<�������v�������f���������������R�������r���������������x�������h���������������������������������>@L��� -------------------------------------------------------------------------------- /src/sakit/espeak-data/mbrola_ph/in1_phtrans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/mbrola_ph/in1_phtrans -------------------------------------------------------------------------------- /src/sakit/espeak-data/mbrola_ph/ir1_phtrans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/mbrola_ph/ir1_phtrans -------------------------------------------------------------------------------- /src/sakit/espeak-data/mbrola_ph/it3_phtrans: -------------------------------------------------------------------------------- 1 | ���r/������r���������������w/������w���������������l/������l���������������j/������i���������������;�����������������������@-����������������������*�������r���������������R�������r���������������_|������_���������������p���:���p���p���2�������b���:���b���b���2�������t���:���t���t���2�������d���:���d���d���2�������k���:���k���k���2�������g���:���g���g���2�������d���z���dz�������������n^������J���������������l^������L���������������N�������ng��������������n���f���nf��������������w2������w���������������aI������a1��i���<�������aU������a1��u���<�������oI������o1��i���<�������i�������i1��������������I�������i���������������e�������e1��������������e/������e���������������E�������E1��������������a�������a1��������������a/������a���������������O�������O1��������������o�������o1��������������o/������o���������������u�������u1��������������U�������u���������������������������������>@L��� -------------------------------------------------------------------------------- /src/sakit/espeak-data/mbrola_ph/la1_phtrans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/mbrola_ph/la1_phtrans -------------------------------------------------------------------------------- /src/sakit/espeak-data/mbrola_ph/lt1_phtrans: -------------------------------------------------------------------------------- 1 | ���;;������'���������������@-����������������������a:������aa��������������i:������ii��������������e�������E���������������e:������ea��������������o:������oo��������������u:������uu��������������a���:���aa��������������i���:���ii��������������e���:���ea��������������o���:���oo��������������u���:���uu��������������ai������a���i���2�������au������a���u���2�������ei������e���i���2�������eu������e���u���2�������oi������o���i���2�������ui������u���i���2�������b;������b'��������������c;������c'��������������x;������x'��������������tS;�����tS'�������������d;������d'��������������dz;�����dz'�������������dZ;�����dZ'�������������;ei�����ei��������������;ie�����ie��������������f;������f'��������������h;������h'��������������j;������j'��������������k;������k'��������������l;������l'��������������m;������m'��������������n;������n'��������������p;������p'��������������r;������r'��������������s;������s'��������������S;������S'��������������t;������t'��������������v;������v'��������������z;������z'��������������Z;������Z'������������������������>@����������� -------------------------------------------------------------------------------- /src/sakit/espeak-data/mbrola_ph/lt2_phtrans: -------------------------------------------------------------------------------- 1 | ���;;������'���������������@-����������������������a:������aa��������������i:������ii��������������e�������E���������������e:������ea��������������o:������oo��������������u:������uu��������������a���:���aa��������������i���:���ii��������������e���:���ea��������������o���:���oo��������������u���:���uu��������������ai������a���i���2�������au������a���u���2�������ei������e���i���2�������eu������e���u���2�������oi������o���i���2�������ui������u���i���2�������b;������b'��������������c;������c'��������������x;������x'��������������tS;�����tS'�������������d;������d'��������������dz;�����dz'�������������dZ;�����dZ'�������������;ei�����ei��������������;ie�����ie��������������f;������f'��������������h;������h'��������������j;������j'��������������k;������k'��������������l;������l'��������������m;������m'��������������n;������n'��������������p;������p'��������������r;������r'��������������s;������s'��������������S;������S'��������������t;������t'��������������v;������v'��������������z;������z'��������������Z;������Z'������������������������>@����������� -------------------------------------------------------------------------------- /src/sakit/espeak-data/mbrola_ph/mx1_phtrans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/mbrola_ph/mx1_phtrans -------------------------------------------------------------------------------- /src/sakit/espeak-data/mbrola_ph/mx2_phtrans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/mbrola_ph/mx2_phtrans -------------------------------------------------------------------------------- /src/sakit/espeak-data/mbrola_ph/nl_phtrans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/mbrola_ph/nl_phtrans -------------------------------------------------------------------------------- /src/sakit/espeak-data/mbrola_ph/pl1_phtrans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/mbrola_ph/pl1_phtrans -------------------------------------------------------------------------------- /src/sakit/espeak-data/mbrola_ph/pt1_phtrans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/mbrola_ph/pt1_phtrans -------------------------------------------------------------------------------- /src/sakit/espeak-data/mbrola_ph/pt_phtrans: -------------------------------------------------------------------------------- 1 | ���l/������w���������������l/2�w���l���������������l/2�j���l���������������l/2�����w���������������r/������r���������������r-������r���������������w/������w���������������j/������j���������������;�����������������������g-����������������������@-����������������������*���j���r��������������*������r���������������*�������r���������������:�����������������������tS������t���������������dZ������d���������������l^������L���������������n^������J���������������N�������n���������������x�������R���������������s#������S���������������r������r��������������r�������r���������������R�������r���������������a/������a���������������A�������a���������������&�������6���������������&/������6���������������&~��N���6~���������� ���&~������6~��������������E�������ee��������������eI��m���6~j~�������� ���eI��N���6~j~�������� ���i/������i���������������i~��N���i~���������� ���i~������i~��������������o~��j/��o~��i���<��� ���o~��N���o~���������� ���o~������o~��������������O�������oo��������������u~��j/��u~��i���<��� ���u~��N���u~���������� ���u~������u~��������������U�������u���������������y�������@���������������I�������@���������������aI������a���j���<�������eI������e���j���<�������EI������E���j���<�������oI������o���j���<�������OI������O���j���<�������uI������u���j���<�������aU������a���w���7�������&U~�����@���������������eU������e���w���7�������EU������ee��w���7�������iU������i���w���7�������@�������@���������������T�������t���������������D�������z���������������0�������o���������������V�������a���������������I2������@���������������A:������a���������������A@������a���r���<�������o:������o���������������O:������o���������������O@������o���r���<�������o@������o���r���<�������i:������i���������������i@������i���a���<�������i@3�����i���r���<�������u:������u���������������U@������u���r���<�������3�������e���r���<�������3:������e���r���<�������@L������e���l���(�������a2������a���������������aa������a���������������e@������e���r�����������oU������o���������������OI������o���i���<�������aI@�����a���e���<�������aU@�����a���������������t2������t�������������������������������������� -------------------------------------------------------------------------------- /src/sakit/espeak-data/mbrola_ph/ptbr4_phtrans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/mbrola_ph/ptbr4_phtrans -------------------------------------------------------------------------------- /src/sakit/espeak-data/mbrola_ph/ptbr_phtrans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/mbrola_ph/ptbr_phtrans -------------------------------------------------------------------------------- /src/sakit/espeak-data/mbrola_ph/ro1_phtrans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/mbrola_ph/ro1_phtrans -------------------------------------------------------------------------------- /src/sakit/espeak-data/mbrola_ph/sv2_phtrans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/mbrola_ph/sv2_phtrans -------------------------------------------------------------------------------- /src/sakit/espeak-data/mbrola_ph/sv_phtrans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/mbrola_ph/sv_phtrans -------------------------------------------------------------------------------- /src/sakit/espeak-data/mbrola_ph/tr1_phtrans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/mbrola_ph/tr1_phtrans -------------------------------------------------------------------------------- /src/sakit/espeak-data/mbrola_ph/us3_phtrans: -------------------------------------------------------------------------------- 1 | ���a#������@���������������@2������@���������������@5������@���������������@/������@���������������3�������r=��������������I2������I���������������a�������{���������������aa������{���������������@L������l=��������������l/2�����l���������������r/������r���������������r-������r���������������w/������w���������������;�����������������������g-����������������������x�������k���������������@-����������������������aI@�����AI��@���<�������aI3�����AI��r=��<�������aU@�����aU��r���K�������*�������4���������������t#��n���t��������������t#������4���������������3:������r=��������������IR������r=��������������VR������r=��������������i:������i���������������A:������A���������������u:������u���������������a�������{���������������eI������EI��������������aI������AI��������������oU������@U��������������O:������O���������������I#������@���������������0�������A���������������O�������O���������������O@������O���r���2�������o@������O���r���2�������A@������A���r���2�������e@������E���r���2�������U@������U���r���2�������i@������I���@���2�������i@3�����i���r���<�������t2������t�������������������L�����������������*@ -------------------------------------------------------------------------------- /src/sakit/espeak-data/mbrola_ph/us_phtrans: -------------------------------------------------------------------------------- 1 | ���a#������@���������������@2������@���������������@5������@���������������@/������@���������������3�������r=��������������I2������I���������������a�������{���������������aa������{���������������@L������l���������������l/2�����l���������������r/������r���������������r-������r���������������w/������w���������������;�����������������������g-����������������������x�������k_h�������������@-����������������������aI@�����AI��@���<�������aI3�����AI��r=��<�������aU@�����aU��r���K�������*�������4���������������t#������4���������������3:������r=��������������IR������r=��������������VR������r=��������������i:������i���������������A:������A���������������u:������u���������������a�������{���������������eI������EI��������������aI������AI��������������oU������@U��������������O:������O���������������0�������A���������������O�������O���������������O@������O���r���2�������o@������O���r���2�������A@������A���r���2�������e@������E���r���2�������U@������U���r���2�������i@������I���@���2�������i@3�����i���r���<�������I#������@���������������p������p_h������������t������t_h������������k������k_h������������t2������t�����������������������������*@������� -------------------------------------------------------------------------------- /src/sakit/espeak-data/mbrola_ph/vz_phtrans: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/mbrola_ph/vz_phtrans -------------------------------------------------------------------------------- /src/sakit/espeak-data/mk_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/mk_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/ml_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/ml_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/ms_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/ms_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/nci_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/nci_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/ne_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/ne_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/nl_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/nl_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/no_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/no_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/or_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/or_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/pa_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/pa_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/pap_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/pap_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/phondata: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/phondata -------------------------------------------------------------------------------- /src/sakit/espeak-data/phonindex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/phonindex -------------------------------------------------------------------------------- /src/sakit/espeak-data/phontab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/phontab -------------------------------------------------------------------------------- /src/sakit/espeak-data/pl_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/pl_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/pt_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/pt_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/ro_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/ro_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/ru_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/ru_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/si_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/si_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/sk_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/sk_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/sl_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/sl_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/sq_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/sq_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/sv_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/sv_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/sw_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/sw_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/ta_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/ta_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/te_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/te_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/tr_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/tr_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/ur_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/ur_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/vi_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/vi_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/!v/croak: -------------------------------------------------------------------------------- 1 | language variant 2 | name croak 3 | gender male 70 4 | 5 | pitch 85 117 6 | flutter 20 7 | 8 | formant 0 100 80 110 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/!v/f1: -------------------------------------------------------------------------------- 1 | language variant 2 | name female1 3 | gender female 70 4 | 5 | pitch 140 200 6 | flutter 8 7 | roughness 4 8 | formant 0 115 80 150 9 | formant 1 120 80 180 10 | formant 2 100 70 150 150 11 | formant 3 115 70 150 12 | formant 4 110 80 150 13 | formant 5 110 90 150 14 | formant 6 105 80 150 15 | formant 7 110 70 150 16 | formant 8 110 70 150 17 | 18 | stressAdd -10 -10 -20 -20 0 0 40 60 19 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/!v/f2: -------------------------------------------------------------------------------- 1 | language variant 2 | name female2 3 | gender female 4 | 5 | pitch 142 220 6 | roughness 3 7 | 8 | formant 0 105 80 150 9 | formant 1 110 80 160 10 | formant 2 110 70 150 11 | formant 3 110 70 150 12 | formant 4 115 80 150 13 | formant 5 115 80 150 14 | formant 6 110 70 150 15 | formant 7 110 70 150 16 | formant 8 110 70 150 17 | 18 | stressAdd 0 0 -10 -10 0 0 10 40 19 | breath 0 2 3 3 3 3 3 2 20 | echo 140 10 21 | consonants 125 125 22 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/!v/f3: -------------------------------------------------------------------------------- 1 | language variant 2 | name female3 3 | gender female 4 | 5 | pitch 140 240 6 | formant 0 105 80 150 7 | formant 1 120 75 150 -50 8 | formant 2 135 70 150 -250 9 | formant 3 125 80 150 10 | formant 4 125 80 150 11 | formant 5 125 80 150 12 | formant 6 120 70 150 13 | formant 7 110 70 150 14 | formant 8 110 70 150 15 | 16 | stressAmp 18 18 20 20 20 20 20 20 17 | //breath 0 2 4 4 4 4 4 4 18 | breath 0 2 3 3 3 3 3 2 19 | echo 120 10 20 | roughness 4 21 | 22 | 23 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/!v/f4: -------------------------------------------------------------------------------- 1 | language variant 2 | name female4 3 | gender female 4 | 5 | echo 130 15 6 | pitch 142 200 7 | formant 0 120 80 150 8 | formant 1 115 80 160 -20 9 | formant 2 130 75 150 -200 10 | formant 3 123 75 150 11 | formant 4 125 80 150 12 | formant 5 125 80 150 13 | formant 6 110 80 150 14 | formant 7 110 75 150 15 | formant 8 110 75 150 16 | 17 | stressAdd -20 -20 -20 -20 0 0 20 120 18 | stressAmp 18 16 20 20 20 20 20 20 19 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/!v/f5: -------------------------------------------------------------------------------- 1 | language variant 2 | name female5 3 | gender female 4 | 5 | pitch 160 228 6 | roughness 0 7 | 8 | formant 0 105 80 150 9 | formant 1 110 80 160 10 | formant 2 110 70 150 11 | formant 3 110 70 150 12 | formant 4 115 80 200 13 | formant 5 115 80 100 14 | formant 6 110 70 150 15 | formant 7 110 70 100 16 | formant 8 110 70 150 17 | 18 | stressAdd 0 0 -10 -10 0 0 10 40 19 | breath 0 4 6 6 6 6 0 10 20 | echo 140 10 21 | voicing 75 22 | consonants 150 150 23 | breathw 150 150 200 200 400 400 24 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/!v/klatt: -------------------------------------------------------------------------------- 1 | language variant 2 | name klatt 3 | klatt 1 4 | 5 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/!v/klatt2: -------------------------------------------------------------------------------- 1 | language variant 2 | name klatt2 3 | klatt 2 4 | 5 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/!v/klatt3: -------------------------------------------------------------------------------- 1 | language variant 2 | name klatt3 3 | klatt 3 4 | 5 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/!v/klatt4: -------------------------------------------------------------------------------- 1 | language variant 2 | name klatt4 3 | klatt 4 4 | 5 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/!v/m1: -------------------------------------------------------------------------------- 1 | language variant 2 | name male1 3 | gender male 70 4 | 5 | pitch 75 109 6 | flutter 5 7 | roughness 4 8 | consonants 80 100 9 | 10 | formant 0 98 100 100 11 | formant 1 97 100 100 12 | formant 2 97 95 100 13 | formant 3 97 95 100 14 | formant 4 97 85 100 15 | formant 5 105 80 100 16 | formant 6 95 80 100 17 | formant 7 100 100 100 18 | formant 8 100 100 100 19 | 20 | //stressAdd -10 -10 -20 -20 0 0 40 70 21 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/!v/m2: -------------------------------------------------------------------------------- 1 | language variant 2 | name male2 3 | gender male 4 | 5 | pitch 88 115 6 | echo 130 15 7 | formant 0 100 80 120 8 | formant 1 90 85 120 9 | formant 2 110 85 120 10 | formant 3 105 90 120 11 | formant 4 100 90 120 12 | formant 5 100 90 120 13 | formant 6 100 90 120 14 | formant 7 100 90 120 15 | formant 8 100 90 120 16 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/!v/m3: -------------------------------------------------------------------------------- 1 | language variant 2 | name male3 3 | gender male 4 | 5 | pitch 80 122 6 | formant 0 100 100 100 7 | formant 1 96 97 100 8 | formant 2 96 97 100 9 | formant 3 96 103 100 10 | formant 4 95 103 100 11 | formant 5 95 103 100 12 | formant 6 100 100 100 13 | formant 7 100 100 100 14 | formant 8 100 100 100 15 | 16 | consonants 100 17 | stressAdd 10 10 0 0 0 0 -30 -30 18 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/!v/m4: -------------------------------------------------------------------------------- 1 | language variant 2 | name male4 3 | gender male 4 | 5 | pitch 70 110 6 | 7 | formant 0 103 100 100 8 | formant 1 103 100 100 9 | formant 2 103 100 100 10 | formant 3 103 100 100 11 | formant 4 106 100 100 12 | formant 5 106 100 100 13 | formant 6 106 100 100 14 | formant 7 103 100 100 15 | formant 8 103 100 100 16 | 17 | stressAdd -10 -10 -30 -30 0 0 60 90 18 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/!v/m5: -------------------------------------------------------------------------------- 1 | language variant 2 | name male5 3 | gender male 4 | 5 | formant 0 100 85 130 6 | formant 1 90 85 130 40 7 | formant 2 80 85 130 310 8 | formant 3 105 85 130 9 | formant 4 105 85 130 10 | formant 5 105 85 130 11 | formant 6 105 85 150 12 | formant 7 105 85 150 13 | formant 8 105 85 150 14 | 15 | intonation 2 16 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/!v/m6: -------------------------------------------------------------------------------- 1 | language variant 2 | name male6 3 | gender male 4 | 5 | pitch 82 117 6 | 7 | formant 0 100 90 120 8 | formant 1 100 90 140 9 | formant 2 100 70 140 10 | formant 3 100 75 140 11 | formant 4 100 80 140 12 | formant 5 100 80 140 13 | 14 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/!v/m7: -------------------------------------------------------------------------------- 1 | language variant 2 | name male7 3 | gender male 4 | 5 | pitch 75 125 6 | 7 | formant 0 100 125 100 8 | formant 1 100 90 80 9 | formant 2 100 70 90 10 | formant 3 100 60 90 11 | formant 4 100 60 90 12 | formant 5 75 50 90 13 | formant 6 90 50 100 14 | formant 7 100 50 100 15 | formant 8 100 50 100 16 | voicing 155 17 | 18 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/!v/whisper: -------------------------------------------------------------------------------- 1 | language variant 2 | name whisper 3 | gender male 4 | 5 | pitch 82 117 6 | flutter 20 7 | 8 | formant 0 100 0 100 9 | formant 1 100 80 100 10 | 11 | voicing 17 12 | breath 75 75 50 40 15 10 13 | breathw 150 150 200 200 400 400 14 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/!v/whisperf: -------------------------------------------------------------------------------- 1 | language variant 2 | name female_whisper 3 | gender female 4 | 5 | pitch 160 220 6 | roughness 3 7 | 8 | formant 0 105 0 150 9 | formant 1 110 40 160 10 | formant 2 110 70 150 11 | formant 3 110 70 150 12 | formant 4 115 80 150 13 | formant 5 115 80 150 14 | formant 6 110 70 150 15 | formant 7 110 70 150 16 | formant 8 110 70 150 17 | 18 | stressAdd 0 0 -10 -10 0 0 10 40 19 | 20 | // whisper 21 | voicing 20 22 | breath 75 75 50 40 15 10 23 | breathw 150 150 200 200 400 400 24 | 25 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/asia/fa: -------------------------------------------------------------------------------- 1 | name persian 2 | language fa 3 | 4 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/asia/fa-pin: -------------------------------------------------------------------------------- 1 | name persian-pinglish 2 | // Sometimes, Farsi speakers write Farsi words using English characters, particularly in Chat and SMS (texte messages).), called Pinglish 3 | language fa-pin 4 | dictrules 1 5 | phonemes fa 6 | 7 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/asia/hi: -------------------------------------------------------------------------------- 1 | name hindi 2 | language hi 3 | gender male 4 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/asia/hy: -------------------------------------------------------------------------------- 1 | name armenian 2 | language hy 3 | gender male 4 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/asia/hy-west: -------------------------------------------------------------------------------- 1 | name armenian-west 2 | language hy-west 3 | language hy 8 4 | gender male 5 | 6 | dictrules 1 7 | 8 | // change consonants for West Armenian pronunciation 9 | replace 00 b p# 10 | replace 00 d t# 11 | replace 00 dz ts# 12 | replace 00 dZ tS# 13 | replace 00 g k# 14 | 15 | replace 00 p b 16 | replace 00 t d 17 | replace 00 ts dz 18 | replace 00 tS dZ 19 | replace 00 k g 20 | 21 | replace 00 R2 R // ?? 22 | 23 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/asia/id: -------------------------------------------------------------------------------- 1 | name indonesian 2 | language id 3 | gender male 4 | 5 | stressLength 160 200 180 180 0 0 220 240 6 | stressAmp 16 18 18 18 0 0 22 21 7 | 8 | consonants 80 80 9 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/asia/ka: -------------------------------------------------------------------------------- 1 | name georgian 2 | language ka 3 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/asia/kn: -------------------------------------------------------------------------------- 1 | name kannada 2 | language kn 3 | 4 | intonation 2 5 | //consonants 80 6 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/asia/ku: -------------------------------------------------------------------------------- 1 | name kurdish 2 | language ku 3 | gender male 4 | 5 | //words 1 48 6 | 7 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/asia/ml: -------------------------------------------------------------------------------- 1 | name malayalam 2 | language ml 3 | gender male 4 | 5 | intonation 2 6 | //consonants 80 7 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/asia/ms: -------------------------------------------------------------------------------- 1 | // Last updated: 14 October 2010, Jason Ong (jason@portalgroove.com) 2 | name malay 3 | language ms 4 | gender male 5 | phonemes id 6 | 7 | translator id 8 | 9 | stressLength 160 200 180 180 0 0 220 240 10 | stressAmp 16 18 18 18 0 0 22 21 11 | intonation 3 // Less intonation, and comma does not raise the pitch. 12 | 13 | // Nuance - Peninsula Malaysia 14 | // replace 3 a @ // change 'saya' to 'saye' 15 | // (only the last phoneme of a word, only in unstressed syllables) 16 | 17 | consonants 80 80 18 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/asia/ne: -------------------------------------------------------------------------------- 1 | name nepali 2 | language ne 3 | gender male 4 | 5 | dictrules 1 6 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/asia/pa: -------------------------------------------------------------------------------- 1 | name punjabi 2 | language pa 3 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/asia/ta: -------------------------------------------------------------------------------- 1 | name tamil 2 | language ta 3 | gender male 4 | 5 | intonation 2 6 | consonants 80 7 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/asia/tr: -------------------------------------------------------------------------------- 1 | name turkish 2 | language tr 3 | gender male 4 | 5 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/asia/vi: -------------------------------------------------------------------------------- 1 | name vietnam 2 | language vi 3 | gender male 4 | 5 | words 1 6 | pitch 80 118 7 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/asia/vi-hue: -------------------------------------------------------------------------------- 1 | name vietnam_hue 2 | language vi-hue 3 | phonemes vi-hue 4 | dictrules 1 5 | gender male 6 | 7 | words 1 8 | pitch 82 118 //80 118 9 | //breath 75 75 60 40 15 10 10 | //breathw 150 150 200 200 400 400 11 | voicing 90 //18 12 | flutter 20 13 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/asia/vi-sgn: -------------------------------------------------------------------------------- 1 | name vietnam_sgn 2 | language vi-sgn 3 | phonemes vi-sgn 4 | dictrules 2 5 | gender male 6 | 7 | words 1 8 | pitch 82 118 //80 118 9 | //breath 75 75 60 40 15 10 10 | //breathw 150 150 200 200 400 400 11 | voicing 90 //18 12 | flutter 20 13 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/asia/zh: -------------------------------------------------------------------------------- 1 | name Mandarin 2 | language zh 3 | gender male 4 | words 1 5 | pitch 80 118 6 | 7 | dict_min 100000 8 | 9 | //for some dialects 10 | 11 | //[en]: replace ng with n 12 | //[zh]: �޺�������ng���n 13 | //replace 0 N n 14 | 15 | //[en]: replace rfx consonants 16 | //[zh]: �޾�������r���l��z��er���e 17 | //replace 0 ts.h tsh 18 | //replace 0 ts. ts 19 | //replace 0 s. s 20 | //replace 0 i. i[ 21 | //replace 0 z. l 22 | //replace 0 z. z 23 | //replace 0 @r @ 24 | 25 | //[en]: replace beginning n or l 26 | //[zh]: ����nl��n���l��l���n 27 | //replace 2 n l 28 | //replace 2 l n 29 | 30 | //[en]: replace beginning w with v 31 | //[zh]: w���v 32 | //replace 0 w v -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/asia/zh-yue: -------------------------------------------------------------------------------- 1 | name cantonese 2 | language zh-yue 3 | language yue 4 | language zhy 5 | 6 | translator zhy 7 | phonemes zhy 8 | dictionary zhy 9 | gender male 10 | 11 | // interpret English letters as 1=English words, 2=jyutping 12 | dictrules 1 13 | 14 | words 1 15 | dict_min 10000 16 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/de: -------------------------------------------------------------------------------- 1 | name german 2 | language de 3 | gender male 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/default: -------------------------------------------------------------------------------- 1 | name default 2 | language en 3 | gender male 4 | 5 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/en: -------------------------------------------------------------------------------- 1 | name english 2 | language en-gb 2 3 | language en-uk 2 4 | language en 2 5 | gender male 6 | 7 | //pitch 80 118 8 | 9 | tunes s1 c1 q1 e1 10 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/en-us: -------------------------------------------------------------------------------- 1 | // moving towards US English 2 | name english-us 3 | language en-us 2 4 | language en-r 5 | language en 3 6 | gender male 7 | 8 | phonemes en-us 9 | dictrules 3 6 10 | option reduce_t 1 11 | 12 | stressLength 140 120 190 170 0 0 255 300 13 | stressAmp 17 16 19 19 19 19 21 19 14 | 15 | replace 03 I i 16 | replace 03 I2 i 17 | 18 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/es-la: -------------------------------------------------------------------------------- 1 | name spanish-latin-am 2 | language es-la 3 | language es-mx 6 4 | language es 6 5 | gender male 6 | 7 | phonemes es-la 8 | dictrules 2 9 | intonation 2 10 | stressLength 170 200 230 180 0 0 250 280 11 | 12 | replace 00 T s 13 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/europe/an: -------------------------------------------------------------------------------- 1 | name aragonese 2 | language an 3 | gender male 4 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/europe/bg: -------------------------------------------------------------------------------- 1 | name bulgarian 2 | language bg 3 | 4 | stressAmp 13 12 17 17 20 22 22 21 5 | stressLength 180 170 200 200 200 200 210 220 -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/europe/bs: -------------------------------------------------------------------------------- 1 | name bosnian 2 | language bs 3 | phonemes hr 4 | dictionary hbs 5 | gender male 6 | 7 | pitch 81 120 8 | formant 0 100 100 100 9 | formant 1 97 97 100 10 | formant 2 97 97 100 11 | formant 3 97 102 100 12 | formant 4 97 102 100 13 | formant 5 97 102 100 14 | 15 | stressAdd 10 10 0 0 0 0 -30 -30 16 | dictrules 3 4 17 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/europe/ca: -------------------------------------------------------------------------------- 1 | name catalan 2 | language ca 3 | gender male 4 | 5 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/europe/cs: -------------------------------------------------------------------------------- 1 | name czech 2 | language cs 3 | gender male 4 | 5 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/europe/cy: -------------------------------------------------------------------------------- 1 | language cy 2 | name welsh 3 | gender male 4 | 5 | intonation 4 6 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/europe/da: -------------------------------------------------------------------------------- 1 | name danish 2 | language da 3 | gender male 4 | 5 | tunes s2 c2 q2 e2 6 | 7 | 8 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/europe/el: -------------------------------------------------------------------------------- 1 | name greek 2 | language el 3 | gender male 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/europe/es: -------------------------------------------------------------------------------- 1 | name spanish 2 | language es 3 | gender male 4 | 5 | dictrules 1 6 | //intonation 3 7 | 8 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/europe/et: -------------------------------------------------------------------------------- 1 | name estonian 2 | language et 3 | 4 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/europe/fi: -------------------------------------------------------------------------------- 1 | name finnish 2 | language fi 3 | gender male 4 | 5 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/europe/fr-be: -------------------------------------------------------------------------------- 1 | name french-Belgium 2 | language fr-be 3 | language fr 8 4 | gender male 5 | 6 | dictrules 2 7 | tunes s3 c3 q3 e3 8 | 9 | 10 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/europe/ga: -------------------------------------------------------------------------------- 1 | name irish-gaeilge 2 | language ga 3 | 4 | dictrules 1 // fix for eclipsis 5 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/europe/hr: -------------------------------------------------------------------------------- 1 | name croatian 2 | language hr 3 | language hbs 4 | gender male 5 | 6 | dictionary hbs 7 | 8 | // attributes towards !variant3 9 | pitch 81 120 10 | formant 0 100 100 100 11 | formant 1 97 97 100 12 | formant 2 97 97 100 13 | formant 3 97 102 100 14 | formant 4 97 102 100 15 | formant 5 97 102 100 16 | 17 | stressAdd 10 10 0 0 0 0 -30 -30 18 | dictrules 1 19 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/europe/hu: -------------------------------------------------------------------------------- 1 | name hungarian 2 | language hu 3 | gender male 4 | option bracket 0 0 5 | pitch 81 117 6 | 7 | 8 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/europe/is: -------------------------------------------------------------------------------- 1 | name icelandic 2 | language is 3 | gender male 4 | 5 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/europe/it: -------------------------------------------------------------------------------- 1 | 2 | name italian 3 | language it 4 | gender male 5 | 6 | tunes s4 c4 q4 e4 7 | 8 | replace 03 i I 9 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/europe/lt: -------------------------------------------------------------------------------- 1 | 2 | name lithuanian 3 | language lt 4 | gender male 5 | 6 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/europe/lv: -------------------------------------------------------------------------------- 1 | name latvian 2 | language lv 3 | gender male 4 | 5 | replace 03 o o: 6 | 7 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/europe/mk: -------------------------------------------------------------------------------- 1 | name macedonian 2 | language mk 3 | gender male 4 | 5 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/europe/nl: -------------------------------------------------------------------------------- 1 | language nl 2 | name dutch 3 | gender male 4 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/europe/no: -------------------------------------------------------------------------------- 1 | name norwegian 2 | language no 3 | language nb 4 | gender male 5 | 6 | intonation 4 7 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/europe/pl: -------------------------------------------------------------------------------- 1 | name polish 2 | language pl 3 | gender male 4 | 5 | intonation 2 6 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/europe/pt-pt: -------------------------------------------------------------------------------- 1 | name portugal 2 | language pt-pt 3 | language pt 6 4 | gender male 5 | phonemes pt-pt 6 | 7 | dictrules 1 8 | intonation 2 9 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/europe/ro: -------------------------------------------------------------------------------- 1 | name romanian 2 | language ro 3 | gender male 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/europe/ru: -------------------------------------------------------------------------------- 1 | name russian 2 | language ru 3 | gender male 4 | 5 | replace 03 a a# 6 | 7 | dict_min 20000 8 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/europe/sk: -------------------------------------------------------------------------------- 1 | name slovak 2 | language sk 3 | gender male 4 | 5 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/europe/sq: -------------------------------------------------------------------------------- 1 | name albanian 2 | language sq 3 | gender male 4 | 5 | // add this line to remove 'ë' at the end of words 6 | // replace 00 @/ NULL 7 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/europe/sr: -------------------------------------------------------------------------------- 1 | name serbian 2 | language sr 3 | gender male 4 | dictionary hbs 5 | 6 | // attributes towards !variant3 pitch 80 120 7 | formant 0 100 100 100 8 | formant 1 97 97 100 9 | formant 2 97 97 100 10 | formant 3 97 102 100 11 | formant 4 97 102 100 12 | formant 5 97 102 100 13 | 14 | stressAdd 10 10 0 0 0 0 -30 -30 15 | dictrules 2 4 16 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/europe/sv: -------------------------------------------------------------------------------- 1 | name swedish 2 | language sv 3 | gender male 4 | 5 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/fr: -------------------------------------------------------------------------------- 1 | name french 2 | language fr-fr 3 | language fr 4 | gender male 5 | 6 | dictrules 1 7 | tunes s3 c3 q3 e3 8 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-af1: -------------------------------------------------------------------------------- 1 | name afrikaans-mbrola-1 2 | language af 7 3 | gender male 4 | 5 | pitch 82 117 6 | mbrola af1 af1_phtrans 7 | 8 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-af1-en: -------------------------------------------------------------------------------- 1 | name en-afrikaans 2 | language en 11 3 | gender male 4 | 5 | pitch 82 117 6 | mbrola af1 af1_phtrans 7 | 8 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-br1: -------------------------------------------------------------------------------- 1 | language pt 7 2 | name brazil-mbrola-1 3 | gender male 4 | 5 | pitch 82 117 6 | voicing 80 7 | 8 | dictrules 2 3 4 9 | 10 | mbrola br1 ptbr_phtrans 11 | 12 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-br3: -------------------------------------------------------------------------------- 1 | language pt 7 2 | name brazil-mbrola-3 3 | gender male 4 | pitch 80 120 5 | 6 | dictrules 2 3 4 7 | voicing 120 8 | 9 | mbrola br3 ptbr_phtrans 10 | 11 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-br4: -------------------------------------------------------------------------------- 1 | language pt 7 2 | name brazil-mbrola-4 3 | gender female 4 | 5 | pitch 140 220 6 | voicing 80 7 | 8 | dictrules 2 3 4 9 | 10 | mbrola br4 ptbr4_phtrans 11 | 12 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-cr1: -------------------------------------------------------------------------------- 1 | name croatian-mbrola-1 2 | language hr 7 3 | gender male 4 | 5 | dictionary hbs 6 | dictrules 1 7 | 8 | voicing 150 9 | pitch 82 117 10 | mbrola cr1 cr1_phtrans 11 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-cz2: -------------------------------------------------------------------------------- 1 | name czech-mbrola-2 2 | language cs 7 3 | gender male 4 | 5 | pitch 82 117 6 | mbrola cz2 cs_phtrans 7 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-de2: -------------------------------------------------------------------------------- 1 | name german-mbrola-2 2 | language de 6 3 | gender male 4 | voicing 80 5 | 6 | mbrola de2 de2_phtrans 7 | 8 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-de3: -------------------------------------------------------------------------------- 1 | name german-mbrola-3 2 | language de 6 3 | gender female 4 | voicing 80 5 | pitch 140 220 6 | 7 | mbrola de3 de2_phtrans 8 | 9 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-de4: -------------------------------------------------------------------------------- 1 | name german-mbrola-4 2 | language de 6 3 | gender male 4 | 5 | voicing 130 6 | 7 | mbrola de4 de4_phtrans 8 | 9 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-de4-en: -------------------------------------------------------------------------------- 1 | name en-german 2 | language en 9 3 | gender male 4 | 5 | voicing 130 6 | 7 | mbrola de4 de4_phtrans 8 | 9 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-de5: -------------------------------------------------------------------------------- 1 | name german-mbrola-5 2 | language de 7 3 | gender female 4 | 5 | pitch 140 220 6 | mbrola de5 de6_phtrans 22050 7 | 8 | // avoid glottal stops. de5 assumes [?] between pause and vowel 9 | replace 00 _! _ 10 | replace 00 _| _ 11 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-de5-en: -------------------------------------------------------------------------------- 1 | name en-german-5 2 | language en 9 3 | gender female 4 | 5 | pitch 140 220 6 | mbrola de5 de6_phtrans 22050 7 | 8 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-de6: -------------------------------------------------------------------------------- 1 | name german-mbrola-6 2 | language de 6 3 | gender male 4 | 5 | mbrola de6 de6_phtrans 22050 6 | 7 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-de6-grc: -------------------------------------------------------------------------------- 1 | name german-mbrola-6 2 | language grc 6 3 | gender male 4 | 5 | mbrola de6 grc-de6_phtrans 22050 6 | 7 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-de7: -------------------------------------------------------------------------------- 1 | name german-mbrola-7 2 | language de 7 3 | gender female 4 | 5 | voicing 150 6 | pitch 140 220 7 | mbrola de7 de6_phtrans 22050 8 | 9 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-ee1: -------------------------------------------------------------------------------- 1 | name estonian-mbrola 2 | language et 3 | gender male 4 | 5 | pitch 75 125 6 | voicing 80 7 | mbrola ee1 ee1_phtrans 8 | 9 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-en1: -------------------------------------------------------------------------------- 1 | name english-mb-en1 2 | language en-uk 3 3 | language en 2 4 | gender male 5 | 6 | voicing 150 7 | pitch 82 117 8 | mbrola en1 en1_phtrans 9 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-es1: -------------------------------------------------------------------------------- 1 | language es 7 2 | name spanish-mbrola-1 3 | gender male 4 | pitch 82 117 5 | 6 | mbrola es1 es_phtrans 7 | voicing 120 8 | 9 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-es2: -------------------------------------------------------------------------------- 1 | language es 7 2 | name spanish-mbrola-2 3 | gender male 4 | pitch 82 117 5 | 6 | mbrola es2 es_phtrans 22050 7 | 8 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-fr1: -------------------------------------------------------------------------------- 1 | language fr 7 2 | name french-mbrola-1 3 | gender male 4 | 5 | dictrules 1 6 | stressLength 180 180 180 180 0 0 220 220 7 | pitch 82 117 8 | voicing 70 9 | 10 | mbrola fr1 fr1_phtrans 11 | 12 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-fr1-en: -------------------------------------------------------------------------------- 1 | name en-french 2 | language en 10 3 | gender male 4 | 5 | dictrules 1 6 | pitch 82 117 7 | voicing 70 8 | mbrola fr1 fr1_phtrans 9 | 10 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-fr4: -------------------------------------------------------------------------------- 1 | language fr 7 2 | name french-mbrola-4 3 | gender female 4 | 5 | dictrules 1 6 | pitch 140 220 7 | voicing 90 8 | mbrola fr1 fr1_phtrans 9 | 10 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-fr4-en: -------------------------------------------------------------------------------- 1 | language en 10 2 | name en-french 3 | gender female 4 | 5 | dictrules 1 6 | pitch 140 220 7 | voicing 90 8 | mbrola fr1 fr1_phtrans 9 | 10 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-gr2: -------------------------------------------------------------------------------- 1 | name greek-mbrola-1 2 | language el 7 3 | gender male 4 | 5 | pitch 82 117 6 | voicing 65 7 | mbrola gr2 gr2_phtrans 8 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-gr2-en: -------------------------------------------------------------------------------- 1 | name en-greek 2 | language en 9 3 | gender male 4 | 5 | pitch 82 117 6 | voicing 65 7 | mbrola gr2 gr2_phtrans 8 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-hu1: -------------------------------------------------------------------------------- 1 | name hungarian-mbrola-1 2 | language hu 7 3 | gender female 4 | 5 | pitch 140 220 6 | voicing 160 7 | mbrola hu1 hu1_phtrans 8 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-hu1-en: -------------------------------------------------------------------------------- 1 | name en-hungarian 2 | language en 10 3 | gender female 4 | 5 | pitch 140 220 6 | voicing 160 7 | mbrola hu1 hu1_phtrans 8 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-ic1: -------------------------------------------------------------------------------- 1 | name mbrola-icelandic 2 | language is 6 3 | gender male 4 | 5 | voicing 180 6 | mbrola ic1 ic1_phtrans 7 | 8 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-id1: -------------------------------------------------------------------------------- 1 | name indonesian-mbrola-1 2 | language id 7 3 | gender male 4 | 5 | pitch 82 117 6 | voicing 120 7 | mbrola id1 id1_phtrans 8 | 9 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-ir1: -------------------------------------------------------------------------------- 1 | name persian-mb-ir1 2 | language fa 3 | gender male 4 | phonemes fa 5 | mbrola ir1 ir1_phtrans 6 | 7 | // "speed 82" adjust default speed of "mb-ir1" with eSpeak "fa". 8 | speed 82 9 | // Please don't change this value. It's result of several tests. 10 | 11 | // "voicing 125" adjust output volume of "mb-ir1" with eSpeak "fa". 12 | voicing 125 13 | // Please don't change this value. It's result of several tests. 14 | 15 | // "pitch 82 118" adjust default pitch of "mb-ir1" like other male voices. 16 | pitch 82 118 17 | // Please don't change this value. The result male voice is good and natural. 18 | 19 | // If you want use Pinglish instead of English for reading, just delete // from start of next line. 20 | // dictrules 1 21 | // "dictrules 1" read English text as Pinglish (Persian text that written with English alphabets). 22 | 23 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-ir2: -------------------------------------------------------------------------------- 1 | name persian-mb-ir2 2 | language fa 3 | gender female 4 | phonemes fa 5 | mbrola ir2 ir1_phtrans 22050 6 | 7 | // "speed 78" adjust default speed of "mb-ir2" with eSpeak "fa". 8 | speed 78 9 | // Please don't change this value. It's result of several tests. 10 | 11 | // "voicing 150" adjust output volume of "mb-ir2" with eSpeak "fa". 12 | voicing 150 13 | // Please don't change this value. It's result of several tests. 14 | 15 | // "pitch 140 220" adjust default pitch of "mb-ir2" like other female voices. 16 | pitch 140 220 17 | // Please don't change this value. The result female voice is good and natural. 18 | 19 | // If you want use Pinglish instead of English for reading, just delete // from start of next line. 20 | // dictrules 1 21 | // "dictrules 1" read English text as Pinglish (Persian text that written with English alphabets). 22 | 23 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-it3: -------------------------------------------------------------------------------- 1 | name italian-mbrola-3 2 | language it 7 3 | gender male 4 | 5 | pitch 82 117 6 | voicing 65 7 | mbrola it3 it3_phtrans 8 | 9 | replace 03 i I // final unstressed "i" 10 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-it4: -------------------------------------------------------------------------------- 1 | name italian-mbrola-4 2 | language it 7 3 | gender female 4 | 5 | pitch 140 220 6 | voicing 60 7 | mbrola it4 it3_phtrans 8 | 9 | replace 03 i I // final unstressed "i" 10 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-la1: -------------------------------------------------------------------------------- 1 | name latin-mbrola-1 2 | language la 7 3 | gender male 4 | 5 | pitch 82 117 6 | mbrola la1 la1_phtrans 7 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-mx1: -------------------------------------------------------------------------------- 1 | language es-mx 7 2 | language es 8 3 | name mexican-mbrola-1 4 | gender male 5 | pitch 82 117 6 | 7 | mbrola mx1 mx1_phtrans 8 | 9 | replace 00 T s 10 | 11 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-mx2: -------------------------------------------------------------------------------- 1 | language es-mx 7 2 | language es 8 3 | name mexican-mbrola-2 4 | gender male 5 | pitch 82 117 6 | 7 | mbrola mx2 mx2_phtrans 8 | 9 | replace 00 T s 10 | 11 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-nl2: -------------------------------------------------------------------------------- 1 | language nl 7 2 | name dutch-mbrola-2 3 | gender male 4 | 5 | pitch 82 117 6 | voicing 130 7 | 8 | mbrola nl2 nl_phtrans 9 | 10 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-nl2-en: -------------------------------------------------------------------------------- 1 | language en 10 2 | name en-dutch 3 | gender male 4 | 5 | pitch 82 117 6 | voicing 130 7 | 8 | mbrola nl2 nl_phtrans 9 | 10 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-pl1: -------------------------------------------------------------------------------- 1 | name polish-mbrola-1 2 | language pl 7 3 | gender female 4 | 5 | pitch 140 220 6 | voicing 120 7 | mbrola pl1 pl1_phtrans 8 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-pl1-en: -------------------------------------------------------------------------------- 1 | name en-polish 2 | language en 11 3 | gender female 4 | 5 | pitch 140 220 6 | mbrola pl1 pl1_phtrans 7 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-pt1: -------------------------------------------------------------------------------- 1 | language pt 7 2 | name portugal-mbrola-1 3 | gender female 4 | pitch 145 240 5 | 6 | dictrules 1 7 | voicing 70 8 | 9 | mbrola pt1 pt1_phtrans 10 | 11 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-ro1: -------------------------------------------------------------------------------- 1 | name romanian-mbrola-1 2 | language ro 7 3 | gender male 4 | 5 | pitch 82 117 6 | mbrola ro1 ro1_phtrans 7 | 8 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-ro1-en: -------------------------------------------------------------------------------- 1 | name en-romanian 2 | language en 9 3 | gender male 4 | 5 | pitch 82 117 6 | mbrola ro1 ro1_phtrans 7 | 8 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-sw1: -------------------------------------------------------------------------------- 1 | name swedish-mbrola-1 2 | language sv 7 3 | gender male 4 | 5 | pitch 82 117 6 | voicing 120 7 | 8 | mbrola sw1 sv_phtrans 9 | 10 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-sw1-en: -------------------------------------------------------------------------------- 1 | name en-swedish 2 | language en 11 3 | gender male 4 | 5 | pitch 82 117 6 | voicing 120 7 | 8 | mbrola sw1 sv_phtrans 9 | 10 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-sw2: -------------------------------------------------------------------------------- 1 | name swedish-mbrola-2 2 | language sv 8 3 | gender female 4 | 5 | pitch 140 220 6 | voicing 130 7 | 8 | mbrola sw2 sv2_phtrans 9 | 10 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-sw2-en: -------------------------------------------------------------------------------- 1 | name en-swedish-f 2 | language en 10 3 | gender female 4 | 5 | pitch 140 220 6 | voicing 130 7 | 8 | mbrola sw2 sv2_phtrans 9 | 10 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-tr1: -------------------------------------------------------------------------------- 1 | name turkish-mbrola-1 2 | language tr 7 3 | gender male 4 | 5 | mbrola tr1 tr1_phtrans 6 | dictrules 1 7 | 8 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-tr2: -------------------------------------------------------------------------------- 1 | name turkish-mbrola-1 2 | language tr 7 3 | gender female 4 | 5 | pitch 160 230 6 | voicing 170 7 | 8 | mbrola tr2 tr1_phtrans 9 | dictrules 1 10 | 11 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-us1: -------------------------------------------------------------------------------- 1 | name us-mbrola-1 2 | language en-us 3 | language en 8 4 | gender female 5 | 6 | phonemes en-us 7 | dictrules 3 6 8 | 9 | stressLength 170 135 205 205 0 0 245 275 10 | 11 | pitch 140 220 12 | mbrola us1 us_phtrans 13 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-us2: -------------------------------------------------------------------------------- 1 | name us-mbrola-2 2 | language en-us 3 | language en 7 4 | gender male 5 | 6 | phonemes en-us 7 | dictrules 3 6 8 | 9 | stressLength 170 135 205 205 0 0 245 275 10 | 11 | pitch 82 117 12 | voicing 80 13 | mbrola us2 us_phtrans 14 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-us3: -------------------------------------------------------------------------------- 1 | name us-mbrola-3 2 | language en-us 3 | language en 8 4 | gender male 5 | 6 | phonemes en-us 7 | dictrules 3 6 8 | 9 | stressLength 170 135 205 205 0 0 245 275 10 | 11 | voicing 150 12 | pitch 82 117 13 | mbrola us3 us3_phtrans 14 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/mb/mb-vz1: -------------------------------------------------------------------------------- 1 | language es-vz 7 2 | language es 8 3 | name venezuala-mbrola-1 4 | gender male 5 | pitch 82 117 6 | 7 | mbrola vz1 vz_phtrans 8 | 9 | dictrules 3 10 | replace 00 T s 11 | voicing 200 12 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/other/af: -------------------------------------------------------------------------------- 1 | name afrikaans 2 | language af 3 | gender male 4 | roughness 0 5 | pitch 63 120 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/other/en-n: -------------------------------------------------------------------------------- 1 | name english-north 2 | language en-uk-north 3 | language en-uk 3 4 | language en 5 5 | gender male 6 | 7 | phonemes en-n 8 | 9 | stressLength 160 150 180 180 220 220 290 290 10 | 11 | replace 00 i@3 i@ 12 | replace 03 N n 13 | replace 03 i I2 14 | 15 | 16 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/other/en-rp: -------------------------------------------------------------------------------- 1 | name english_rp 2 | language en-uk-rp 3 | language en-uk 4 4 | language en 5 5 | gender male 6 | 7 | phonemes en-rp 8 | replace 00 o@ O@ 9 | replace 00 i@3 i@ 10 | replace 03 I i 11 | replace 03 I2 i 12 | replace 03 @ a# 13 | replace 03 3 a# 14 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/other/en-sc: -------------------------------------------------------------------------------- 1 | name en-scottish 2 | language en-sc 3 | language en 4 4 | gender male 5 | 6 | phonemes en-sc 7 | dictrules 5 6 7 8 | stressLength 180 130 200 200 0 0 250 270 9 | 10 | replace 03 @ V 11 | replace 03 I i 12 | replace 03 I2 i 13 | replace 01 aI aI2 14 | replace 02 a a/ 15 | replace 02 u: U 16 | replace 02 3: VR 17 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/other/en-wi: -------------------------------------------------------------------------------- 1 | name en-westindies 2 | language en-wi 3 | language en-uk 4 4 | language en 10 5 | gender male 6 | 7 | phonemes en-wi 8 | dictrules 8 9 | stressLength 175 175 175 175 220 220 250 290 10 | 11 | replace 00 D d 12 | replace 00 T t[ 13 | replace 00 U@ o@ 14 | replace 00 i@3 i@ 15 | replace 03 @ a# 16 | replace 03 3 a# 17 | replace 03 N n 18 | 19 | formant 1 98 100 100 20 | formant 2 98 100 100 21 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/other/en-wm: -------------------------------------------------------------------------------- 1 | name english_wmids 2 | language en-uk-wmids 3 | language en-uk 9 4 | language en 9 5 | gender male 6 | 7 | phonemes en-wm 8 | 9 | replace 00 h NULL 10 | replace 00 o@ O@ 11 | replace 00 i@3 i@ 12 | dictrules 6 13 | intonation 4 14 | stressAdd 0 0 0 0 0 0 0 20 15 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/other/eo: -------------------------------------------------------------------------------- 1 | name esperanto 2 | language eo 3 | gender male 4 | 5 | apostrophe 2 6 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/other/grc: -------------------------------------------------------------------------------- 1 | name greek-ancient 2 | language grc 3 | gender male 4 | 5 | stressLength 170 170 190 190 0 0 230 240 6 | dictrules 1 7 | words 3 8 | 9 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/other/jbo: -------------------------------------------------------------------------------- 1 | name lojban 2 | language jbo 3 | 4 | speed 80 // speed adjustment, percentage 5 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/other/la: -------------------------------------------------------------------------------- 1 | name latin 2 | language la 3 | gender male 4 | stressrule 2 33 0 2 5 | // rule=penultimate 6 | // flags=0100001 (no automatic secondary stress + don't stres monosyllables) 7 | // unstressed_wd1=0 8 | // unstressed_wd2=2 9 | 10 | // short gap between words 11 | words 2 12 | 13 | // Note: The Latin voice needs long vowels to be marked with macrons 14 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/other/lfn: -------------------------------------------------------------------------------- 1 | name lingua_franca_nova 2 | language lfn 3 | gender male 4 | 5 | phonemes base2 6 | l_unpronouncable 0 7 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/other/sw: -------------------------------------------------------------------------------- 1 | name swahili-test 2 | language sw 3 | gender male 4 | 5 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/pt: -------------------------------------------------------------------------------- 1 | name brazil 2 | language pt-br 3 | language pt 4 | gender male 5 | 6 | dictrules 2 7 | stressLength 200 115 230 230 0 0 250 270 8 | 9 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/test/am: -------------------------------------------------------------------------------- 1 | name amharic-test 2 | language am 3 | 4 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/test/as: -------------------------------------------------------------------------------- 1 | name assamese-test 2 | language as 3 | 4 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/test/az: -------------------------------------------------------------------------------- 1 | name azerbaijani-test 2 | language az 3 | 4 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/test/bn: -------------------------------------------------------------------------------- 1 | name bengali-test 2 | language bn 3 | gender male 4 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/test/eu: -------------------------------------------------------------------------------- 1 | name basque-test 2 | language eu 3 | 4 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/test/gd: -------------------------------------------------------------------------------- 1 | name scottish-gaelic-test 2 | language gd 3 | 4 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/test/gu: -------------------------------------------------------------------------------- 1 | name gujarati-test 2 | language gu 3 | 4 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/test/kl: -------------------------------------------------------------------------------- 1 | name greenlandic 2 | language kl 3 | 4 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/test/ko: -------------------------------------------------------------------------------- 1 | name korean-test 2 | language ko 3 | gender male 4 | pitch 80 118 5 | intonation 2 6 | 7 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/test/nci: -------------------------------------------------------------------------------- 1 | name nahuatl-classical 2 | language nci 3 | gender male 4 | 5 | intonation 3 6 | stressrule 2 7 | stressLength 190 190 200 200 0 0 220 240 8 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/test/or: -------------------------------------------------------------------------------- 1 | name oriya-test 2 | language or 3 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/test/pap: -------------------------------------------------------------------------------- 1 | name papiamento-test 2 | language pap 3 | 4 | phonemes base2 5 | 6 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/test/si: -------------------------------------------------------------------------------- 1 | name sinhala-test 2 | language si 3 | 4 | intonation 2 5 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/test/sl: -------------------------------------------------------------------------------- 1 | name slovenian-test 2 | language sl 3 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/test/te: -------------------------------------------------------------------------------- 1 | name telugu-test 2 | language te 3 | 4 | intonation 2 5 | //consonants 80 6 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/voices/test/ur: -------------------------------------------------------------------------------- 1 | name urdu-test 2 | language ur 3 | 4 | stressrule 6 5 | 6 | -------------------------------------------------------------------------------- /src/sakit/espeak-data/zh_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/zh_dict -------------------------------------------------------------------------------- /src/sakit/espeak-data/zhy_dict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/espeak-data/zhy_dict -------------------------------------------------------------------------------- /src/sakit/libfreebsd32/libportaudio_x86.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/libfreebsd32/libportaudio_x86.so -------------------------------------------------------------------------------- /src/sakit/libfreebsd32/sak.ini: -------------------------------------------------------------------------------- 1 | # Config file for freeBSD32 2 | BINESPEAK=speak_x86 # speak or espeak binary name. 3 | LIBESPEAK= # espeak library name (needed for espeak binary). 4 | DIRESPEAKDATA=../ # directory of espeak-data ( ./ or / => calling dir, ../ => parent dir). 5 | LIBPORTAUDIO=libportaudio_x86.so # portaudio library name. 6 | 7 | -------------------------------------------------------------------------------- /src/sakit/libfreebsd32/speak_x86: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/libfreebsd32/speak_x86 -------------------------------------------------------------------------------- /src/sakit/libfreebsd64/libportaudio_x64.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/libfreebsd64/libportaudio_x64.so -------------------------------------------------------------------------------- /src/sakit/libfreebsd64/sak.ini: -------------------------------------------------------------------------------- 1 | # Config file for freeBSD64 2 | BINESPEAK=speak_x64 # speak or espeak binary name. 3 | LIBESPEAK= # espeak library name (needed for espeak binary). 4 | DIRESPEAKDATA=../ # directory of espeak-data ( ./ or / => calling dir, ../ => parent dir). 5 | LIBPORTAUDIO=libportaudio_x64.so # portaudio library name. 6 | 7 | -------------------------------------------------------------------------------- /src/sakit/libfreebsd64/speak_x64: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/libfreebsd64/speak_x64 -------------------------------------------------------------------------------- /src/sakit/liblinux32/libportaudio_x86.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/liblinux32/libportaudio_x86.so -------------------------------------------------------------------------------- /src/sakit/liblinux32/sak.ini: -------------------------------------------------------------------------------- 1 | # Config file for linux32. 2 | BINESPEAK=speak_x86 # speak or espeak binary name. 3 | LIBESPEAK= # espeak library name (needed for espeak binary). 4 | DIRESPEAKDATA=../ # directory of espeak-data ( ./ or / => calling dir, ../ => parent dir). 5 | LIBPORTAUDIO=libportaudio_x86.so # portaudio library name. 6 | 7 | -------------------------------------------------------------------------------- /src/sakit/liblinux32/speak_x86: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/liblinux32/speak_x86 -------------------------------------------------------------------------------- /src/sakit/liblinux64/libportaudio_x64.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/liblinux64/libportaudio_x64.so -------------------------------------------------------------------------------- /src/sakit/liblinux64/sak.ini: -------------------------------------------------------------------------------- 1 | # Config file for linux64 2 | BINESPEAK=speak_x64 # speak or espeak binary name. 3 | LIBESPEAK= # espeak library name (needed for espeak binary). 4 | DIRESPEAKDATA=../ # directory of espeak-data ( ./ or / => calling dir, ../ => parent dir). 5 | LIBPORTAUDIO=libportaudio_x64.so # portaudio library name. 6 | 7 | -------------------------------------------------------------------------------- /src/sakit/liblinux64/speak_x64: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/liblinux64/speak_x64 -------------------------------------------------------------------------------- /src/sakit/libmac32/libportaudio_32.dylib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/libmac32/libportaudio_32.dylib -------------------------------------------------------------------------------- /src/sakit/libmac32/sak.ini: -------------------------------------------------------------------------------- 1 | # Config file for Mac32 2 | BINESPEAK=speak # speak or espeak binary name. 3 | LIBESPEAK= # espeak library name (needed for espeak binary). 4 | DIRESPEAKDATA=../ # directory of espeak-data ( ./ or / => calling dir, ../ => parent dir). 5 | LIBPORTAUDIO=libportaudio_32.dylib # portaudio library name. 6 | 7 | -------------------------------------------------------------------------------- /src/sakit/libmac32/speak: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/libmac32/speak -------------------------------------------------------------------------------- /src/sakit/libwin32/espeak.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/sakit/libwin32/espeak.exe -------------------------------------------------------------------------------- /src/sakit/libwin32/sak.ini: -------------------------------------------------------------------------------- 1 | # Config for Windows32 2 | BINESPEAK=espeak.exe # speak or espeak binary name. 3 | LIBESPEAK= # espeak library name (needed for espeak binary). 4 | DIRESPEAKDATA=../ # directory of espeak-data ( ./ or / => calling dir, ../ => parent dir). 5 | LIBPORTAUDIO= # portaudio library name. 6 | 7 | -------------------------------------------------------------------------------- /src/sakit/readme.txt: -------------------------------------------------------------------------------- 1 | sak : Speecher Assistive Kit. 2 | 3 | sak uses the PortAudio and eSpeak Open Source Libraries. 4 | 5 | Fred van Stappen 6 | fiens@hotmail.com 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/testfpglib.pas: -------------------------------------------------------------------------------- 1 | program testfpglib; 2 | 3 | {$mode objfpc}{$H+} 4 | 5 | uses 6 | {$IFDEF UNIX} 7 | cthreads, 8 | {$ENDIF} 9 | SysUtils, Classes, fpg_base, fpg_main, 10 | plugmanager, 11 | {%units 'Auto-generated GUI code'} 12 | fpg_form, fpg_button 13 | {%endunits} 14 | ; 15 | 16 | type 17 | Ttest = class(TfpgForm) 18 | private 19 | {@VFD_HEAD_BEGIN: test} 20 | Button1: TfpgButton; 21 | {@VFD_HEAD_END: test} 22 | public 23 | procedure AfterCreate; override; 24 | end; 25 | 26 | {@VFD_NEWFORM_DECL} 27 | 28 | {@VFD_NEWFORM_IMPL} 29 | 30 | procedure Ttest.AfterCreate; 31 | begin 32 | {%region 'Auto-generated GUI code' -fold} 33 | {@VFD_BODY_BEGIN: test} 34 | Name := 'test'; 35 | SetPosition(459, 222, 300, 250); 36 | WindowTitle := 'test'; 37 | Hint := ''; 38 | BackGroundColor := $80000001; 39 | 40 | Button1 := TfpgButton.Create(self); 41 | with Button1 do 42 | begin 43 | Name := 'Button1'; 44 | SetPosition(114, 92, 80, 23); 45 | FontDesc := '#Label1'; 46 | Hint := ''; 47 | ImageName := ''; 48 | TabOrder := 1; 49 | Text := 'Button'; 50 | end; 51 | 52 | {@VFD_BODY_END: test} 53 | {%endregion} 54 | end; 55 | 56 | 57 | procedure MainProc; 58 | var 59 | frm: Ttest; 60 | begin 61 | fpgApplication.Initialize; 62 | try 63 | fpgd_loadlib('/home/fred/designer_ext/src/libfpgdxt.so') ; 64 | frm := Ttest.Create(nil); 65 | fpgApplication.MainForm := frm; 66 | frm.Show; 67 | fpgApplication.Run; 68 | 69 | finally 70 | fpgd_mainproc(); 71 | frm.Free; 72 | end; 73 | end; 74 | 75 | begin 76 | MainProc; 77 | end. 78 | -------------------------------------------------------------------------------- /src/testfpglib2.pas: -------------------------------------------------------------------------------- 1 | program testfpglib; 2 | 3 | {$mode objfpc}{$H+} 4 | 5 | uses 6 | {$IFDEF UNIX} 7 | cthreads, 8 | {$ENDIF} 9 | SysUtils, Classes, fpg_base, fpg_main, 10 | plugmanager, 11 | {%units 'Auto-generated GUI code'} 12 | fpg_form, fpg_button 13 | {%endunits} 14 | ; 15 | 16 | type 17 | Ttest = class(TfpgForm) 18 | private 19 | {@VFD_HEAD_BEGIN: test} 20 | Button1: TfpgButton; 21 | {@VFD_HEAD_END: test} 22 | public 23 | procedure AfterCreate; override; 24 | end; 25 | 26 | {@VFD_NEWFORM_DECL} 27 | 28 | {@VFD_NEWFORM_IMPL} 29 | 30 | procedure Ttest.AfterCreate; 31 | begin 32 | {%region 'Auto-generated GUI code' -fold} 33 | {@VFD_BODY_BEGIN: test} 34 | Name := 'test'; 35 | SetPosition(459, 222, 300, 250); 36 | WindowTitle := 'test'; 37 | Hint := ''; 38 | BackGroundColor := $80000001; 39 | 40 | Button1 := TfpgButton.Create(self); 41 | with Button1 do 42 | begin 43 | Name := 'Button1'; 44 | SetPosition(114, 92, 80, 23); 45 | FontDesc := '#Label1'; 46 | Hint := ''; 47 | ImageName := ''; 48 | TabOrder := 1; 49 | Text := 'Button'; 50 | end; 51 | 52 | {@VFD_BODY_END: test} 53 | {%endregion} 54 | end; 55 | 56 | 57 | procedure MainProc; 58 | var 59 | frm: Ttest; 60 | begin 61 | fpgApplication.Initialize; 62 | try 63 | fpgd_loadlib('/home/fred/designer_ext/src/libfpgdxt.so') ; 64 | frm := Ttest.Create(nil); 65 | fpgApplication.MainForm := frm; 66 | frm.Show; 67 | fpgApplication.Run; 68 | 69 | finally 70 | fpgd_mainproc(); 71 | frm.Free; 72 | end; 73 | end; 74 | 75 | begin 76 | MainProc; 77 | end. 78 | -------------------------------------------------------------------------------- /src/testlib.lpi: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="UTF-8"?> 2 | <CONFIG> 3 | <ProjectOptions> 4 | <Version Value="9"/> 5 | <General> 6 | <Flags> 7 | <MainUnitHasCreateFormStatements Value="False"/> 8 | <MainUnitHasTitleStatement Value="False"/> 9 | </Flags> 10 | <SessionStorage Value="InProjectDir"/> 11 | <MainUnit Value="0"/> 12 | <Title Value="testlib"/> 13 | <UseAppBundle Value="False"/> 14 | <ResourceType Value="res"/> 15 | </General> 16 | <i18n> 17 | <EnableI18N LFM="False"/> 18 | </i18n> 19 | <VersionInfo> 20 | <StringTable ProductVersion=""/> 21 | </VersionInfo> 22 | <BuildModes Count="1"> 23 | <Item1 Name="Default" Default="True"/> 24 | </BuildModes> 25 | <PublishOptions> 26 | <Version Value="2"/> 27 | </PublishOptions> 28 | <RunParams> 29 | <local> 30 | <FormatVersion Value="1"/> 31 | </local> 32 | </RunParams> 33 | <Units Count="1"> 34 | <Unit0> 35 | <Filename Value="testlib.pas"/> 36 | <IsPartOfProject Value="True"/> 37 | </Unit0> 38 | </Units> 39 | </ProjectOptions> 40 | <CompilerOptions> 41 | <Version Value="11"/> 42 | <Target> 43 | <Filename Value="testlib"/> 44 | </Target> 45 | <SearchPaths> 46 | <UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)"/> 47 | </SearchPaths> 48 | </CompilerOptions> 49 | <Debugging> 50 | <Exceptions Count="3"> 51 | <Item1> 52 | <Name Value="EComponentError"/> 53 | </Item1> 54 | <Item2> 55 | <Name Value="EPropertyError"/> 56 | </Item2> 57 | <Item3> 58 | <Name Value="EListError"/> 59 | </Item3> 60 | </Exceptions> 61 | </Debugging> 62 | </CONFIG> 63 | -------------------------------------------------------------------------------- /src/testlib.pas: -------------------------------------------------------------------------------- 1 | program testlib; 2 | 3 | {$mode objfpc}{$H+} 4 | 5 | uses 6 | plugmanager, 7 | sysutils; 8 | 9 | 10 | procedure MainProc; 11 | var 12 | ordir : string; 13 | isloaded : boolean = false; 14 | begin 15 | ordir := IncludeTrailingBackslash(ExtractFilePath(ParamStr(0))); 16 | if fpgd_loadlib(ordir + 'libfpgdxt.so') then 17 | begin 18 | writeln('Library loaded. ;-)'); 19 | isloaded := true; 20 | fpgd_mainproc(); 21 | end 22 | else 23 | begin 24 | writeln('Library NOT loaded... ;-(') ; 25 | isloaded := false; 26 | end; 27 | end; 28 | 29 | begin 30 | MainProc; 31 | end. 32 | -------------------------------------------------------------------------------- /src/testlib_lcl.lpi: -------------------------------------------------------------------------------- 1 | <?xml version="1.0" encoding="UTF-8"?> 2 | <CONFIG> 3 | <ProjectOptions> 4 | <Version Value="9"/> 5 | <General> 6 | <SessionStorage Value="InProjectDir"/> 7 | <MainUnit Value="0"/> 8 | <Title Value="testlib_lcl"/> 9 | <ResourceType Value="res"/> 10 | <UseXPManifest Value="True"/> 11 | <Icon Value="0"/> 12 | </General> 13 | <i18n> 14 | <EnableI18N LFM="False"/> 15 | </i18n> 16 | <VersionInfo> 17 | <StringTable ProductVersion=""/> 18 | </VersionInfo> 19 | <BuildModes Count="1"> 20 | <Item1 Name="Default" Default="True"/> 21 | </BuildModes> 22 | <PublishOptions> 23 | <Version Value="2"/> 24 | </PublishOptions> 25 | <RunParams> 26 | <local> 27 | <FormatVersion Value="1"/> 28 | </local> 29 | </RunParams> 30 | <RequiredPackages Count="1"> 31 | <Item1> 32 | <PackageName Value="LCL"/> 33 | </Item1> 34 | </RequiredPackages> 35 | <Units Count="2"> 36 | <Unit0> 37 | <Filename Value="testlib_lcl.lpr"/> 38 | <IsPartOfProject Value="True"/> 39 | </Unit0> 40 | <Unit1> 41 | <Filename Value="form_libtest_lcl.pas"/> 42 | <IsPartOfProject Value="True"/> 43 | <ComponentName Value="Form1"/> 44 | <HasResources Value="True"/> 45 | <ResourceBaseClass Value="Form"/> 46 | </Unit1> 47 | </Units> 48 | </ProjectOptions> 49 | <CompilerOptions> 50 | <Version Value="11"/> 51 | <Target> 52 | <Filename Value="testlib_lcl"/> 53 | </Target> 54 | <SearchPaths> 55 | <IncludeFiles Value="$(ProjOutDir)"/> 56 | <UnitOutputDirectory Value="lib/$(TargetCPU)-$(TargetOS)"/> 57 | </SearchPaths> 58 | <CodeGeneration> 59 | <SmartLinkUnit Value="True"/> 60 | <Optimizations> 61 | <OptimizationLevel Value="2"/> 62 | </Optimizations> 63 | </CodeGeneration> 64 | <Linking> 65 | <LinkSmart Value="True"/> 66 | <Options> 67 | <Win32> 68 | <GraphicApplication Value="True"/> 69 | </Win32> 70 | </Options> 71 | </Linking> 72 | </CompilerOptions> 73 | <Debugging> 74 | <Exceptions Count="3"> 75 | <Item1> 76 | <Name Value="EAbort"/> 77 | </Item1> 78 | <Item2> 79 | <Name Value="ECodetoolError"/> 80 | </Item2> 81 | <Item3> 82 | <Name Value="EFOpenError"/> 83 | </Item3> 84 | </Exceptions> 85 | </Debugging> 86 | </CONFIG> 87 | -------------------------------------------------------------------------------- /src/testlib_lcl.lpr: -------------------------------------------------------------------------------- 1 | program testlib_lcl; 2 | 3 | {$mode objfpc}{$H+} 4 | 5 | uses 6 | {$IFDEF UNIX} 7 | cthreads, 8 | {$ENDIF} 9 | Interfaces, // this includes the LCL widgetset 10 | Forms, h_fpgdxt, form_libtest_lcl 11 | { you can add units after this }; 12 | 13 | {$R *.res} 14 | 15 | begin 16 | Application.Initialize; 17 | Application.CreateForm(TForm1, Form1); 18 | Application.Run; 19 | end. 20 | 21 | -------------------------------------------------------------------------------- /src/units/dummy: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fredvs/uidesigner_ext/e11daceba603ef6c1608b621867ea5a4ee17fbd7/src/units/dummy -------------------------------------------------------------------------------- /src/vfd_constants.pas: -------------------------------------------------------------------------------- 1 | { 2 | This unit is part of the fpGUI Toolkit project. 3 | 4 | Copyright (c) 2006 - 2015 by Graeme Geldenhuys. 5 | 6 | See the file COPYING.modifiedLGPL, included in this distribution, 7 | for details about redistributing fpGUI. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 | 13 | Description: 14 | This unit contains all the language resource strings used by the 15 | UI Designer project. Thus making it possible to translate the UI Designer 16 | to other languages. It also contains all project constants. 17 | } 18 | 19 | unit vfd_constants; 20 | 21 | {$mode objfpc}{$H+} 22 | 23 | /// for custom compil, like using fpgui-dvelop => edit define.inc 24 | {$I define.inc} 25 | 26 | interface 27 | 28 | uses 29 | fpg_constants; 30 | 31 | 32 | const 33 | cFileFilter = '%s (%s)|%s'; 34 | cPascalSourceFiles = '*.pp;*.pas;*.inc;*.dpr;*.lpr'; 35 | cAppName = 'fpGUI designer_ext'; 36 | cAppVersion = FPGUI_VERSION; 37 | cAppNameAndVersion = cAppName + ' v' + cAppVersion; 38 | cDesignerINIVersion = 1; 39 | 40 | resourcestring 41 | rsOpenFormFile = 'Open form file'; 42 | rsPascalSourceFiles = 'Pascal source filess'; 43 | rsSaveFormFile = 'Save form source'; 44 | rsVersion = 'Version: %s'; 45 | rsWrittenBy = 'Written by %s'; 46 | //rsCompiledOn = 'Compiled on: %s'; 47 | 48 | {$ifdef fpgui-develop} 49 | rsCompiledOn = 'Compiled with fpgui-develop on: %s'; 50 | {$else} 51 | rsCompiledOn = 'Compiled with fpgui-master on: %s'; 52 | {$endif} 53 | 54 | rsNewUnnamedForm = 'new'; 55 | rsDesignerHelp1 = 'F11: switch to Properties'; 56 | rsDesignerHelp2 = 'TAB, SHIFT+TAB: select next widget'; 57 | rsDesignerHelp3 = 'F2: edit widget order'; 58 | rsDesignerQuickHelp = 'Quick Help'; 59 | rsLeft = 'Left'; 60 | rsTop = 'Top'; 61 | rsWidth = 'Width'; 62 | rsHeight = 'Height'; 63 | rsNewClassName = 'Class name'; 64 | rsNewFormName = 'Form name'; 65 | rsPosition = 'Position'; 66 | rsFormTitle = 'Form %s'; 67 | rsUp = 'Up'; 68 | rsDown = 'Down'; 69 | rsGridResolution = 'Grid resolution'; 70 | rsRecentFilesCount = 'Recent files count'; 71 | rsShowFullPathName = 'Show the full file path'; 72 | rsFormDesigner = 'Form designer'; 73 | rsOpenRecentSettings = 'Open Recent menu settings'; 74 | rsVarious = 'Various'; 75 | rsUndoOnPropertyExit = 'Undo on property editor exit'; 76 | rsOneClickSelectAndMove = 'One click select and move'; 77 | rsDefaultFileExt = 'Default file extension'; 78 | rsUseCodeRegions = 'Use code-folding regions in auto-generated code'; 79 | rsIndentType = 'Indent Type for generated code'; 80 | 81 | rsDlgProductInfo = 'Product Information'; 82 | rsDlgSetup = 'General Settings'; 83 | rsDlgInsertCustomWidget = 'Insert Custom Widget'; 84 | rsDlgNewForm = 'New Form'; 85 | rsDlgEditFormPosition = 'Widget Position'; 86 | rsDlgWidgetOrder = 'Widget Order'; 87 | rsDlgTabOrder = 'Tab Order'; 88 | 89 | rsErrUnitNotFound = 'The unit <%s> was not found.'; 90 | rsErrLoadingForm = 'Error loading form'; 91 | rsErrFailedToFindDesignerForm = 'Failed to find Designer Form'; 92 | rsErrFormSaveIOError = 'Form save I/O failure in <%s>.'; 93 | rsErrNameConflict = 'Name Conflict'; 94 | rsErrNoStringsProperty = 'Failed to find TStrings type property.'; 95 | rsErrFailedToParseBoolean = 'Failed to parse Boolean value <%s>'; 96 | 97 | implementation 98 | 99 | end. 100 | 101 | -------------------------------------------------------------------------------- /src/vfd_constants.rst: -------------------------------------------------------------------------------- 1 | 2 | # hash value = 238462501 3 | vfd_constants.rsopenformfile='Open form file' 4 | 5 | 6 | # hash value = 71032515 7 | vfd_constants.rspascalsourcefiles='Pascal source filess' 8 | 9 | 10 | # hash value = 17578149 11 | vfd_constants.rssaveformfile='Save form source' 12 | 13 | 14 | # hash value = 1903459 15 | vfd_constants.rsversion='Version: %s' 16 | 17 | 18 | # hash value = 251201587 19 | vfd_constants.rswrittenby='Written by %s' 20 | 21 | 22 | # hash value = 52048627 23 | vfd_constants.rscompiledon='Compiled on: %s' 24 | 25 | 26 | # hash value = 29895 27 | vfd_constants.rsnewunnamedform='new' 28 | 29 | 30 | # hash value = 110266627 31 | vfd_constants.rsdesignerhelp1='F11: switch to Properties' 32 | 33 | 34 | # hash value = 258561076 35 | vfd_constants.rsdesignerhelp2='TAB, SHIFT+TAB: select next widget' 36 | 37 | 38 | # hash value = 232971826 39 | vfd_constants.rsdesignerhelp3='F2: edit widget order' 40 | 41 | 42 | # hash value = 164716992 43 | vfd_constants.rsdesignerquickhelp='Quick Help' 44 | 45 | 46 | # hash value = 338900 47 | vfd_constants.rsleft='Left' 48 | 49 | 50 | # hash value = 23392 51 | vfd_constants.rstop='Top' 52 | 53 | 54 | # hash value = 6159272 55 | vfd_constants.rswidth='Width' 56 | 57 | 58 | # hash value = 82574836 59 | vfd_constants.rsheight='Height' 60 | 61 | 62 | # hash value = 173270709 63 | vfd_constants.rsnewclassname='Class name' 64 | 65 | 66 | # hash value = 150408021 67 | vfd_constants.rsnewformname='Form name' 68 | 69 | 70 | # hash value = 111192878 71 | vfd_constants.rsposition='Position' 72 | 73 | 74 | # hash value = 224981635 75 | vfd_constants.rsformtitle='Form %s' 76 | 77 | 78 | # hash value = 1472 79 | vfd_constants.rsup='Up' 80 | 81 | 82 | # hash value = 308958 83 | vfd_constants.rsdown='Down' 84 | 85 | 86 | # hash value = 190541438 87 | vfd_constants.rsgridresolution='Grid resolution' 88 | 89 | 90 | # hash value = 110040772 91 | vfd_constants.rsrecentfilescount='Recent files count' 92 | 93 | 94 | # hash value = 263095400 95 | vfd_constants.rsshowfullpathname='Show the full file path' 96 | 97 | 98 | # hash value = 32977442 99 | vfd_constants.rsformdesigner='Form designer' 100 | 101 | 102 | # hash value = 48750771 103 | vfd_constants.rsopenrecentsettings='Open Recent menu settings' 104 | 105 | 106 | # hash value = 210306707 107 | vfd_constants.rsvarious='Various' 108 | 109 | 110 | # hash value = 121271780 111 | vfd_constants.rsundoonpropertyexit='Undo on property editor exit' 112 | 113 | 114 | # hash value = 252138357 115 | vfd_constants.rsoneclickselectandmove='One click select and move' 116 | 117 | 118 | # hash value = 40189870 119 | vfd_constants.rsdefaultfileext='Default file extension' 120 | 121 | 122 | # hash value = 152452773 123 | vfd_constants.rsusecoderegions='Use code-folding regions in auto-generate'+ 124 | 'd code' 125 | 126 | 127 | # hash value = 77398517 128 | vfd_constants.rsindenttype='Indent Type for generated code' 129 | 130 | 131 | # hash value = 182671566 132 | vfd_constants.rsdlgproductinfo='Product Information' 133 | 134 | 135 | # hash value = 3792179 136 | vfd_constants.rsdlgsetup='General Settings' 137 | 138 | 139 | # hash value = 176810868 140 | vfd_constants.rsdlginsertcustomwidget='Insert Custom Widget' 141 | 142 | 143 | # hash value = 211080141 144 | vfd_constants.rsdlgnewform='New Form' 145 | 146 | 147 | # hash value = 201874286 148 | vfd_constants.rsdlgeditformposition='Form Position' 149 | 150 | 151 | # hash value = 61417218 152 | vfd_constants.rsdlgwidgetorder='Widget Order' 153 | 154 | 155 | # hash value = 72798386 156 | vfd_constants.rsdlgtaborder='Tab Order' 157 | 158 | 159 | # hash value = 128081310 160 | vfd_constants.rserrunitnotfound='The unit <%s> was not found.' 161 | 162 | 163 | # hash value = 124402253 164 | vfd_constants.rserrloadingform='Error loading form' 165 | 166 | 167 | # hash value = 49536925 168 | vfd_constants.rserrfailedtofinddesignerform='Failed to find Designer Form'+ 169 | 170 | 171 | # hash value = 213552606 172 | vfd_constants.rserrformsaveioerror='Form save I/O failure in <%s>.' 173 | 174 | 175 | # hash value = 47209332 176 | vfd_constants.rserrnameconflict='Name Conflict' 177 | 178 | 179 | # hash value = 218656478 180 | vfd_constants.rserrnostringsproperty='Failed to find TStrings type proper'+ 181 | 'ty.' 182 | 183 | 184 | # hash value = 201637006 185 | vfd_constants.rserrfailedtoparseboolean='Failed to parse Boolean value <%'+ 186 | 's>' 187 | 188 | -------------------------------------------------------------------------------- /src/vfd_editors.pas: -------------------------------------------------------------------------------- 1 | { 2 | This unit is part of the fpGUI Toolkit project. 3 | 4 | Copyright (c) 2006 - 2016 by Graeme Geldenhuys. 5 | 6 | See the file COPYING.modifiedLGPL, included in this distribution, 7 | for details about redistributing fpGUI. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 | 13 | Description: 14 | Some property editors. 15 | } 16 | 17 | unit vfd_editors; 18 | 19 | 20 | {$mode objfpc}{$H+} 21 | 22 | /// for custom compil, like using fpgui-dvelop => edit define.inc 23 | {$I define.inc} 24 | 25 | interface 26 | 27 | uses 28 | Classes, 29 | SysUtils, 30 | fpg_widget, 31 | fpg_label, 32 | fpg_button, 33 | fpg_memo, 34 | frm_vfdforms; 35 | 36 | type 37 | 38 | TItemEditorForm = class(TVFDDialog) 39 | private 40 | procedure btnClearClicked(Sender: TObject); 41 | procedure OnButtonClick(Sender: TObject); 42 | public 43 | l1: TfpgLabel; 44 | edItems: TfpgMemo; 45 | btnOK: TfpgButton; 46 | btnCancel: TfpgButton; 47 | btnClear: TfpgButton; 48 | procedure AfterCreate; override; 49 | end; 50 | 51 | 52 | implementation 53 | 54 | uses 55 | fpg_base, 56 | fpg_main; 57 | 58 | { TItemEditorForm } 59 | 60 | procedure TItemEditorForm.AfterCreate; 61 | begin 62 | {%region 'Auto-generated GUI code' -fold} 63 | 64 | inherited; 65 | WindowTitle := 'Items'; 66 | SetPosition(0, 0, 360, 230); 67 | 68 | l1 := CreateLabel(self, 8, 4, 'Items:'); 69 | 70 | edItems := TfpgMemo.Create(self); 71 | with edItems do 72 | begin 73 | SetPosition(8, 24, 344, 168); 74 | Anchors := AllAnchors; 75 | end; 76 | 77 | btnClear := CreateButton(self, 8, 200, 80, 'Clear', @btnClearClicked); 78 | btnClear.Anchors := [anLeft, anBottom]; 79 | 80 | btnOK := CreateButton(self, Width-168, 200, 80, 'OK', @OnButtonClick); 81 | btnOK.Anchors := [anRight, anBottom]; 82 | 83 | btnCancel := CreateButton(self, Width-84, 200, 80, 'Cancel', @OnButtonClick); 84 | btnCancel.Anchors := [anRight, anBottom]; 85 | {%endregion} 86 | end; 87 | 88 | procedure TItemEditorForm.btnClearClicked(Sender: TObject); 89 | begin 90 | edItems.Lines.Clear; 91 | end; 92 | 93 | procedure TItemEditorForm.OnButtonClick(Sender: TObject); 94 | begin 95 | if Sender = btnOK then 96 | ModalResult := mrOK 97 | else 98 | ModalResult := mrCancel; 99 | end; 100 | 101 | 102 | end. 103 | 104 | -------------------------------------------------------------------------------- /src/vfd_resizer.pas: -------------------------------------------------------------------------------- 1 | { 2 | This unit is part of the fpGUI Toolkit project. 3 | 4 | Copyright (c) 2006 - 2016 by Graeme Geldenhuys. 5 | 6 | See the file COPYING.modifiedLGPL, included in this distribution, 7 | for details about redistributing fpGUI. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 | 13 | Description: 14 | The resizer widget used in the form designer. 15 | } 16 | 17 | unit vfd_resizer; 18 | 19 | {$mode objfpc}{$H+} 20 | 21 | /// for custom compil, like using fpgui-dvelop => edit define.inc 22 | {$I define.inc} 23 | 24 | interface 25 | 26 | uses 27 | Classes, 28 | SysUtils, 29 | fpg_base, 30 | fpg_widget; 31 | 32 | type 33 | TwgResizer = class(TfpgWidget) 34 | protected 35 | wgdesigner: TObject; 36 | procedure HandlePaint; override; 37 | procedure HandleLMouseDown(x, y: integer; shiftstate: TShiftState); override; 38 | procedure HandleLMouseUp(x, y: integer; shiftstate: TShiftState); override; 39 | procedure HandleMouseMove(x, y: integer; btnstate: word; shiftstate: TShiftState); override; 40 | public 41 | direction: integer; 42 | FDragging: boolean; 43 | FDragPosX, 44 | FDragPosY: TfpgCoord; 45 | constructor Create(ACompDesigner: TObject; adirection: integer); reintroduce; 46 | procedure Show; 47 | end; 48 | 49 | 50 | implementation 51 | 52 | 53 | uses 54 | vfd_designer, 55 | vfd_main; 56 | 57 | { TwgResizer } 58 | 59 | procedure TwgResizer.HandlePaint; 60 | begin 61 | Canvas.Clear(FBackgroundColor); 62 | end; 63 | 64 | procedure TwgResizer.HandleLMouseDown(x, y: integer; shiftstate: TShiftState); 65 | begin 66 | inherited HandleLMouseDown(x, y, shiftstate); 67 | FDragging := True; 68 | FDragPosX := x; 69 | FDragPosy := y; 70 | CaptureMouse; 71 | end; 72 | 73 | procedure TwgResizer.HandleLMouseUp(x, y: integer; shiftstate: TShiftState); 74 | begin 75 | inherited HandleLMouseUp(x, y, shiftstate); 76 | FDragging := False; 77 | ReleaseMouse; 78 | end; 79 | 80 | procedure TwgResizer.HandleMouseMove(x, y: integer; btnstate: word; 81 | shiftstate: TShiftState); 82 | var 83 | dx, 84 | dy: integer; 85 | gridc: integer; 86 | wgd: TWidgetDesigner; 87 | begin 88 | // inherited HandleMouseMove(x, y, btnstate, shiftstate); 89 | 90 | if (not FDragging) or ((btnstate and MOUSE_LEFT) = 0) then 91 | Exit; 92 | 93 | dx := x - FDragPosX; 94 | dy := y - FDragPosY; 95 | 96 | wgd := TWidgetDesigner(wgdesigner); 97 | gridc := maindsgn.GridResolution; 98 | 99 | dx := dx - (dx mod gridc); 100 | dy := dy - (dy mod gridc); 101 | 102 | case direction of 103 | 1: wgd.Widget.MoveAndResizeBy(dx, dy, -dx, -dy); 104 | 2: wgd.Widget.MoveAndResizeBy(0, dy, 0, -dy); 105 | 3: wgd.Widget.MoveAndResizeBy(0, dy, dx, -dy); 106 | 4: wgd.Widget.MoveAndResizeBy(0, 0, dx, 0); 107 | 5: wgd.Widget.MoveAndResizeBy(0, 0, dx, dy); 108 | 6: wgd.Widget.MoveAndResizeBy(0, 0, 0, dy); 109 | 7: wgd.Widget.MoveAndResizeBy(dx, 0, -dx, dy); 110 | 8: wgd.Widget.MoveAndResizeBy(dx, 0, -dx, 0); 111 | end; 112 | wgd.UpdateResizerPositions; 113 | wgd.FormDesigner.UpdatePropWin; 114 | end; 115 | 116 | constructor TwgResizer.Create(ACompDesigner: TObject; adirection: integer); 117 | begin 118 | inherited Create(TWidgetDesigner(aCompDesigner).Widget.Parent); 119 | FBackgroundColor := $404040; 120 | wgdesigner := aCompDesigner; 121 | FDragging := False; 122 | Width := 5; 123 | Height := 5; 124 | direction := adirection; 125 | case direction of 126 | 1: MouseCursor := mcSizeSENW; // top left 127 | 2: MouseCursor := mcSizeNS; // top 128 | 3: MouseCursor := mcSizeSWNE; // top right 129 | 4: MouseCursor := mcSizeEW; // right 130 | 5: MouseCursor := mcSizeNWSE; // bottom right 131 | 6: MouseCursor := mcSizeNS; // bottom 132 | 7: MouseCursor := mcSizeNESW; // bottom left 133 | 8: MouseCursor := mcSizeEW; // left 134 | end; 135 | end; 136 | 137 | procedure TwgResizer.Show; 138 | begin 139 | HandleShow; 140 | end; 141 | 142 | end. 143 | 144 | -------------------------------------------------------------------------------- /src/vfd_utils.pas: -------------------------------------------------------------------------------- 1 | { 2 | This unit is part of the fpGUI Toolkit project. 3 | 4 | Copyright (c) 2006 - 2016 by Graeme Geldenhuys. 5 | 6 | See the file COPYING.modifiedLGPL, included in this distribution, 7 | for details about redistributing fpGUI. 8 | 9 | This program is distributed in the hope that it will be useful, 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 12 | 13 | Description: 14 | Some utility functions. 15 | } 16 | 17 | unit vfd_utils; 18 | 19 | {$mode objfpc}{$H+} 20 | 21 | /// for custom compil, like using fpgui-dvelop => edit define.inc 22 | {$I define.inc} 23 | 24 | interface 25 | 26 | uses 27 | Classes, 28 | SysUtils, 29 | fpg_widget, 30 | fpg_form, 31 | fpg_label, 32 | fpg_edit, 33 | fpg_button, 34 | fpg_memo, 35 | fpg_checkbox; 36 | 37 | 38 | procedure SetWidgetText(wg: TfpgWidget; txt: string); 39 | function GetWidgetText(wg: TfpgWidget; out txt: string): boolean; 40 | { generates a string based on Indentation Style specified in UI Designer } 41 | function Ind(const ACount: integer): string; 42 | 43 | 44 | implementation 45 | 46 | uses 47 | fpg_base, 48 | fpg_iniutils, 49 | strutils; 50 | 51 | var 52 | IndentCharacters: array[0..1] of TfpgString = (' ', #9); 53 | 54 | 55 | procedure SetWidgetText(wg: TfpgWidget; txt: string); 56 | begin 57 | if wg is TfpgForm then 58 | TfpgForm(wg).WindowTitle := txt 59 | else if wg is TfpgLabel then 60 | TfpgLabel(wg).Text := txt 61 | else if wg is TfpgEdit then 62 | TfpgEdit(wg).Text := txt 63 | else if wg is TfpgMemo then 64 | TfpgMemo(wg).Text := txt 65 | else if wg is TfpgButton then 66 | TfpgButton(wg).Text := txt 67 | else if wg is TfpgCheckBox then 68 | TfpgCheckBox(wg).Text := txt; 69 | end; 70 | 71 | function GetWidgetText(wg: TfpgWidget; out txt: string): boolean; 72 | begin 73 | Result := True; 74 | if wg is TfpgForm then 75 | txt := TfpgForm(wg).WindowTitle 76 | else if wg is TfpgLabel then 77 | txt := TfpgLabel(wg).Text 78 | else if wg is TfpgEdit then 79 | txt := TfpgEdit(wg).Text 80 | else if wg is TfpgMemo then 81 | txt := TfpgMemo(wg).Text 82 | else if wg is TfpgButton then 83 | txt := TfpgButton(wg).Text 84 | else if wg is TfpgCheckBox then 85 | txt := TfpgCheckBox(wg).Text 86 | else 87 | begin 88 | Result := False; 89 | txt := ''; 90 | end; 91 | end; 92 | 93 | function Ind(const ACount: integer): string; 94 | begin 95 | Result := DupeString(IndentCharacters[gINI.ReadInteger('Options', 'IndentationType', 0)], ACount); 96 | end; 97 | 98 | end. 99 | 100 | -------------------------------------------------------------------------------- /src/xatom.pp: -------------------------------------------------------------------------------- 1 | // This is a dummy file for compatibitily with static linking. 2 | // all is transfered to xlib.pas 3 | unit xatom; 4 | interface 5 | implementation 6 | end. 7 | -------------------------------------------------------------------------------- /src/xdynload.pas: -------------------------------------------------------------------------------- 1 | unit xdynload; 2 | 3 | {$mode objfpc}{$H+} 4 | 5 | interface 6 | 7 | uses 8 | sysutils, xlib, xftlib; 9 | 10 | 11 | const 12 | fX11='libX11.so.6'; 13 | fXft='libXft.so.2'; 14 | 15 | Function xdynloadlib(const libfilename1:string = '' ; const libfilename2:string = '') :boolean; 16 | procedure xdynunloadlib(); 17 | 18 | implementation 19 | 20 | Function xdynloadlib(const libfilename1:string = '' ; const libfilename2:string = '') :boolean; 21 | var 22 | libX11, libXft: string; 23 | begin 24 | result := false; 25 | 26 | if (libfilename1 = '') and (libfilename2 = '') then 27 | begin 28 | libX11 := fX11; 29 | libXft := fXft; 30 | end else 31 | begin 32 | libX11 := libfilename1; 33 | libXft := libfilename2; 34 | end; 35 | 36 | result := x_Load(libX11) ; 37 | result := xft_Load(libXft); 38 | end; 39 | 40 | procedure xdynunloadlib() ; 41 | begin 42 | xft_unLoad(); 43 | x_unLoad(); 44 | end; 45 | 46 | end. 47 | -------------------------------------------------------------------------------- /src/xext.pas: -------------------------------------------------------------------------------- 1 | { This is the dynamic loader header of xrender library. 2 | Use xren_load() to dynamically load libXrender.so.1 3 | Fredvs ---> fiens@hotmail.com 4 | } 5 | 6 | unit xext; 7 | 8 | interface 9 | {$mode objfpc}{$H+} 10 | 11 | uses 12 | dynlibs, ctypes, x, xlib ; 13 | {$define MACROS} 14 | 15 | const 16 | libXext='libXext.so.6'; 17 | 18 | type 19 | // XSync extension types 20 | TXSyncCounter = TXID; 21 | TXSyncValue = record 22 | hi: cint; 23 | lo: cunsigned; 24 | end; 25 | 26 | // XSync functions 27 | var XSyncCreateCounter: function(dpy: PXDisplay; initial_value: TXSyncValue): TXSyncCounter; cdecl; 28 | var XSyncSetCounter: function(dpy: PXDisplay; counter: TXSyncCounter; value: TXSyncValue): TStatus; cdecl; 29 | var XSyncDestroyCounter: function(dpy: PXDisplay; counter: TXSyncCounter ): TStatus; cdecl; 30 | 31 | var xext_Handle:TLibHandle=dynlibs.NilHandle; 32 | 33 | var ReferenceCounter : cardinal = 0; // Reference counter 34 | 35 | function xext_IsLoaded() : boolean; inline; 36 | 37 | function xext_Load(const libfilename:string = libXext) :boolean; // load the lib 38 | 39 | procedure xext_Unload(); // unload and frees the lib from memory : do not forget to call it before close application. 40 | 41 | implementation 42 | 43 | function xext_IsLoaded(): boolean; 44 | begin 45 | Result := (xext_Handle <> dynlibs.NilHandle); 46 | end; 47 | 48 | Function xext_Load (const libfilename:string = libXext) :boolean; 49 | begin 50 | Result := False; 51 | if xext_Handle<>0 then 52 | begin 53 | Inc(ReferenceCounter); 54 | result:=true {is it already there ?} 55 | end else 56 | begin {go & load the library} 57 | if Length(libfilename) = 0 then exit; 58 | xext_Handle:=DynLibs.SafeLoadLibrary(libfilename); // obtain the handle we want 59 | if xext_Handle <> DynLibs.NilHandle then 60 | begin {now we tie the functions to the VARs from above} 61 | 62 | Pointer(XSyncCreateCounter):=DynLibs.GetProcedureAddress(xext_Handle,PChar('XSyncCreateCounter')); 63 | Pointer(XSyncSetCounter):=DynLibs.GetProcedureAddress(xext_Handle,PChar('XSyncSetCounter')); 64 | Pointer(XSyncDestroyCounter):=DynLibs.GetProcedureAddress(xext_Handle,PChar('XSyncDestroyCounter')); 65 | 66 | end; 67 | Result := xext_IsLoaded(); 68 | ReferenceCounter:=1; 69 | end; 70 | 71 | end; 72 | 73 | Procedure xext_Unload(); 74 | begin 75 | // < Reference counting 76 | if ReferenceCounter > 0 then 77 | dec(ReferenceCounter); 78 | if ReferenceCounter > 0 then 79 | exit; 80 | // > 81 | if xext_IsLoaded() then 82 | begin 83 | if xext_Handle <> DynLibs.NilHandle then 84 | DynLibs.UnloadLibrary(xext_Handle); 85 | xext_Handle:=DynLibs.NilHandle; 86 | end; 87 | end; 88 | 89 | end. 90 | -------------------------------------------------------------------------------- /src/xutil.pp: -------------------------------------------------------------------------------- 1 | // This is a dummy file for compatibitily with static linking. 2 | // ---> all xutil.pp code transfered to xlib.pp 3 | unit xutil; 4 | interface 5 | implementation 6 | end. -------------------------------------------------------------------------------- /template/fpGUIDirectTemplate.pas: -------------------------------------------------------------------------------- 1 | program fpGUIDirectTemplate; 2 | 3 | {$mode objfpc}{$H+} 4 | 5 | uses 6 | {%units 'Auto-generated GUI code'} 7 | 8 | {%endunits} 9 | fpg_main, 10 | fpg_form; 11 | 12 | type 13 | Tform1 = class(TfpgForm) 14 | private 15 | {@VFD_HEAD_BEGIN: form1} 16 | {@VFD_HEAD_END: form1} 17 | public 18 | procedure AfterCreate; override; 19 | end; 20 | 21 | {@VFD_NEWFORM_DECL} 22 | {@VFD_NEWFORM_IMPL} 23 | 24 | procedure Tform1.AfterCreate; 25 | begin 26 | {%region 'Auto-generated GUI code' -fold} 27 | 28 | {@VFD_BODY_BEGIN: form1} 29 | Name := 'form1'; 30 | SetPosition(498, 199, 502, 385); 31 | WindowTitle := 'form1'; 32 | Hint := ''; 33 | BackGroundColor := $80000001; 34 | 35 | {@VFD_BODY_END: form1} 36 | {%endregion} 37 | end; 38 | 39 | procedure MainProc; 40 | var 41 | frm: Tform1; 42 | begin 43 | fpgApplication.Initialize; 44 | fpgApplication.CreateForm(Tform1, frm); 45 | fpgApplication.MainForm := frm; 46 | try 47 | frm.Show; 48 | fpgApplication.Run; 49 | finally 50 | frm.Free; 51 | end; 52 | end; 53 | 54 | begin 55 | MainProc; 56 | end. 57 | -------------------------------------------------------------------------------- /template/fpGUITemplate.lpi: -------------------------------------------------------------------------------- 1 | <?xml version="1.0"?> 2 | <CONFIG> 3 | <ProjectOptions> 4 | <Version Value="9"/> 5 | <PathDelim Value="\"/> 6 | <General> 7 | <Flags> 8 | <MainUnitHasCreateFormStatements Value="False"/> 9 | <MainUnitHasTitleStatement Value="False"/> 10 | <UseDefaultCompilerOptions Value="True"/> 11 | </Flags> 12 | <SessionStorage Value="InProjectDir"/> 13 | <MainUnit Value="0"/> 14 | <Title Value="fpGUITemplate"/> 15 | <UseAppBundle Value="False"/> 16 | <ResourceType Value="res"/> 17 | </General> 18 | <i18n> 19 | <EnableI18N LFM="False"/> 20 | </i18n> 21 | <VersionInfo> 22 | <StringTable ProductVersion=""/> 23 | </VersionInfo> 24 | <BuildModes Count="1"> 25 | <Item1 Name="Default" Default="True"/> 26 | </BuildModes> 27 | <PublishOptions> 28 | <Version Value="2"/> 29 | <IncludeFileFilter Value="*.(pas|pp|inc|lfm|lpr|lrs|lpi|lpk|sh|xml)"/> 30 | <ExcludeFileFilter Value="*.(bak|ppu|o|so);*~;backup"/> 31 | </PublishOptions> 32 | <RunParams> 33 | <local> 34 | <FormatVersion Value="1"/> 35 | </local> 36 | </RunParams> 37 | <Units Count="1"> 38 | <Unit0> 39 | <Filename Value="fpGUITemplate.lpr"/> 40 | <IsPartOfProject Value="True"/> 41 | </Unit0> 42 | </Units> 43 | </ProjectOptions> 44 | <CompilerOptions> 45 | <Version Value="11"/> 46 | <PathDelim Value="\"/> 47 | <Target> 48 | <Filename Value="project1"/> 49 | </Target> 50 | <SearchPaths> 51 | <UnitOutputDirectory Value="lib\$(TargetCPU)-$(TargetOS)"/> 52 | </SearchPaths> 53 | <Other> 54 | <CompilerMessages> 55 | <MsgFileName Value=""/> 56 | </CompilerMessages> 57 | <CompilerPath Value="$(CompPath)"/> 58 | </Other> 59 | </CompilerOptions> 60 | <Debugging> 61 | <Exceptions Count="3"> 62 | <Item1> 63 | <Name Value="EAbort"/> 64 | </Item1> 65 | <Item2> 66 | <Name Value="ECodetoolError"/> 67 | </Item2> 68 | <Item3> 69 | <Name Value="EFOpenError"/> 70 | </Item3> 71 | </Exceptions> 72 | </Debugging> 73 | </CONFIG> 74 | -------------------------------------------------------------------------------- /template/fpGUITemplate.lpr: -------------------------------------------------------------------------------- 1 | program fpGUITemplate; 2 | 3 | {$mode objfpc}{$H+} 4 | {$DEFINE UseCThreads} 5 | 6 | uses {$IFDEF UNIX} {$IFDEF UseCThreads} 7 | {$ENDIF} {$ENDIF} 8 | fpg_main, 9 | fpg_form { you can add units after this }; 10 | 11 | type 12 | Tform1 = class(TfpgForm) 13 | private 14 | {@VFD_HEAD_BEGIN: form1} 15 | {@VFD_HEAD_END: form1} 16 | public 17 | procedure AfterCreate; override; 18 | end; 19 | 20 | {@VFD_NEWFORM_DECL} 21 | {@VFD_NEWFORM_IMPL} 22 | 23 | procedure Tform1.AfterCreate; 24 | begin 25 | {%region 'Auto-generated GUI code' -fold} 26 | 27 | {@VFD_BODY_BEGIN: form1} 28 | Name := 'form1'; 29 | SetPosition(346, 240, 502, 385); 30 | WindowTitle := 'form1'; 31 | Hint := ''; 32 | {@VFD_BODY_END: form1} 33 | {%endregion} 34 | end; 35 | 36 | procedure MainProc; 37 | var 38 | frm: Tform1; 39 | begin 40 | fpgApplication.Initialize; 41 | fpgApplication.CreateForm(Tform1, frm); 42 | fpgApplication.MainForm := frm; 43 | try 44 | frm.Show; 45 | frm.UpdateWindowPosition; 46 | fpgApplication.Run; 47 | finally 48 | frm.Free; 49 | end; 50 | end; 51 | 52 | begin 53 | MainProc; 54 | end. 55 | --------------------------------------------------------------------------------