├── .gitignore ├── LICENSE ├── image └── feditor.png ├── readme.md ├── resource ├── Japanese.lng ├── bmp │ ├── Thumbs.db │ ├── box.bmp │ ├── circle.bmp │ ├── close_x.bmp │ ├── cursor.bmp │ ├── freehand.bmp │ ├── label.bmp │ ├── labelrect.bmp │ ├── line.bmp │ ├── linklabel.bmp │ ├── pin.bmp │ ├── refresh.bmp │ ├── select.bmp │ ├── text.bmp │ ├── top.bmp │ └── view.bmp ├── editor_Icon.ico ├── help.fip ├── icon │ ├── editor_Icon.ico │ ├── icon.svg │ ├── icon_150x150.png │ ├── icon_44x44.png │ └── icon_512x512.png ├── setting2.ini ├── shape │ ├── Thumbs.db │ ├── dia.bmp │ ├── downward_trapezoid.bmp │ ├── ellipse.bmp │ ├── hex.bmp │ ├── link_dash.bmp │ ├── link_dashdot.bmp │ ├── link_dashdotdot.bmp │ ├── link_default.bmp │ ├── link_dot.bmp │ ├── link_wedge.bmp │ ├── linkc_dash.bmp │ ├── linkc_dashdot.bmp │ ├── linkc_dashdotdot.bmp │ ├── linkc_default.bmp │ ├── linkc_dot.bmp │ ├── linkc_wedge.bmp │ ├── none.bmp │ ├── penstyle.bmp │ ├── penstyle_office.bmp │ ├── rect.bmp │ ├── rrect.bmp │ ├── rrect2.bmp │ ├── smallcircle.bmp │ ├── smalldia.bmp │ ├── smallhex.bmp │ ├── smallrect.bmp │ ├── smallstar.bmp │ ├── smalltriangle_d.bmp │ ├── smalltriangle_u.bmp │ └── upward_trapezoid.bmp └── wallpaper │ ├── Thumbs.db │ ├── gradation_o.jpg │ ├── gradation_p.jpg │ ├── gradation_s.jpg │ ├── gradation_y.jpg │ ├── randomcircle.jpg │ └── randomcircle2.jpg └── src ├── feditor.cbproj ├── feditor.cpp ├── feditor.res ├── forms ├── desktop.ini ├── foabout.cpp ├── foabout.dfm ├── foabout.h ├── foedittext.cpp ├── foedittext.dfm ├── foedittext.h ├── fofullscreen.cpp ├── fofullscreen.dfm ├── fofullscreen.h ├── foinformation.cpp ├── foinformation.dfm ├── foinformation.h ├── folabeledit.cpp ├── folabeledit.dfm ├── folabeledit.h ├── fomain.cpp ├── fomain.dfm ├── fomain.h ├── fomain_arrange.cpp ├── fomain_arrange.h ├── fomain_bganimation.cpp ├── fomain_bganimation.h ├── fomain_iterscore.cpp ├── fomain_iterscore.h ├── foprogress.cpp ├── foprogress.dfm ├── foprogress.h ├── forandomanimation.cpp ├── forandomanimation.dfm ├── forandomanimation.h ├── forandomcard.cpp ├── forandomcard.dfm ├── forandomcard.h ├── fosearch.cpp ├── fosearch.dfm ├── fosearch.h ├── foselectcard.cpp ├── foselectcard.dfm ├── foselectcard.h ├── foshape.cpp ├── foshape.dfm ├── foshape.h ├── foview.cpp ├── foview.dfm └── foview.h └── utils ├── card.cpp ├── card.h ├── document.cpp ├── document.h ├── drawing.cpp ├── drawing.h ├── dsdecoder.cpp ├── dsdecoder.h ├── inet.cpp ├── inet.h ├── label.cpp ├── label.h ├── link.cpp ├── link.h ├── setting.cpp ├── setting.h ├── textproc.cpp ├── textproc.h ├── utils.cpp └── utils.h /.gitignore: -------------------------------------------------------------------------------- 1 | *.obj 2 | *.exe 3 | *.ilc 4 | *.ild 5 | *.ilf 6 | *.ils 7 | *.map 8 | *.tds 9 | *.ini 10 | *.d 11 | *.o 12 | *.~*~ 13 | *.local 14 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | BSD 3-Clause License 2 | 3 | Copyright (c) 2006-2020, Frieve 4 | All rights reserved. 5 | 6 | Redistribution and use in source and binary forms, with or without 7 | modification, are permitted provided that the following conditions are met: 8 | 9 | 1. Redistributions of source code must retain the above copyright notice, this 10 | list of conditions and the following disclaimer. 11 | 12 | 2. Redistributions in binary form must reproduce the above copyright notice, 13 | this list of conditions and the following disclaimer in the documentation 14 | and/or other materials provided with the distribution. 15 | 16 | 3. Neither the name of the copyright holder nor the names of its 17 | contributors may be used to endorse or promote products derived from 18 | this software without specific prior written permission. 19 | 20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 21 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 24 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 28 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | -------------------------------------------------------------------------------- /image/feditor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/image/feditor.png -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- 1 | # Frieve Editor 2 | 3 | (Japanese document is below. 日本語の解説は下にあります) 4 | 5 | ## What is Frieve Editor? 6 | 7 | An idea processor to help you think and conceive very complex thoughts and ideas. 8 | 9 | This software runs on Windows. 10 | 11 | 12 | 13 | 14 | 15 | ## How to download and install 16 | 17 | Latest version for 64bit Windows can be downloaded from the following page. 18 | 19 | https://github.com/Frieve-A/Frieve-Editor/releases 20 | 21 | Unzip the downloaded zip file and run the exe file to launch the app. No installation is required. 22 | 23 | 24 | 25 | ## How to build 26 | 27 | 1. Download and install the C++ Builder Community Edition from the following link. 28 | 29 | https://www.embarcadero.com/products/cbuilder/starter 30 | 31 | 2. Open "src/feditor.cbprpj" from the C++ Builder and build. 32 | 33 | feditor.exe will be created at "build\win64\release". 34 | 35 | 36 | 37 | ## How to use 38 | 39 | Open the help.fip file in the Frieve Editor. You can refer to the help created by Frieve Editor (currently only available in Japanese). 40 | 41 | You can open the help.fip file with a text editor and translate it with a translation service on the web. 42 | 43 | 44 | 45 | 46 | 47 | ## Frieve Editorとは? 48 | 49 | Frieve Editorは複雑な思考や斬新なアイデアの発想を支援するアイデアプロセッサです。 50 | 51 | このソフトウェアはWindows上で動作します。 52 | 53 | 54 | 55 | #### デモ動画 56 | 57 | アイデア発想法:Frieve Editorのご紹介とセルフブレストのすゝめ 58 | https://www.youtube.com/watch?v=0ZA-sX9m97Y 59 | 60 | アイデアプロセッサ Frieve Editor 61 | https://www.youtube.com/watch?v=lAkkPV_coTI 62 | 63 | 64 | 65 | ## ダウンロードとインストール 66 | 67 | 以下のページよりFrieve Editorをダウンロードします。現状64bit Windows版のみが利用できます。 68 | 69 | https://github.com/Frieve-A/Frieve-Editor/releases 70 | 71 | ダウンロードしたzipファイルを解凍し、exeファイルを実行するとアプリが起動します(インストールは不要です)。 72 | 73 | メニュー表示を日本語化するには、Viewメニュー、Change LanguageからJapaneseを選択し、アプリを再起動します 74 | 75 | 76 | 77 | ## ビルド方法 78 | 79 | 1. 以下のページより C++ Builder Community Edition をダウンロード、インストールします。 80 | 81 | https://www.embarcadero.com/jp/products/cbuilder/starter 82 | 83 | 2. C++ Builderより "src/feditor.cbprpj" を開き、ビルドします。 84 | 85 | "build\win64\release"フォルダにfeditor.exeが作成されます。 86 | 87 | 88 | 89 | ## 使い方 90 | 91 | Frieve Editorを起動し、help.fipを開きます。Frieve Editorにて作成されたヘルプを参照することができます。 92 | 93 | 94 | -------------------------------------------------------------------------------- /resource/Japanese.lng: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/Japanese.lng -------------------------------------------------------------------------------- /resource/bmp/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/bmp/Thumbs.db -------------------------------------------------------------------------------- /resource/bmp/box.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/bmp/box.bmp -------------------------------------------------------------------------------- /resource/bmp/circle.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/bmp/circle.bmp -------------------------------------------------------------------------------- /resource/bmp/close_x.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/bmp/close_x.bmp -------------------------------------------------------------------------------- /resource/bmp/cursor.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/bmp/cursor.bmp -------------------------------------------------------------------------------- /resource/bmp/freehand.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/bmp/freehand.bmp -------------------------------------------------------------------------------- /resource/bmp/label.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/bmp/label.bmp -------------------------------------------------------------------------------- /resource/bmp/labelrect.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/bmp/labelrect.bmp -------------------------------------------------------------------------------- /resource/bmp/line.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/bmp/line.bmp -------------------------------------------------------------------------------- /resource/bmp/linklabel.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/bmp/linklabel.bmp -------------------------------------------------------------------------------- /resource/bmp/pin.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/bmp/pin.bmp -------------------------------------------------------------------------------- /resource/bmp/refresh.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/bmp/refresh.bmp -------------------------------------------------------------------------------- /resource/bmp/select.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/bmp/select.bmp -------------------------------------------------------------------------------- /resource/bmp/text.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/bmp/text.bmp -------------------------------------------------------------------------------- /resource/bmp/top.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/bmp/top.bmp -------------------------------------------------------------------------------- /resource/bmp/view.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/bmp/view.bmp -------------------------------------------------------------------------------- /resource/editor_Icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/editor_Icon.ico -------------------------------------------------------------------------------- /resource/help.fip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/help.fip -------------------------------------------------------------------------------- /resource/icon/editor_Icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/icon/editor_Icon.ico -------------------------------------------------------------------------------- /resource/icon/icon.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 22 | 24 | 42 | 44 | 45 | 47 | image/svg+xml 48 | 50 | 51 | 52 | 53 | 54 | 58 | 67 | 76 | 85 | 94 | 103 | 112 | Editor 125 | 138 | 139 | -------------------------------------------------------------------------------- /resource/icon/icon_150x150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/icon/icon_150x150.png -------------------------------------------------------------------------------- /resource/icon/icon_44x44.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/icon/icon_44x44.png -------------------------------------------------------------------------------- /resource/icon/icon_512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/icon/icon_512x512.png -------------------------------------------------------------------------------- /resource/setting2.ini: -------------------------------------------------------------------------------- 1 | [WebSearch] 2 | Google=http://www.google.com/search?q= 3 | Yahoo=http://search.yahoo.com/search?p= 4 | Wikipedia=http://ja.wikipedia.org/wiki/ 5 | [GPTSystem] 6 | SystemPrompt=Response should only be a single processing result. No additional explanations or excuses needed. Respond in the last language of the user's instructions without translating unless otherwise instructed by the user. 7 | [GPT] 8 | Create=Insert,(Input) 9 | -= 10 | Continue=InsertAfter, Generate text that follow the text below. 11 | Simplify=Replace,Replace the text below with simpler text. 12 | Longer=Replace,Inflate the text below and replace it with longer text than the original. 13 | Summarize=Replace,Summarize and replace the following text. 14 | Proofread=Replace,You are a professional multilingual proofreader. Replace the text below with the corrected text for grammar, misspellings, etc. If you do not need proofreading, please answer the original text as it is. 15 | -= 16 | Translate to English=Replace,Translate the following sentences into English. 17 | Translate to Japanese=Replace,Translate the following sentences into Japanese. 18 | -= 19 | Title=Title,Create a title based on the following sentences.Responses should be in the original language. 20 | -------------------------------------------------------------------------------- /resource/shape/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/shape/Thumbs.db -------------------------------------------------------------------------------- /resource/shape/dia.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/shape/dia.bmp -------------------------------------------------------------------------------- /resource/shape/downward_trapezoid.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/shape/downward_trapezoid.bmp -------------------------------------------------------------------------------- /resource/shape/ellipse.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/shape/ellipse.bmp -------------------------------------------------------------------------------- /resource/shape/hex.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/shape/hex.bmp -------------------------------------------------------------------------------- /resource/shape/link_dash.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/shape/link_dash.bmp -------------------------------------------------------------------------------- /resource/shape/link_dashdot.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/shape/link_dashdot.bmp -------------------------------------------------------------------------------- /resource/shape/link_dashdotdot.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/shape/link_dashdotdot.bmp -------------------------------------------------------------------------------- /resource/shape/link_default.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/shape/link_default.bmp -------------------------------------------------------------------------------- /resource/shape/link_dot.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/shape/link_dot.bmp -------------------------------------------------------------------------------- /resource/shape/link_wedge.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/shape/link_wedge.bmp -------------------------------------------------------------------------------- /resource/shape/linkc_dash.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/shape/linkc_dash.bmp -------------------------------------------------------------------------------- /resource/shape/linkc_dashdot.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/shape/linkc_dashdot.bmp -------------------------------------------------------------------------------- /resource/shape/linkc_dashdotdot.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/shape/linkc_dashdotdot.bmp -------------------------------------------------------------------------------- /resource/shape/linkc_default.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/shape/linkc_default.bmp -------------------------------------------------------------------------------- /resource/shape/linkc_dot.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/shape/linkc_dot.bmp -------------------------------------------------------------------------------- /resource/shape/linkc_wedge.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/shape/linkc_wedge.bmp -------------------------------------------------------------------------------- /resource/shape/none.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/shape/none.bmp -------------------------------------------------------------------------------- /resource/shape/penstyle.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/shape/penstyle.bmp -------------------------------------------------------------------------------- /resource/shape/penstyle_office.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/shape/penstyle_office.bmp -------------------------------------------------------------------------------- /resource/shape/rect.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/shape/rect.bmp -------------------------------------------------------------------------------- /resource/shape/rrect.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/shape/rrect.bmp -------------------------------------------------------------------------------- /resource/shape/rrect2.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/shape/rrect2.bmp -------------------------------------------------------------------------------- /resource/shape/smallcircle.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/shape/smallcircle.bmp -------------------------------------------------------------------------------- /resource/shape/smalldia.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/shape/smalldia.bmp -------------------------------------------------------------------------------- /resource/shape/smallhex.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/shape/smallhex.bmp -------------------------------------------------------------------------------- /resource/shape/smallrect.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/shape/smallrect.bmp -------------------------------------------------------------------------------- /resource/shape/smallstar.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/shape/smallstar.bmp -------------------------------------------------------------------------------- /resource/shape/smalltriangle_d.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/shape/smalltriangle_d.bmp -------------------------------------------------------------------------------- /resource/shape/smalltriangle_u.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/shape/smalltriangle_u.bmp -------------------------------------------------------------------------------- /resource/shape/upward_trapezoid.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/shape/upward_trapezoid.bmp -------------------------------------------------------------------------------- /resource/wallpaper/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/wallpaper/Thumbs.db -------------------------------------------------------------------------------- /resource/wallpaper/gradation_o.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/wallpaper/gradation_o.jpg -------------------------------------------------------------------------------- /resource/wallpaper/gradation_p.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/wallpaper/gradation_p.jpg -------------------------------------------------------------------------------- /resource/wallpaper/gradation_s.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/wallpaper/gradation_s.jpg -------------------------------------------------------------------------------- /resource/wallpaper/gradation_y.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/wallpaper/gradation_y.jpg -------------------------------------------------------------------------------- /resource/wallpaper/randomcircle.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/wallpaper/randomcircle.jpg -------------------------------------------------------------------------------- /resource/wallpaper/randomcircle2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/resource/wallpaper/randomcircle2.jpg -------------------------------------------------------------------------------- /src/feditor.cbproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | {6D49B9E8-B49C-4495-9C05-C43B1F7169F1} 4 | 18.8 5 | VCL 6 | Application 7 | feditor.cpp 8 | True 9 | Debug 10 | Win64 11 | 3 12 | 13 | 14 | true 15 | 16 | 17 | true 18 | Base 19 | true 20 | 21 | 22 | true 23 | Base 24 | true 25 | 26 | 27 | true 28 | Base 29 | true 30 | 31 | 32 | true 33 | Cfg_1 34 | true 35 | true 36 | 37 | 38 | true 39 | Cfg_1 40 | true 41 | true 42 | 43 | 44 | true 45 | Base 46 | true 47 | 48 | 49 | true 50 | Cfg_2 51 | true 52 | true 53 | 54 | 55 | true 56 | Cfg_2 57 | true 58 | true 59 | 60 | 61 | JPHNE 62 | ..\build\$(Platform)\$(Config) 63 | ..\build\$(Platform)\$(Config) 64 | false 65 | true 66 | true 67 | $(BDSLIB)\$(PLATFORM)\release\$(LANGDIR);$(ILINK_TranslatedLibraryPath) 68 | CppVCLApplication 69 | System;Xml;Data;Datasnap;Web;Soap;Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;$(DCC_Namespace) 70 | rtl.lib;vcl.lib;bcbie.lib;vclx.lib;IndyProtocols.lib;IndyCore.lib;IndySystem.lib 71 | <_TCHARMapping>wchar_t 72 | true 73 | $(BDS)\bin\cbuilder_PROJECTICON.ico 74 | $(BDS)\bin\Artwork\Windows\UWP\cppreg_UwpDefault_44.png 75 | $(BDS)\bin\Artwork\Windows\UWP\cppreg_UwpDefault_150.png 76 | forms\;utils\;..\;src\;src\utils\;src\forms\;..\..\..\..\..\Documents\program\feditor_2000_cb10\;$(IncludePath) 77 | forms\;utils\;..\;src\;src\utils\;src\forms\;..\..\..\..\..\Documents\program\feditor_2000_cb10\;$(ILINK_LibraryPath) 78 | feditor 79 | true 80 | 4 81 | true 82 | 1041 83 | CompanyName=Frieve;FileDescription=Frieve Editor;FileVersion=1.4.0.0;InternalName=;LegalCopyright=2006-2021 Frieve ;LegalTrademarks=;OriginalFilename=;ProgramID=com.frieve.feditor;ProductName=Frieve Editor;ProductVersion=1.0.0.0;Comments= 84 | 85 | 86 | adortl;appanalytics;bcbie;bcbsmp;bindcomp;bindcompdbx;bindcompfmx;bindcompvcl;bindengine;CloudService;CustomIPTransport;dbexpress;dbrtl;dbxcds;DbxClientDriver;DbxCommonDriver;DBXInterBaseDriver;DBXMySQLDriver;DBXSqliteDriver;dsnap;dsnapcon;dsnapxml;FireDAC;FireDACADSDriver;FireDACCommon;FireDACCommonDriver;FireDACCommonODBC;FireDACIBDriver;FireDACMSAccDriver;FireDACMySQLDriver;FireDACPgDriver;FireDACSqliteDriver;fmx;fmxase;fmxdae;fmxFireDAC;fmxobj;IndyCore;IndyIPClient;IndyIPCommon;IndyIPServer;IndyProtocols;IndySystem;inet;inetdb;inetdbxpress;RESTBackendComponents;RESTComponents;rtl;soapmidas;soaprtl;soapserver;svn;tethering;vcl;vclactnband;vcldb;vcldsnap;vclFireDAC;vclie;vclimg;VCLRESTComponents;VclSmp;vcltouch;vclwinx;vclx;xmlrtl;$(PackageImports) 87 | $(BDSINCLUDE)\windows\vcl;$(IncludePath) 88 | Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;$(DCC_Namespace) 89 | Debug 90 | CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments= 91 | 1033 92 | 0 93 | $(BDS)\bin\default_app.manifest 94 | ..\resource\icon\editor_Icon.ico 95 | ..\resource\icon\icon_44x44.png 96 | ..\resource\icon\icon_150x150.png 97 | 98 | 99 | adortl;appanalytics;bcbie;bcbsmp;bindcomp;bindcompdbx;bindcompfmx;bindcompvcl;bindengine;CloudService;CustomIPTransport;dbexpress;dbrtl;dbxcds;DbxClientDriver;DbxCommonDriver;DBXInterBaseDriver;DBXMySQLDriver;DBXSqliteDriver;dsnap;dsnapcon;dsnapxml;FireDAC;FireDACADSDriver;FireDACCommon;FireDACCommonDriver;FireDACCommonODBC;FireDACIBDriver;FireDACMSAccDriver;FireDACMySQLDriver;FireDACPgDriver;FireDACSqliteDriver;fmx;fmxase;fmxdae;fmxFireDAC;fmxobj;IndyCore;IndyIPClient;IndyIPCommon;IndyIPServer;IndyProtocols;IndySystem;inet;inetdb;inetdbxpress;RESTBackendComponents;RESTComponents;rtl;soapmidas;soaprtl;soapserver;tethering;vcl;vclactnband;vcldb;vcldsnap;vclFireDAC;vclie;vclimg;VCLRESTComponents;VclSmp;vcltouch;vclwinx;vclx;xmlrtl;$(PackageImports) 100 | $(BDSINCLUDE)\windows\vcl;$(IncludePath) 101 | Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;$(DCC_Namespace) 102 | Debug 103 | CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments= 104 | 1033 105 | $(BDS)\bin\default_app.manifest 106 | 0 107 | ..\resource\icon\editor_Icon.ico 108 | ..\resource\icon\icon_44x44.png 109 | ..\resource\icon\icon_150x150.png 110 | 111 | 112 | false 113 | true 114 | false 115 | true 116 | _DEBUG;$(Defines) 117 | false 118 | None 119 | DEBUG 120 | true 121 | true 122 | true 123 | true 124 | Full 125 | true 126 | true 127 | true 128 | true 129 | true 130 | $(BDSLIB)\$(PLATFORM)\debug;$(ILINK_LibraryPath) 131 | $(BDSLIB)\$(PLATFORM)\debug\$(LANGDIR);$(ILINK_TranslatedLibraryPath) 132 | 133 | 134 | true 135 | PerMonitorV2 136 | false 137 | 1033 138 | rtl.lib;vcl.lib;bcbie.lib;vclx.lib;IndyProtocols.lib;IndyCore.lib;IndySystem.lib 139 | 0 140 | true 141 | CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments= 142 | ..\resource\icon\editor_Icon.ico 143 | true 144 | true 145 | true 146 | true 147 | 148 | 149 | true 150 | PerMonitorV2 151 | 1033 152 | ..\resource\editor_Icon.ico 153 | 0 154 | rtl.lib;vcl.lib;bcbie.lib;vclx.lib;IndyProtocols.lib;IndyCore.lib;IndySystem.lib 155 | CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments= 156 | 157 | 158 | NDEBUG;$(Defines) 159 | None 160 | 161 | 162 | true 163 | PerMonitorV2 164 | false 165 | rtl.lib;vcl.lib;bcbie.lib;vclx.lib;IndyProtocols.lib;IndyCore.lib;IndySystem.lib 166 | AppStore 167 | 0 168 | 1033 169 | CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments= 170 | ..\resource\icon\editor_Icon.ico 171 | 172 | 173 | true 174 | PerMonitorV2 175 | ..\resource\icon\editor_Icon.ico 176 | 0 177 | 1033 178 | CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments= 179 | false 180 | rtl.lib;vcl.lib;bcbie.lib;vclx.lib;IndyProtocols.lib;IndyCore.lib;IndySystem.lib 181 | ..\resource\icon\icon_44x44.png 182 | ..\resource\icon\icon_150x150.png 183 | ..\..\..\frieve.pfx 184 | 852947C05F81078BA359716CD16AE34E81C60513A04997C197A00FAA8E6C3C8BDB0CA39AE3191C62C1BB5726FAB3C317BAE9365104262291163B45CFE5942290C916F30AD544FACCD38A3B45727385CBF7CF331BC3587243EB0A6E741202ECFD 185 | CN=Frieve 186 | AdHoc 187 | 188 | 189 | 190 | 0 191 | 192 | 193 |
Fo_About
194 | dfm 195 | forms\foabout.h 196 | 2 197 |
198 | 199 | 200 | 4 201 | 202 | 203 |
Fo_EditText
204 | dfm 205 | forms\foedittext.h 206 | 5 207 |
208 | 209 | 210 | 7 211 | 212 | 213 |
Fo_FullScreen
214 | dfm 215 | forms\fofullscreen.h 216 | 8 217 |
218 | 219 | 220 | 10 221 | 222 | 223 |
Fo_Information
224 | dfm 225 | forms\foinformation.h 226 | 11 227 |
228 | 229 | 230 | 13 231 | 232 | 233 |
Fo_LabelEdit
234 | dfm 235 | forms\folabeledit.h 236 | 14 237 |
238 | 239 | 240 | 16 241 | 242 | 243 |
Fo_Main
244 | dfm 245 | forms\fomain.h 246 | 17 247 |
248 | 249 | 250 | 19 251 | 252 | 253 | forms\fomain_arrange.h 254 | 20 255 | 256 | 257 | 21 258 | 259 | 260 | forms\fomain_bganimation.h 261 | 22 262 | 263 | 264 | 23 265 | 266 | 267 | forms\fomain_iterscore.h 268 | 24 269 | 270 | 271 | 25 272 | 273 | 274 |
Fo_Progress
275 | dfm 276 | forms\foprogress.h 277 | 26 278 |
279 | 280 | 281 | 28 282 | 283 | 284 |
Fo_RandomAnimation
285 | dfm 286 | forms\forandomanimation.h 287 | 29 288 |
289 | 290 | 291 | 31 292 | 293 | 294 |
Fo_RandomCard
295 | dfm 296 | forms\forandomcard.h 297 | 32 298 |
299 | 300 | 301 | 34 302 | 303 | 304 |
Fo_Search
305 | dfm 306 | forms\fosearch.h 307 | 35 308 |
309 | 310 | 311 | 37 312 | 313 | 314 |
Fo_Select
315 | dfm 316 | forms\foselectcard.h 317 | 38 318 |
319 | 320 | 321 | 40 322 | 323 | 324 |
Fo_Shape
325 | dfm 326 | forms\foshape.h 327 | 41 328 |
329 | 330 | 331 | 43 332 | 333 | 334 |
Fo_View
335 | dfm 336 | forms\foview.h 337 | 44 338 |
339 | 340 | 341 | 46 342 | 343 | 344 | utils\card.h 345 | 47 346 | 347 | 348 | 48 349 | 350 | 351 | utils\document.h 352 | 49 353 | 354 | 355 | 50 356 | 357 | 358 | utils\drawing.h 359 | 51 360 | 361 | 362 | 52 363 | 364 | 365 | utils\dsdecoder.h 366 | 53 367 | 368 | 369 | 54 370 | 371 | 372 | utils\inet.h 373 | 55 374 | 375 | 376 | 56 377 | 378 | 379 | utils\label.h 380 | 57 381 | 382 | 383 | 58 384 | 385 | 386 | utils\link.h 387 | 59 388 | 389 | 390 | 60 391 | 392 | 393 | utils\setting.h 394 | 61 395 | 396 | 397 | 62 398 | 399 | 400 | utils\textproc.h 401 | 63 402 | 403 | 404 | 64 405 | 406 | 407 | utils\utils.h 408 | 65 409 | 410 | 411 | 66 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 425 | 426 | 427 | Cfg_2 428 | Base 429 | 430 | 431 | Base 432 | 433 | 434 | Cfg_1 435 | Base 436 | 437 |
438 | 439 | CPlusPlusBuilder.Personality.12 440 | CppVCLApplication 441 | 442 | 443 | 444 | False 445 | True 446 | True 447 | False 448 | 449 | 450 | feditor.cpp 451 | 452 | 453 | Embarcadero C++Builder Office 2000 サーバー パッケージ 454 | Embarcadero C++Builder Office XP サーバー パッケージ 455 | 456 | 457 | 458 | 459 | 460 | .\ 461 | true 462 | 463 | 464 | 465 | 466 | true 467 | 468 | 469 | 470 | 471 | .\ 472 | true 473 | 474 | 475 | 476 | 477 | .\ 478 | true 479 | 480 | 481 | 482 | 483 | .\ 484 | true 485 | 486 | 487 | 488 | 489 | feditor.exe 490 | true 491 | 492 | 493 | 494 | 495 | true 496 | 497 | 498 | 499 | 500 | .\ 501 | true 502 | 503 | 504 | 505 | 506 | Assets\ 507 | Logo150x150.png 508 | true 509 | 510 | 511 | 512 | 513 | true 514 | 515 | 516 | 517 | 518 | .\ 519 | true 520 | 521 | 522 | 523 | 524 | .\ 525 | true 526 | 527 | 528 | 529 | 530 | .\ 531 | true 532 | 533 | 534 | 535 | 536 | .\ 537 | true 538 | 539 | 540 | 541 | 542 | true 543 | 544 | 545 | 546 | 547 | .\ 548 | true 549 | 550 | 551 | 552 | 553 | .\ 554 | true 555 | 556 | 557 | 558 | 559 | .\ 560 | true 561 | 562 | 563 | 564 | 565 | .\ 566 | true 567 | 568 | 569 | 570 | 571 | true 572 | 573 | 574 | 575 | 576 | true 577 | 578 | 579 | 580 | 581 | .\ 582 | true 583 | 584 | 585 | 586 | 587 | .\ 588 | true 589 | 590 | 591 | 592 | 593 | .\ 594 | true 595 | 596 | 597 | 598 | 599 | .\ 600 | true 601 | 602 | 603 | 604 | 605 | .\ 606 | true 607 | 608 | 609 | 610 | 611 | .\ 612 | true 613 | 614 | 615 | 616 | 617 | Assets\ 618 | Logo44x44.png 619 | true 620 | 621 | 622 | 623 | 624 | .\ 625 | true 626 | 627 | 628 | 629 | 630 | true 631 | 632 | 633 | 634 | 635 | true 636 | 637 | 638 | 639 | 640 | .\ 641 | true 642 | 643 | 644 | 645 | 646 | .\ 647 | true 648 | 649 | 650 | 651 | 652 | .\ 653 | true 654 | 655 | 656 | 657 | 658 | .\ 659 | true 660 | 661 | 662 | 663 | 664 | .\ 665 | true 666 | 667 | 668 | 669 | 670 | .\ 671 | true 672 | 673 | 674 | 675 | 676 | .\ 677 | true 678 | 679 | 680 | 681 | 682 | .\ 683 | true 684 | 685 | 686 | 687 | 688 | .\ 689 | true 690 | 691 | 692 | 693 | 694 | .\ 695 | true 696 | 697 | 698 | 699 | 700 | .\ 701 | true 702 | 703 | 704 | 705 | 706 | .\ 707 | true 708 | 709 | 710 | 711 | 712 | .\ 713 | true 714 | 715 | 716 | 717 | 718 | true 719 | 720 | 721 | 722 | 723 | .\ 724 | true 725 | 726 | 727 | 728 | 729 | true 730 | 731 | 732 | 733 | 734 | .\ 735 | true 736 | 737 | 738 | 739 | 740 | .\ 741 | true 742 | 743 | 744 | 745 | 746 | .\ 747 | true 748 | 749 | 750 | 751 | 752 | true 753 | 754 | 755 | 756 | 757 | .\ 758 | true 759 | 760 | 761 | 762 | 763 | .\ 764 | true 765 | 766 | 767 | 768 | 769 | .\ 770 | true 771 | 772 | 773 | 774 | 775 | .\ 776 | true 777 | 778 | 779 | 780 | 781 | .\ 782 | true 783 | 784 | 785 | 786 | 787 | .\ 788 | true 789 | 790 | 791 | 792 | 793 | .\ 794 | true 795 | 796 | 797 | 798 | 799 | true 800 | 801 | 802 | 803 | 804 | .\ 805 | true 806 | 807 | 808 | 809 | 810 | .\ 811 | true 812 | 813 | 814 | 815 | 816 | .\ 817 | true 818 | 819 | 820 | 821 | 822 | .\ 823 | true 824 | 825 | 826 | 827 | 828 | .\ 829 | true 830 | 831 | 832 | 833 | 834 | feditor.exe 835 | true 836 | 837 | 838 | 839 | 840 | .\ 841 | true 842 | 843 | 844 | 845 | 846 | .\ 847 | true 848 | 849 | 850 | 851 | 852 | .\ 853 | true 854 | 855 | 856 | 857 | 858 | Assets\ 859 | Logo150x150.png 860 | true 861 | 862 | 863 | 864 | 865 | .\ 866 | true 867 | 868 | 869 | 870 | 871 | true 872 | 873 | 874 | 875 | 876 | true 877 | 878 | 879 | 880 | 881 | true 882 | 883 | 884 | 885 | 886 | true 887 | 888 | 889 | 890 | 891 | true 892 | 893 | 894 | 895 | 896 | .\ 897 | true 898 | 899 | 900 | 901 | 902 | true 903 | 904 | 905 | 906 | 907 | true 908 | 909 | 910 | 911 | 912 | .\ 913 | true 914 | 915 | 916 | 917 | 918 | .\ 919 | true 920 | 921 | 922 | 923 | 924 | .\ 925 | true 926 | 927 | 928 | 929 | 930 | .\ 931 | true 932 | 933 | 934 | 935 | 936 | Assets\ 937 | Logo44x44.png 938 | true 939 | 940 | 941 | 942 | 943 | true 944 | 945 | 946 | 947 | 948 | .\ 949 | true 950 | 951 | 952 | 953 | 954 | .\ 955 | true 956 | 957 | 958 | 959 | 960 | true 961 | 962 | 963 | 964 | 965 | true 966 | 967 | 968 | 969 | 970 | .\ 971 | true 972 | 973 | 974 | 975 | 976 | feditor.exe 977 | true 978 | 979 | 980 | 981 | 982 | .\ 983 | true 984 | 985 | 986 | 987 | 988 | .\ 989 | true 990 | 991 | 992 | 993 | 994 | feditor.exe 995 | true 996 | 997 | 998 | 999 | 1000 | .\ 1001 | true 1002 | 1003 | 1004 | 1005 | 1006 | .\ 1007 | true 1008 | 1009 | 1010 | 1011 | 1012 | 1 1013 | 1014 | 1015 | Contents\MacOS 1016 | 1 1017 | 1018 | 1019 | 0 1020 | 1021 | 1022 | 1023 | 1024 | classes 1025 | 1 1026 | 1027 | 1028 | classes 1029 | 1 1030 | 1031 | 1032 | 1033 | 1034 | res\xml 1035 | 1 1036 | 1037 | 1038 | res\xml 1039 | 1 1040 | 1041 | 1042 | 1043 | 1044 | library\lib\armeabi-v7a 1045 | 1 1046 | 1047 | 1048 | 1049 | 1050 | library\lib\armeabi 1051 | 1 1052 | 1053 | 1054 | library\lib\armeabi 1055 | 1 1056 | 1057 | 1058 | 1059 | 1060 | library\lib\armeabi-v7a 1061 | 1 1062 | 1063 | 1064 | 1065 | 1066 | library\lib\mips 1067 | 1 1068 | 1069 | 1070 | library\lib\mips 1071 | 1 1072 | 1073 | 1074 | 1075 | 1076 | library\lib\armeabi-v7a 1077 | 1 1078 | 1079 | 1080 | library\lib\arm64-v8a 1081 | 1 1082 | 1083 | 1084 | 1085 | 1086 | library\lib\armeabi-v7a 1087 | 1 1088 | 1089 | 1090 | 1091 | 1092 | res\drawable 1093 | 1 1094 | 1095 | 1096 | res\drawable 1097 | 1 1098 | 1099 | 1100 | 1101 | 1102 | res\values 1103 | 1 1104 | 1105 | 1106 | res\values 1107 | 1 1108 | 1109 | 1110 | 1111 | 1112 | res\values-v21 1113 | 1 1114 | 1115 | 1116 | res\values-v21 1117 | 1 1118 | 1119 | 1120 | 1121 | 1122 | res\values 1123 | 1 1124 | 1125 | 1126 | res\values 1127 | 1 1128 | 1129 | 1130 | 1131 | 1132 | res\drawable 1133 | 1 1134 | 1135 | 1136 | res\drawable 1137 | 1 1138 | 1139 | 1140 | 1141 | 1142 | res\drawable-xxhdpi 1143 | 1 1144 | 1145 | 1146 | res\drawable-xxhdpi 1147 | 1 1148 | 1149 | 1150 | 1151 | 1152 | res\drawable-ldpi 1153 | 1 1154 | 1155 | 1156 | res\drawable-ldpi 1157 | 1 1158 | 1159 | 1160 | 1161 | 1162 | res\drawable-mdpi 1163 | 1 1164 | 1165 | 1166 | res\drawable-mdpi 1167 | 1 1168 | 1169 | 1170 | 1171 | 1172 | res\drawable-hdpi 1173 | 1 1174 | 1175 | 1176 | res\drawable-hdpi 1177 | 1 1178 | 1179 | 1180 | 1181 | 1182 | res\drawable-xhdpi 1183 | 1 1184 | 1185 | 1186 | res\drawable-xhdpi 1187 | 1 1188 | 1189 | 1190 | 1191 | 1192 | res\drawable-mdpi 1193 | 1 1194 | 1195 | 1196 | res\drawable-mdpi 1197 | 1 1198 | 1199 | 1200 | 1201 | 1202 | res\drawable-hdpi 1203 | 1 1204 | 1205 | 1206 | res\drawable-hdpi 1207 | 1 1208 | 1209 | 1210 | 1211 | 1212 | res\drawable-xhdpi 1213 | 1 1214 | 1215 | 1216 | res\drawable-xhdpi 1217 | 1 1218 | 1219 | 1220 | 1221 | 1222 | res\drawable-xxhdpi 1223 | 1 1224 | 1225 | 1226 | res\drawable-xxhdpi 1227 | 1 1228 | 1229 | 1230 | 1231 | 1232 | res\drawable-xxxhdpi 1233 | 1 1234 | 1235 | 1236 | res\drawable-xxxhdpi 1237 | 1 1238 | 1239 | 1240 | 1241 | 1242 | res\drawable-small 1243 | 1 1244 | 1245 | 1246 | res\drawable-small 1247 | 1 1248 | 1249 | 1250 | 1251 | 1252 | res\drawable-normal 1253 | 1 1254 | 1255 | 1256 | res\drawable-normal 1257 | 1 1258 | 1259 | 1260 | 1261 | 1262 | res\drawable-large 1263 | 1 1264 | 1265 | 1266 | res\drawable-large 1267 | 1 1268 | 1269 | 1270 | 1271 | 1272 | res\drawable-xlarge 1273 | 1 1274 | 1275 | 1276 | res\drawable-xlarge 1277 | 1 1278 | 1279 | 1280 | 1281 | 1282 | res\values 1283 | 1 1284 | 1285 | 1286 | res\values 1287 | 1 1288 | 1289 | 1290 | 1291 | 1292 | 1 1293 | 1294 | 1295 | Contents\MacOS 1296 | 1 1297 | 1298 | 1299 | 0 1300 | 1301 | 1302 | 1303 | 1304 | Contents\MacOS 1305 | 1 1306 | .framework 1307 | 1308 | 1309 | Contents\MacOS 1310 | 1 1311 | .framework 1312 | 1313 | 1314 | 0 1315 | 1316 | 1317 | 1318 | 1319 | 1 1320 | .dylib 1321 | 1322 | 1323 | 1 1324 | .dylib 1325 | 1326 | 1327 | 1 1328 | .dylib 1329 | 1330 | 1331 | Contents\MacOS 1332 | 1 1333 | .dylib 1334 | 1335 | 1336 | Contents\MacOS 1337 | 1 1338 | .dylib 1339 | 1340 | 1341 | 0 1342 | .dll;.bpl 1343 | 1344 | 1345 | 1346 | 1347 | 1 1348 | .dylib 1349 | 1350 | 1351 | 1 1352 | .dylib 1353 | 1354 | 1355 | 1 1356 | .dylib 1357 | 1358 | 1359 | Contents\MacOS 1360 | 1 1361 | .dylib 1362 | 1363 | 1364 | Contents\MacOS 1365 | 1 1366 | .dylib 1367 | 1368 | 1369 | 0 1370 | .bpl 1371 | 1372 | 1373 | 1374 | 1375 | 0 1376 | 1377 | 1378 | 0 1379 | 1380 | 1381 | 0 1382 | 1383 | 1384 | 0 1385 | 1386 | 1387 | 0 1388 | 1389 | 1390 | Contents\Resources\StartUp\ 1391 | 0 1392 | 1393 | 1394 | Contents\Resources\StartUp\ 1395 | 0 1396 | 1397 | 1398 | 0 1399 | 1400 | 1401 | 1402 | 1403 | 1 1404 | 1405 | 1406 | 1 1407 | 1408 | 1409 | 1 1410 | 1411 | 1412 | 1413 | 1414 | 1 1415 | 1416 | 1417 | 1 1418 | 1419 | 1420 | 1 1421 | 1422 | 1423 | 1424 | 1425 | 1 1426 | 1427 | 1428 | 1 1429 | 1430 | 1431 | 1 1432 | 1433 | 1434 | 1435 | 1436 | 1 1437 | 1438 | 1439 | 1 1440 | 1441 | 1442 | 1 1443 | 1444 | 1445 | 1446 | 1447 | 1 1448 | 1449 | 1450 | 1 1451 | 1452 | 1453 | 1 1454 | 1455 | 1456 | 1457 | 1458 | 1 1459 | 1460 | 1461 | 1 1462 | 1463 | 1464 | 1 1465 | 1466 | 1467 | 1468 | 1469 | 1 1470 | 1471 | 1472 | 1 1473 | 1474 | 1475 | 1 1476 | 1477 | 1478 | 1479 | 1480 | 1 1481 | 1482 | 1483 | 1 1484 | 1485 | 1486 | 1 1487 | 1488 | 1489 | 1490 | 1491 | 1 1492 | 1493 | 1494 | 1 1495 | 1496 | 1497 | 1 1498 | 1499 | 1500 | 1501 | 1502 | 1 1503 | 1504 | 1505 | 1 1506 | 1507 | 1508 | 1 1509 | 1510 | 1511 | 1512 | 1513 | 1 1514 | 1515 | 1516 | 1 1517 | 1518 | 1519 | 1 1520 | 1521 | 1522 | 1523 | 1524 | 1 1525 | 1526 | 1527 | 1 1528 | 1529 | 1530 | 1 1531 | 1532 | 1533 | 1534 | 1535 | 1 1536 | 1537 | 1538 | 1 1539 | 1540 | 1541 | 1 1542 | 1543 | 1544 | 1545 | 1546 | 1 1547 | 1548 | 1549 | 1 1550 | 1551 | 1552 | 1 1553 | 1554 | 1555 | 1556 | 1557 | 1 1558 | 1559 | 1560 | 1 1561 | 1562 | 1563 | 1 1564 | 1565 | 1566 | 1567 | 1568 | 1 1569 | 1570 | 1571 | 1 1572 | 1573 | 1574 | 1 1575 | 1576 | 1577 | 1578 | 1579 | 1 1580 | 1581 | 1582 | 1 1583 | 1584 | 1585 | 1 1586 | 1587 | 1588 | 1589 | 1590 | 1 1591 | 1592 | 1593 | 1 1594 | 1595 | 1596 | 1 1597 | 1598 | 1599 | 1600 | 1601 | 1 1602 | 1603 | 1604 | 1 1605 | 1606 | 1607 | 1 1608 | 1609 | 1610 | 1611 | 1612 | 1 1613 | 1614 | 1615 | 1 1616 | 1617 | 1618 | 1 1619 | 1620 | 1621 | 1622 | 1623 | 1 1624 | 1625 | 1626 | 1 1627 | 1628 | 1629 | 1 1630 | 1631 | 1632 | 1633 | 1634 | 1 1635 | 1636 | 1637 | 1 1638 | 1639 | 1640 | 1 1641 | 1642 | 1643 | 1644 | 1645 | 1 1646 | 1647 | 1648 | 1 1649 | 1650 | 1651 | 1 1652 | 1653 | 1654 | 1655 | 1656 | 1 1657 | 1658 | 1659 | 1 1660 | 1661 | 1662 | 1 1663 | 1664 | 1665 | 1666 | 1667 | 1 1668 | 1669 | 1670 | 1 1671 | 1672 | 1673 | 1674 | 1675 | ..\$(PROJECTNAME).app.dSYM\Contents\Resources\DWARF 1676 | 1 1677 | 1678 | 1679 | ..\$(PROJECTNAME).app.dSYM\Contents\Resources\DWARF 1680 | 1 1681 | 1682 | 1683 | 1684 | 1685 | 1 1686 | 1687 | 1688 | 1 1689 | 1690 | 1691 | 1692 | 1693 | ..\ 1694 | 1 1695 | 1696 | 1697 | ..\ 1698 | 1 1699 | 1700 | 1701 | 1702 | 1703 | 1 1704 | 1705 | 1706 | 1 1707 | 1708 | 1709 | 1 1710 | 1711 | 1712 | 1713 | 1714 | 1 1715 | 1716 | 1717 | 1 1718 | 1719 | 1720 | 1 1721 | 1722 | 1723 | 1724 | 1725 | ..\$(PROJECTNAME).app.dSYM\Contents\Resources\DWARF 1726 | 1 1727 | 1728 | 1729 | 1730 | 1731 | ..\ 1732 | 1 1733 | 1734 | 1735 | ..\ 1736 | 1 1737 | 1738 | 1739 | 1740 | 1741 | Contents 1742 | 1 1743 | 1744 | 1745 | Contents 1746 | 1 1747 | 1748 | 1749 | 1750 | 1751 | Contents\Resources 1752 | 1 1753 | 1754 | 1755 | Contents\Resources 1756 | 1 1757 | 1758 | 1759 | 1760 | 1761 | library\lib\armeabi-v7a 1762 | 1 1763 | 1764 | 1765 | library\lib\arm64-v8a 1766 | 1 1767 | 1768 | 1769 | 1 1770 | 1771 | 1772 | 1 1773 | 1774 | 1775 | 1 1776 | 1777 | 1778 | 1 1779 | 1780 | 1781 | Contents\MacOS 1782 | 1 1783 | 1784 | 1785 | Contents\MacOS 1786 | 1 1787 | 1788 | 1789 | 0 1790 | 1791 | 1792 | 1793 | 1794 | library\lib\armeabi-v7a 1795 | 1 1796 | 1797 | 1798 | 1799 | 1800 | 1 1801 | 1802 | 1803 | 1 1804 | 1805 | 1806 | 1807 | 1808 | Assets 1809 | 1 1810 | 1811 | 1812 | Assets 1813 | 1 1814 | 1815 | 1816 | 1817 | 1818 | Assets 1819 | 1 1820 | 1821 | 1822 | Assets 1823 | 1 1824 | 1825 | 1826 | 1827 | 1828 | 1829 | 1830 | 1831 | 1832 | 1833 | 1834 | 1835 | 1836 | 1837 | 1838 | True 1839 | True 1840 | 1841 | 1842 | 12 1843 | 1844 | 1845 | 1846 | 1847 |
1848 | -------------------------------------------------------------------------------- /src/feditor.cpp: -------------------------------------------------------------------------------- 1 | // --------------------------------------------------------------------------- 2 | 3 | #include 4 | #pragma hdrstop 5 | #include 6 | // --------------------------------------------------------------------------- 7 | USEFORM("forms\foview.cpp", Fo_View); 8 | USEFORM("forms\fosearch.cpp", Fo_Search); 9 | USEFORM("forms\foshape.cpp", Fo_Shape); 10 | USEFORM("forms\foselectcard.cpp", Fo_Select); 11 | USEFORM("forms\foinformation.cpp", Fo_Information); 12 | USEFORM("forms\fofullscreen.cpp", Fo_FullScreen); 13 | USEFORM("forms\folabeledit.cpp", Fo_LabelEdit); 14 | USEFORM("forms\foabout.cpp", Fo_About); 15 | USEFORM("forms\foedittext.cpp", Fo_EditText); 16 | USEFORM("forms\foprogress.cpp", Fo_Progress); 17 | USEFORM("forms\forandomcard.cpp", Fo_RandomCard); 18 | USEFORM("forms\forandomanimation.cpp", Fo_RandomAnimation); 19 | USEFORM("forms\fomain.cpp", Fo_Main); 20 | 21 | // --------------------------------------------------------------------------- 22 | int WINAPI _tWinMain(HINSTANCE, HINSTANCE, LPTSTR, int) { 23 | try { 24 | Application->Initialize(); 25 | Application->MainFormOnTaskBar = true; 26 | Application->CreateForm(__classid(TFo_Main), &Fo_Main); 27 | Application->CreateForm(__classid(TFo_FullScreen), &Fo_FullScreen); 28 | Application->CreateForm(__classid(TFo_Progress), &Fo_Progress); 29 | Application->CreateForm(__classid(TFo_RandomAnimation), 30 | &Fo_RandomAnimation); 31 | Application->CreateForm(__classid(TFo_Search), &Fo_Search); 32 | Application->CreateForm(__classid(TFo_Shape), &Fo_Shape); 33 | Application->CreateForm(__classid(TFo_View), &Fo_View); 34 | Application->Run(); 35 | } 36 | catch (Exception &exception) { 37 | Application->ShowException(&exception); 38 | } 39 | catch (...) { 40 | try { 41 | throw Exception(""); 42 | } 43 | catch (Exception &exception) { 44 | Application->ShowException(&exception); 45 | } 46 | } 47 | return 0; 48 | } 49 | // --------------------------------------------------------------------------- 50 | -------------------------------------------------------------------------------- /src/feditor.res: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/src/feditor.res -------------------------------------------------------------------------------- /src/forms/desktop.ini: -------------------------------------------------------------------------------- 1 | [LocalizedFileNames] 2 | forandomcard.h=@forandomcard.h,0 3 | foprogress.cpp=@foprogress.cpp,0 4 | fomain.dfm=@fomain.dfm,0 5 | foprogress.h=@foprogress.h,0 6 | foprogress.dfm=@foprogress.dfm,0 7 | fomain.cpp=@fomain.cpp,0 8 | foabout.dfm=@foabout.dfm,0 9 | fomain.h=@fomain.h,0 10 | fosearch.dfm=@fosearch.dfm,0 11 | foview.dfm=@foview.dfm,0 12 | foabout.cpp=@foabout.cpp,0 13 | fosearch.cpp=@fosearch.cpp,0 14 | foview.cpp=@foview.cpp,0 15 | foinformation.dfm=@foinformation.dfm,0 16 | foinformation.cpp=@foinformation.cpp,0 17 | foabout.h=@foabout.h,0 18 | fosearch.h=@fosearch.h,0 19 | fomain_arrange.cpp=@fomain_arrange.cpp,0 20 | foview.h=@foview.h,0 21 | foselectcard.cpp=@foselectcard.cpp,0 22 | folabeledit.cpp=@folabeledit.cpp,0 23 | folabeledit.dfm=@folabeledit.dfm,0 24 | folabeledit.h=@folabeledit.h,0 25 | forandomanimation.dfm=@forandomanimation.dfm,0 26 | foedittext.cpp=@foedittext.cpp,0 27 | forandomanimation.cpp=@forandomanimation.cpp,0 28 | forandomanimation.h=@forandomanimation.h,0 29 | foedittext.dfm=@foedittext.dfm,0 30 | foedittext.h=@foedittext.h,0 31 | foselectcard.h=@foselectcard.h,0 32 | foselectcard.dfm=@foselectcard.dfm,0 33 | foinformation.h=@foinformation.h,0 34 | fomain_iterscore.cpp=@fomain_iterscore.cpp,0 35 | fomain_bganimation.cpp=@fomain_bganimation.cpp,0 36 | fofullscreen.dfm=@fofullscreen.dfm,0 37 | fofullscreen.h=@fofullscreen.h,0 38 | fofullscreen.cpp=@fofullscreen.cpp,0 39 | fomain_bganimation.h=@fomain_bganimation.h,0 40 | foshape.dfm=@foshape.dfm,0 41 | foshape.h=@foshape.h,0 42 | fomain_arrange.h=@fomain_arrange.h,0 43 | fomain_iterscore.h=@fomain_iterscore.h,0 44 | foshape.cpp=@foshape.cpp,0 45 | forandomcard.cpp=@forandomcard.cpp,0 46 | forandomcard.dfm=@forandomcard.dfm,0 47 | -------------------------------------------------------------------------------- /src/forms/foabout.cpp: -------------------------------------------------------------------------------- 1 | // --------------------------------------------------------------------- 2 | #include 3 | #pragma hdrstop 4 | 5 | #include "foabout.h" 6 | #include "document.h" 7 | #include "setting.h" 8 | // --------------------------------------------------------------------- 9 | #pragma resource "*.dfm" 10 | TFo_About *Fo_About; 11 | 12 | // --------------------------------------------------------------------- 13 | void TFo_About::ApplyLanguageSetting() { 14 | if (!FileExists(LanguageFileName())) { 15 | return; 16 | } 17 | TFastIni *Ini = new TFastIni(LanguageFileName()); 18 | 19 | Caption = Ini->ReadString("About", "Caption", Caption); 20 | 21 | Bu_OK->Caption = Ini->ReadString("Dialog", "Bu_OK", Bu_OK->Caption); 22 | 23 | delete Ini; 24 | } 25 | 26 | // --------------------------------------------------------------------- 27 | __fastcall TFo_About::TFo_About(TComponent* AOwner) : TForm(AOwner) { 28 | } 29 | 30 | // --------------------------------------------------------------------- 31 | void __fastcall TFo_About::FormShow(TObject *Sender) { 32 | ApplyLanguageSetting(); 33 | 34 | ProductName->Caption = UnicodeString(AppTitle) + UnicodeString(" Version ") 35 | + FormatFloat("0.00", AppVersion / 100.0); 36 | 37 | ProgramIcon->Picture->Assign(Application->Icon); 38 | } 39 | // --------------------------------------------------------------------- 40 | -------------------------------------------------------------------------------- /src/forms/foabout.dfm: -------------------------------------------------------------------------------- 1 | object Fo_About: TFo_About 2 | Left = 323 3 | Top = 541 4 | BorderIcons = [biSystemMenu] 5 | BorderStyle = bsDialog 6 | Caption = 'About' 7 | ClientHeight = 101 8 | ClientWidth = 391 9 | Color = clBtnFace 10 | Font.Charset = SHIFTJIS_CHARSET 11 | Font.Color = clWindowText 12 | Font.Height = -15 13 | Font.Name = #65325#65331' '#65328#12468#12471#12483#12463 14 | Font.Style = [] 15 | OldCreateOrder = True 16 | Position = poScreenCenter 17 | OnShow = FormShow 18 | PixelsPerInch = 120 19 | TextHeight = 15 20 | object ProgramIcon: TImage 21 | Left = 10 22 | Top = 10 23 | Width = 41 24 | Height = 41 25 | Margins.Left = 4 26 | Margins.Top = 4 27 | Margins.Right = 4 28 | Margins.Bottom = 4 29 | Stretch = True 30 | IsControl = True 31 | end 32 | object ProductName: TLabel 33 | Left = 70 34 | Top = 10 35 | Width = 51 36 | Height = 15 37 | Margins.Left = 4 38 | Margins.Top = 4 39 | Margins.Right = 4 40 | Margins.Bottom = 4 41 | Caption = 'AppTitle' 42 | IsControl = True 43 | end 44 | object Copyright: TLabel 45 | Left = 70 46 | Top = 35 47 | Width = 206 48 | Height = 15 49 | Margins.Left = 4 50 | Margins.Top = 4 51 | Margins.Right = 4 52 | Margins.Bottom = 4 53 | Caption = 'Copyright (C) Frieve 2006-2023' 54 | IsControl = True 55 | end 56 | object Comments: TLabel 57 | Left = 70 58 | Top = 60 59 | Width = 5 60 | Height = 15 61 | Margins.Left = 4 62 | Margins.Top = 4 63 | Margins.Right = 4 64 | Margins.Bottom = 4 65 | WordWrap = True 66 | IsControl = True 67 | end 68 | object Label1: TLabel 69 | Left = 70 70 | Top = 55 71 | Width = 151 72 | Height = 15 73 | Margins.Left = 4 74 | Margins.Top = 4 75 | Margins.Right = 4 76 | Margins.Bottom = 4 77 | Caption = 'http://www.frieve.com/' 78 | IsControl = True 79 | end 80 | object Bu_OK: TButton 81 | Left = 289 82 | Top = 60 83 | Width = 94 84 | Height = 31 85 | Margins.Left = 4 86 | Margins.Top = 4 87 | Margins.Right = 4 88 | Margins.Bottom = 4 89 | Cancel = True 90 | Caption = '&OK' 91 | Default = True 92 | ModalResult = 1 93 | TabOrder = 0 94 | end 95 | end 96 | -------------------------------------------------------------------------------- /src/forms/foabout.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/src/forms/foabout.h -------------------------------------------------------------------------------- /src/forms/foedittext.cpp: -------------------------------------------------------------------------------- 1 | // --------------------------------------------------------------------------- 2 | 3 | #include 4 | #pragma hdrstop 5 | 6 | #include "foedittext.h" 7 | #include "setting.h" 8 | // --------------------------------------------------------------------------- 9 | #pragma package(smart_init) 10 | #pragma resource "*.dfm" 11 | TFo_EditText *Fo_EditText; 12 | 13 | // --------------------------------------------------------------------------- 14 | void TFo_EditText::ApplyLanguageSetting() { 15 | if (!FileExists(LanguageFileName())) { 16 | return; 17 | } 18 | TFastIni *Ini = new TFastIni(LanguageFileName()); 19 | 20 | Bu_OK->Caption = Ini->ReadString("Dialog", "Bu_OK", Bu_OK->Caption); 21 | Bu_Cancel->Caption = Ini->ReadString("Dialog", "Bu_Cancel", 22 | Bu_Cancel->Caption); 23 | 24 | delete Ini; 25 | } 26 | 27 | // --------------------------------------------------------------------- 28 | __fastcall TFo_EditText::TFo_EditText(TComponent* Owner) : TForm(Owner) { 29 | } 30 | // --------------------------------------------------------------------------- 31 | 32 | void __fastcall TFo_EditText::Bu_CancelClick(TObject *Sender) { 33 | Close(); 34 | } 35 | 36 | // --------------------------------------------------------------------------- 37 | void __fastcall TFo_EditText::FormShow(TObject *Sender) { 38 | ApplyLanguageSetting(); 39 | 40 | Ed_Text->SelectAll(); 41 | } 42 | // --------------------------------------------------------------------------- 43 | -------------------------------------------------------------------------------- /src/forms/foedittext.dfm: -------------------------------------------------------------------------------- 1 | object Fo_EditText: TFo_EditText 2 | Left = 376 3 | Top = 633 4 | BorderStyle = bsDialog 5 | Caption = 'Edit Text' 6 | ClientHeight = 73 7 | ClientWidth = 466 8 | Color = clBtnFace 9 | Font.Charset = SHIFTJIS_CHARSET 10 | Font.Color = clWindowText 11 | Font.Height = -12 12 | Font.Name = #65325#65331' '#65328#12468#12471#12483#12463 13 | Font.Style = [] 14 | OldCreateOrder = False 15 | Position = poOwnerFormCenter 16 | OnShow = FormShow 17 | PixelsPerInch = 96 18 | TextHeight = 12 19 | object La_Text: TLabel 20 | Left = 8 21 | Top = 16 22 | Width = 25 23 | Height = 12 24 | Caption = 'Text:' 25 | end 26 | object Ed_Text: TEdit 27 | Left = 80 28 | Top = 10 29 | Width = 297 30 | Height = 20 31 | TabOrder = 0 32 | end 33 | object Bu_OK: TButton 34 | Left = 384 35 | Top = 8 36 | Width = 75 37 | Height = 25 38 | Caption = '&OK' 39 | Default = True 40 | ModalResult = 1 41 | TabOrder = 1 42 | end 43 | object Bu_Cancel: TButton 44 | Left = 384 45 | Top = 40 46 | Width = 75 47 | Height = 25 48 | Cancel = True 49 | Caption = '&Cancel' 50 | ModalResult = 2 51 | TabOrder = 2 52 | OnClick = Bu_CancelClick 53 | end 54 | end 55 | -------------------------------------------------------------------------------- /src/forms/foedittext.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/src/forms/foedittext.h -------------------------------------------------------------------------------- /src/forms/fofullscreen.cpp: -------------------------------------------------------------------------------- 1 | // --------------------------------------------------------------------------- 2 | 3 | #include 4 | #pragma hdrstop 5 | 6 | #include "fofullscreen.h" 7 | // --------------------------------------------------------------------------- 8 | #pragma package(smart_init) 9 | #pragma resource "*.dfm" 10 | TFo_FullScreen *Fo_FullScreen; 11 | 12 | // --------------------------------------------------------------------------- 13 | __fastcall TFo_FullScreen::TFo_FullScreen(TComponent* Owner) : TForm(Owner) { 14 | } 15 | 16 | // --------------------------------------------------------------------------- 17 | void __fastcall TFo_FullScreen::FormShow(TObject *Sender) { 18 | Left = 0; 19 | Top = 0; 20 | Width = Screen->Width; 21 | Height = Screen->Height; 22 | } 23 | 24 | // --------------------------------------------------------------------------- 25 | void __fastcall TFo_FullScreen::FormResize(TObject *Sender) { 26 | Bu_Enter->Left = Width + 100; 27 | Bu_Dummy->Left = Width + 100; 28 | } 29 | // --------------------------------------------------------------------------- 30 | -------------------------------------------------------------------------------- /src/forms/fofullscreen.dfm: -------------------------------------------------------------------------------- 1 | object Fo_FullScreen: TFo_FullScreen 2 | Left = 198 3 | Top = 267 4 | BorderStyle = bsNone 5 | Caption = 'Full Screen Window' 6 | ClientHeight = 99 7 | ClientWidth = 180 8 | Color = clBtnFace 9 | Font.Charset = SHIFTJIS_CHARSET 10 | Font.Color = clWindowText 11 | Font.Height = -12 12 | Font.Name = #65325#65331' '#65328#12468#12471#12483#12463 13 | Font.Style = [] 14 | FormStyle = fsStayOnTop 15 | KeyPreview = True 16 | OldCreateOrder = False 17 | Position = poDefault 18 | OnResize = FormResize 19 | OnShow = FormShow 20 | PixelsPerInch = 96 21 | TextHeight = 12 22 | object Bu_Enter: TButton 23 | Left = 9 24 | Top = 10 25 | Width = 75 26 | Height = 25 27 | Caption = 'Enter' 28 | Default = True 29 | TabOrder = 0 30 | end 31 | object Bu_Dummy: TButton 32 | Left = 8 33 | Top = 48 34 | Width = 75 35 | Height = 25 36 | Caption = 'Dummy' 37 | TabOrder = 1 38 | end 39 | end 40 | -------------------------------------------------------------------------------- /src/forms/fofullscreen.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/src/forms/fofullscreen.h -------------------------------------------------------------------------------- /src/forms/foinformation.cpp: -------------------------------------------------------------------------------- 1 | // --------------------------------------------------------------------------- 2 | 3 | #include 4 | #pragma hdrstop 5 | 6 | #include "foinformation.h" 7 | #include "document.h" 8 | #include "setting.h" 9 | // --------------------------------------------------------------------------- 10 | #pragma package(smart_init) 11 | #pragma link "SHDocVw_OCX" 12 | #pragma resource "*.dfm" 13 | TFo_Information *Fo_Information; 14 | 15 | // --------------------------------------------------------------------------- 16 | void TFo_Information::ApplyLanguageSetting() { 17 | if (!FileExists(LanguageFileName())) { 18 | return; 19 | } 20 | TFastIni *Ini = new TFastIni(LanguageFileName()); 21 | 22 | Caption = Ini->ReadString("Information", "Caption", Caption); 23 | Ch_DontCheckNew->Caption = Ini->ReadString("Information", "Ch_DontCheckNew", 24 | Ch_DontCheckNew->Caption); 25 | 26 | delete Ini; 27 | } 28 | 29 | // --------------------------------------------------------------------- 30 | __fastcall TFo_Information::TFo_Information(TComponent* Owner) : TForm(Owner) { 31 | } 32 | 33 | // --------------------------------------------------------------------------- 34 | void __fastcall TFo_Information::FormShow(TObject *Sender) { 35 | ApplyLanguageSetting(); 36 | 37 | WB->Align = alClient; 38 | UnicodeString ws = ReleaseURL; 39 | WB->Navigate(ws.c_str()); 40 | Ch_DontCheckNew->Checked = !SettingFile.m_bCheckNew; 41 | } 42 | 43 | // --------------------------------------------------------------------------- 44 | void __fastcall TFo_Information::FormClose(TObject *Sender, 45 | TCloseAction &Action) { 46 | Action = caFree; 47 | } 48 | // --------------------------------------------------------------------------- 49 | 50 | void __fastcall TFo_Information::Ch_DontCheckNewClick(TObject *Sender) { 51 | SettingFile.m_bCheckNew = !Ch_DontCheckNew->Checked; 52 | } 53 | // --------------------------------------------------------------------------- 54 | -------------------------------------------------------------------------------- /src/forms/foinformation.dfm: -------------------------------------------------------------------------------- 1 | object Fo_Information: TFo_Information 2 | Left = 189 3 | Top = 121 4 | Caption = 'Information' 5 | ClientHeight = 310 6 | ClientWidth = 367 7 | Color = clBtnFace 8 | Font.Charset = SHIFTJIS_CHARSET 9 | Font.Color = clWindowText 10 | Font.Height = -12 11 | Font.Name = #65325#65331' '#65328#12468#12471#12483#12463 12 | Font.Style = [] 13 | FormStyle = fsStayOnTop 14 | OnClose = FormClose 15 | OnShow = FormShow 16 | TextHeight = 12 17 | object WB: TCppWebBrowser 18 | Left = 0 19 | Top = 0 20 | Width = 225 21 | Height = 193 22 | TabOrder = 0 23 | ControlData = { 24 | 4C00000041170000F21300000000000000000000000000000000000000000000 25 | 000000004C000000000000000000000001000000E0D057007335CF11AE690800 26 | 2B2E126208000000000000004C0000000114020000000000C000000000000046 27 | 8000000000000000000000000000000000000000000000000000000000000000 28 | 00000000000000000100000000000000000000000000000000000000} 29 | end 30 | object Pa_Top_: TPanel 31 | Left = 0 32 | Top = 286 33 | Width = 367 34 | Height = 24 35 | Align = alBottom 36 | TabOrder = 1 37 | object Ch_DontCheckNew: TCheckBox 38 | Left = 8 39 | Top = 4 40 | Width = 265 41 | Height = 17 42 | Caption = 'Do not check latest information automatically' 43 | TabOrder = 0 44 | OnClick = Ch_DontCheckNewClick 45 | end 46 | end 47 | end 48 | -------------------------------------------------------------------------------- /src/forms/foinformation.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/src/forms/foinformation.h -------------------------------------------------------------------------------- /src/forms/folabeledit.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/src/forms/folabeledit.cpp -------------------------------------------------------------------------------- /src/forms/folabeledit.dfm: -------------------------------------------------------------------------------- 1 | object Fo_LabelEdit: TFo_LabelEdit 2 | Left = 205 3 | Top = 121 4 | BorderStyle = bsDialog 5 | Caption = 'Label Edit' 6 | ClientHeight = 243 7 | ClientWidth = 257 8 | Color = clBtnFace 9 | Font.Charset = SHIFTJIS_CHARSET 10 | Font.Color = clWindowText 11 | Font.Height = -12 12 | Font.Name = #65325#65331' '#65328#12468#12471#12483#12463 13 | Font.Style = [] 14 | KeyPreview = True 15 | OldCreateOrder = False 16 | Position = poOwnerFormCenter 17 | OnClose = FormClose 18 | OnCreate = FormCreate 19 | OnKeyDown = FormKeyDown 20 | OnShow = FormShow 21 | PixelsPerInch = 96 22 | TextHeight = 12 23 | object Bu_OK: TButton 24 | Left = 176 25 | Top = 208 26 | Width = 75 27 | Height = 25 28 | Caption = '&OK' 29 | Default = True 30 | ModalResult = 1 31 | TabOrder = 3 32 | end 33 | object SG_Labels: TStringGrid 34 | Left = 8 35 | Top = 8 36 | Width = 241 37 | Height = 193 38 | ColCount = 2 39 | DefaultRowHeight = 18 40 | FixedCols = 0 41 | FixedRows = 0 42 | Options = [goFixedVertLine, goFixedHorzLine, goVertLine, goHorzLine, goRangeSelect, goRowSelect, goThumbTracking] 43 | ScrollBars = ssVertical 44 | TabOrder = 0 45 | OnDblClick = SG_LabelsDblClick 46 | OnDrawCell = SG_LabelsDrawCell 47 | OnSelectCell = SG_LabelsSelectCell 48 | ColWidths = ( 49 | 171 50 | 64) 51 | end 52 | object Bu_Delete: TButton 53 | Left = 88 54 | Top = 208 55 | Width = 75 56 | Height = 25 57 | Caption = '&Delete' 58 | Enabled = False 59 | TabOrder = 2 60 | OnClick = Bu_DeleteClick 61 | end 62 | object Bu_New: TButton 63 | Left = 8 64 | Top = 208 65 | Width = 75 66 | Height = 25 67 | Caption = '&New' 68 | TabOrder = 1 69 | OnClick = Bu_NewClick 70 | end 71 | object CD: TColorDialog 72 | Left = 88 73 | Top = 208 74 | end 75 | object Ti_Check: TTimer 76 | Enabled = False 77 | Interval = 50 78 | OnTimer = Ti_CheckTimer 79 | Left = 48 80 | Top = 208 81 | end 82 | end 83 | -------------------------------------------------------------------------------- /src/forms/folabeledit.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/src/forms/folabeledit.h -------------------------------------------------------------------------------- /src/forms/fomain.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/src/forms/fomain.h -------------------------------------------------------------------------------- /src/forms/fomain_arrange.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/src/forms/fomain_arrange.cpp -------------------------------------------------------------------------------- /src/forms/fomain_arrange.h: -------------------------------------------------------------------------------- 1 | // --------------------------------------------------------------------------- 2 | 3 | #ifndef fomain_arrangeH 4 | #define fomain_arrangeH 5 | #include 6 | 7 | #endif 8 | -------------------------------------------------------------------------------- /src/forms/fomain_bganimation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/src/forms/fomain_bganimation.cpp -------------------------------------------------------------------------------- /src/forms/fomain_bganimation.h: -------------------------------------------------------------------------------- 1 | // --------------------------------------------------------------------------- 2 | 3 | #ifndef fomain_bganimationH 4 | #define fomain_bganimationH 5 | // --------------------------------------------------------------------------- 6 | #endif 7 | -------------------------------------------------------------------------------- /src/forms/fomain_iterscore.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/src/forms/fomain_iterscore.cpp -------------------------------------------------------------------------------- /src/forms/fomain_iterscore.h: -------------------------------------------------------------------------------- 1 | // --------------------------------------------------------------------------- 2 | 3 | #ifndef fomain_iterscoreH 4 | #define fomain_iterscoreH 5 | // --------------------------------------------------------------------------- 6 | #endif 7 | -------------------------------------------------------------------------------- /src/forms/foprogress.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/src/forms/foprogress.cpp -------------------------------------------------------------------------------- /src/forms/foprogress.dfm: -------------------------------------------------------------------------------- 1 | object Fo_Progress: TFo_Progress 2 | Left = 192 3 | Top = 113 4 | BorderIcons = [] 5 | BorderStyle = bsNone 6 | Caption = 'Progress' 7 | ClientHeight = 110 8 | ClientWidth = 531 9 | Color = clBtnFace 10 | Font.Charset = SHIFTJIS_CHARSET 11 | Font.Color = clWindowText 12 | Font.Height = -15 13 | Font.Name = #65325#65331' '#65328#12468#12471#12483#12463 14 | Font.Style = [] 15 | KeyPreview = True 16 | OldCreateOrder = False 17 | Position = poDefault 18 | OnActivate = FormActivate 19 | OnCreate = FormCreate 20 | OnKeyDown = FormKeyDown 21 | OnShow = FormShow 22 | PixelsPerInch = 120 23 | TextHeight = 15 24 | object Be_Progress: TBevel 25 | Left = 0 26 | Top = 0 27 | Width = 191 28 | Height = 51 29 | Margins.Left = 4 30 | Margins.Top = 4 31 | Margins.Right = 4 32 | Margins.Bottom = 4 33 | Style = bsRaised 34 | end 35 | object La_Progress: TLabel 36 | Left = 10 37 | Top = 10 38 | Width = 501 39 | Height = 15 40 | Margins.Left = 4 41 | Margins.Top = 4 42 | Margins.Right = 4 43 | Margins.Bottom = 4 44 | Alignment = taCenter 45 | AutoSize = False 46 | end 47 | object Bu_Cancel: TButton 48 | Left = 210 49 | Top = 60 50 | Width = 101 51 | Height = 31 52 | Margins.Left = 4 53 | Margins.Top = 4 54 | Margins.Right = 4 55 | Margins.Bottom = 4 56 | Caption = '&Cancel' 57 | Default = True 58 | TabOrder = 0 59 | OnClick = Bu_CancelClick 60 | end 61 | object PG_Progress: TProgressBar 62 | Left = 10 63 | Top = 30 64 | Width = 501 65 | Height = 20 66 | Margins.Left = 4 67 | Margins.Top = 4 68 | Margins.Right = 4 69 | Margins.Bottom = 4 70 | Max = 10000 71 | TabOrder = 1 72 | end 73 | object Ti_Check: TTimer 74 | Interval = 20 75 | OnTimer = Ti_CheckTimer 76 | Left = 8 77 | Top = 56 78 | end 79 | end 80 | -------------------------------------------------------------------------------- /src/forms/foprogress.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/src/forms/foprogress.h -------------------------------------------------------------------------------- /src/forms/forandomanimation.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/src/forms/forandomanimation.cpp -------------------------------------------------------------------------------- /src/forms/forandomanimation.dfm: -------------------------------------------------------------------------------- 1 | object Fo_RandomAnimation: TFo_RandomAnimation 2 | Left = 192 3 | Top = 114 4 | AlphaBlendValue = 192 5 | BorderStyle = bsToolWindow 6 | Caption = 'Random Animation' 7 | ClientHeight = 69 8 | ClientWidth = 489 9 | Color = clBtnFace 10 | Font.Charset = SHIFTJIS_CHARSET 11 | Font.Color = clWindowText 12 | Font.Height = -12 13 | Font.Name = #65325#65331' '#65328#12468#12471#12483#12463 14 | Font.Style = [] 15 | FormStyle = fsStayOnTop 16 | KeyPreview = True 17 | OldCreateOrder = False 18 | OnClose = FormClose 19 | OnCreate = FormCreate 20 | OnDeactivate = FormDeactivate 21 | OnKeyDown = FormKeyDown 22 | OnShow = FormShow 23 | PixelsPerInch = 96 24 | TextHeight = 12 25 | object La_Cards: TLabel 26 | Left = 312 27 | Top = 12 28 | Width = 32 29 | Height = 12 30 | Caption = 'Cards:' 31 | end 32 | object La_Speed: TLabel 33 | Left = 160 34 | Top = 12 35 | Width = 33 36 | Height = 12 37 | Caption = 'Speed:' 38 | end 39 | object La_CardNum: TLabel 40 | Left = 464 41 | Top = 12 42 | Width = 12 43 | Height = 12 44 | Caption = '10' 45 | end 46 | object SB_Pause: TSpeedButton 47 | Left = 312 48 | Top = 40 49 | Width = 81 50 | Height = 22 51 | AllowAllUp = True 52 | GroupIndex = 1 53 | Caption = 'Pause' 54 | Glyph.Data = { 55 | 76030000424D76030000000000003600000028000000150000000D0000000100 56 | 1800000000004003000000000000000000000000000000000000C0C0C0C0C0C0 57 | C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0 58 | C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 59 | C0C0C0C0C0C0C0C0C0C0C0C0808000808000808000C0C0C0C0C0C08080008080 60 | 00808000C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 61 | C0C0C0C0C0C0C0C0C0C0C0C0808000808000808000C0C0C0C0C0C08080008080 62 | 00808000C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 63 | C0C0C0C0C0C0C0C0C0C0C0C0808000808000808000C0C0C0C0C0C08080008080 64 | 00808000C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 65 | C0C0C0C0C0C0C0C0C0C0C0C0808000808000808000C0C0C0C0C0C08080008080 66 | 00808000C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 67 | C0C0C0C0C0C0C0C0C0C0C0C0808000808000808000C0C0C0C0C0C08080008080 68 | 00808000C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 69 | C0C0C0C0C0C0C0C0C0C0C0C0808000808000808000C0C0C0C0C0C08080008080 70 | 00808000C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 71 | C0C0C0C0C0C0C0C0C0C0C0C0808000808000808000C0C0C0C0C0C08080008080 72 | 00808000C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 73 | C0C0C0C0C0C0C0C0C0C0C0C0808000808000808000C0C0C0C0C0C08080008080 74 | 00808000C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 75 | C0C0C0C0C0C0C0C0C0C0C0C0808000808000808000C0C0C0C0C0C08080008080 76 | 00808000C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 77 | C0C0C0C0C0C0C0C0C0C0C0C0808000808000808000C0C0C0C0C0C08080008080 78 | 00808000C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 79 | C0C0C0C0C0C0C0C0C0C0C0C0808000808000808000C0C0C0C0C0C08080008080 80 | 00808000C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 81 | C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0 82 | C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000} 83 | OnClick = SB_PauseClick 84 | end 85 | object SB_Stop: TSpeedButton 86 | Left = 400 87 | Top = 40 88 | Width = 81 89 | Height = 22 90 | Caption = 'Stop' 91 | Glyph.Data = { 92 | 76030000424D76030000000000003600000028000000150000000D0000000100 93 | 1800000000004003000000000000000000000000000000000000C0C0C0C0C0C0 94 | C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0 95 | C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 96 | C0C0C0C0C0C0C0C0C08000008000008000008000008000008000008000008000 97 | 00800000800000800000C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 98 | C0C0C0C0C0C0C0C0C08000008000008000008000008000008000008000008000 99 | 00800000800000800000C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 100 | C0C0C0C0C0C0C0C0C08000008000008000008000008000008000008000008000 101 | 00800000800000800000C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 102 | C0C0C0C0C0C0C0C0C08000008000008000008000008000008000008000008000 103 | 00800000800000800000C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 104 | C0C0C0C0C0C0C0C0C08000008000008000008000008000008000008000008000 105 | 00800000800000800000C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 106 | C0C0C0C0C0C0C0C0C08000008000008000008000008000008000008000008000 107 | 00800000800000800000C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 108 | C0C0C0C0C0C0C0C0C08000008000008000008000008000008000008000008000 109 | 00800000800000800000C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 110 | C0C0C0C0C0C0C0C0C08000008000008000008000008000008000008000008000 111 | 00800000800000800000C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 112 | C0C0C0C0C0C0C0C0C08000008000008000008000008000008000008000008000 113 | 00800000800000800000C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 114 | C0C0C0C0C0C0C0C0C08000008000008000008000008000008000008000008000 115 | 00800000800000800000C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 116 | C0C0C0C0C0C0C0C0C08000008000008000008000008000008000008000008000 117 | 00800000800000800000C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 118 | C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0 119 | C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000} 120 | OnClick = SB_StopClick 121 | end 122 | object La_Zoom: TLabel 123 | Left = 8 124 | Top = 12 125 | Width = 30 126 | Height = 12 127 | Caption = 'Zoom:' 128 | end 129 | object SB_FullScreen: TSpeedButton 130 | Left = 8 131 | Top = 40 132 | Width = 105 133 | Height = 22 134 | AllowAllUp = True 135 | GroupIndex = 2 136 | Caption = 'Full Screen' 137 | OnClick = SB_FullScreenClick 138 | end 139 | object TB_Cards: TTrackBar 140 | Left = 352 141 | Top = 4 142 | Width = 105 143 | Height = 29 144 | Max = 30 145 | Min = 1 146 | Frequency = 5 147 | Position = 10 148 | TabOrder = 2 149 | OnChange = TB_CardsChange 150 | end 151 | object TB_Speed: TTrackBar 152 | Left = 200 153 | Top = 4 154 | Width = 105 155 | Height = 29 156 | Max = 100 157 | Min = 1 158 | Frequency = 10 159 | Position = 30 160 | TabOrder = 1 161 | OnChange = TB_SpeedChange 162 | end 163 | object TB_Zoom: TTrackBar 164 | Left = 48 165 | Top = 6 166 | Width = 105 167 | Height = 21 168 | LineSize = 1000 169 | Max = 10000 170 | Min = -4000 171 | Position = -2000 172 | TabOrder = 0 173 | OnChange = TB_ZoomChange 174 | OnKeyDown = TB_ZoomKeyDown 175 | end 176 | object Ti_Check: TTimer 177 | Enabled = False 178 | Interval = 50 179 | OnTimer = Ti_CheckTimer 180 | Left = 120 181 | Top = 32 182 | end 183 | end 184 | -------------------------------------------------------------------------------- /src/forms/forandomanimation.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/src/forms/forandomanimation.h -------------------------------------------------------------------------------- /src/forms/forandomcard.cpp: -------------------------------------------------------------------------------- 1 | // --------------------------------------------------------------------------- 2 | 3 | #include 4 | #pragma hdrstop 5 | 6 | #include "forandomcard.h" 7 | #include "setting.h" 8 | // --------------------------------------------------------------------------- 9 | #pragma package(smart_init) 10 | #pragma resource "*.dfm" 11 | TFo_RandomCard *Fo_RandomCard; 12 | 13 | // --------------------------------------------------------------------------- 14 | __fastcall TFo_RandomCard::TFo_RandomCard(TComponent* Owner) : TForm(Owner) { 15 | } 16 | // --------------------------------------------------------------------------- 17 | 18 | void __fastcall TFo_RandomCard::FormDeactivate(TObject *Sender) { 19 | Close(); 20 | } 21 | 22 | // --------------------------------------------------------------------------- 23 | void TFo_RandomCard::SettingToGUI() { 24 | TB_Cards->Position = SettingView.m_nAnimationRCCards; 25 | TB_CardsChange(this); 26 | TB_Speed->Position = SettingView.m_nAnimationRCSpeed; 27 | SB_Pause->Down = SettingView.m_bAnimationPaused; 28 | } 29 | 30 | // --------------------------------------------------------------------------- 31 | void __fastcall TFo_RandomCard::TB_CardsChange(TObject *Sender) { 32 | La_Cards->Caption = TB_Cards->Position; 33 | SettingView.m_nAnimationRCCards = TB_Cards->Position; 34 | } 35 | 36 | // --------------------------------------------------------------------------- 37 | void __fastcall TFo_RandomCard::TB_SpeedChange(TObject *Sender) { 38 | SettingView.m_nAnimationRCSpeed = TB_Speed->Position; 39 | } 40 | 41 | // --------------------------------------------------------------------------- 42 | void __fastcall TFo_RandomCard::SB_StopClick(TObject *Sender) { 43 | Close(); 44 | } 45 | 46 | // --------------------------------------------------------------------------- 47 | void __fastcall TFo_RandomCard::SB_PauseClick(TObject *Sender) { 48 | SettingView.m_bAnimationPaused = SB_Pause->Down; 49 | } 50 | 51 | // --------------------------------------------------------------------------- 52 | void __fastcall TFo_RandomCard::FormShow(TObject *Sender) { 53 | SettingToGUI(); 54 | } 55 | 56 | // --------------------------------------------------------------------------- 57 | void __fastcall TFo_RandomCard::FormKeyDown(TObject *Sender, WORD &Key, 58 | TShiftState Shift) { 59 | if (Key == 27) { 60 | Close(); 61 | } 62 | } 63 | // --------------------------------------------------------------------------- 64 | -------------------------------------------------------------------------------- /src/forms/forandomcard.dfm: -------------------------------------------------------------------------------- 1 | object Fo_RandomCard: TFo_RandomCard 2 | Left = 192 3 | Top = 114 4 | BorderStyle = bsToolWindow 5 | Caption = 'Random Card' 6 | ClientHeight = 100 7 | ClientWidth = 232 8 | Color = clBtnFace 9 | Font.Charset = SHIFTJIS_CHARSET 10 | Font.Color = clWindowText 11 | Font.Height = -12 12 | Font.Name = #65325#65331' '#65328#12468#12471#12483#12463 13 | Font.Style = [] 14 | FormStyle = fsStayOnTop 15 | KeyPreview = True 16 | OldCreateOrder = False 17 | OnDeactivate = FormDeactivate 18 | OnKeyDown = FormKeyDown 19 | OnShow = FormShow 20 | PixelsPerInch = 96 21 | TextHeight = 12 22 | object Label1: TLabel 23 | Left = 8 24 | Top = 12 25 | Width = 32 26 | Height = 12 27 | Caption = 'Cards:' 28 | end 29 | object Label2: TLabel 30 | Left = 8 31 | Top = 44 32 | Width = 33 33 | Height = 12 34 | Caption = 'Speed:' 35 | end 36 | object La_Cards: TLabel 37 | Left = 200 38 | Top = 12 39 | Width = 12 40 | Height = 12 41 | Caption = '10' 42 | end 43 | object SB_Pause: TSpeedButton 44 | Left = 56 45 | Top = 72 46 | Width = 81 47 | Height = 22 48 | AllowAllUp = True 49 | GroupIndex = 1 50 | Caption = 'Pause' 51 | Glyph.Data = { 52 | 76030000424D76030000000000003600000028000000150000000D0000000100 53 | 1800000000004003000000000000000000000000000000000000C0C0C0C0C0C0 54 | C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0 55 | C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 56 | C0C0C0C0C0C0C0C0C0C0C0C0808000808000808000C0C0C0C0C0C08080008080 57 | 00808000C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 58 | C0C0C0C0C0C0C0C0C0C0C0C0808000808000808000C0C0C0C0C0C08080008080 59 | 00808000C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 60 | C0C0C0C0C0C0C0C0C0C0C0C0808000808000808000C0C0C0C0C0C08080008080 61 | 00808000C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 62 | C0C0C0C0C0C0C0C0C0C0C0C0808000808000808000C0C0C0C0C0C08080008080 63 | 00808000C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 64 | C0C0C0C0C0C0C0C0C0C0C0C0808000808000808000C0C0C0C0C0C08080008080 65 | 00808000C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 66 | C0C0C0C0C0C0C0C0C0C0C0C0808000808000808000C0C0C0C0C0C08080008080 67 | 00808000C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 68 | C0C0C0C0C0C0C0C0C0C0C0C0808000808000808000C0C0C0C0C0C08080008080 69 | 00808000C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 70 | C0C0C0C0C0C0C0C0C0C0C0C0808000808000808000C0C0C0C0C0C08080008080 71 | 00808000C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 72 | C0C0C0C0C0C0C0C0C0C0C0C0808000808000808000C0C0C0C0C0C08080008080 73 | 00808000C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 74 | C0C0C0C0C0C0C0C0C0C0C0C0808000808000808000C0C0C0C0C0C08080008080 75 | 00808000C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 76 | C0C0C0C0C0C0C0C0C0C0C0C0808000808000808000C0C0C0C0C0C08080008080 77 | 00808000C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 78 | C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0 79 | C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000} 80 | OnClick = SB_PauseClick 81 | end 82 | object SB_Stop: TSpeedButton 83 | Left = 144 84 | Top = 72 85 | Width = 81 86 | Height = 22 87 | Caption = 'Stop' 88 | Glyph.Data = { 89 | 76030000424D76030000000000003600000028000000150000000D0000000100 90 | 1800000000004003000000000000000000000000000000000000C0C0C0C0C0C0 91 | C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0 92 | C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 93 | C0C0C0C0C0C0C0C0C08000008000008000008000008000008000008000008000 94 | 00800000800000800000C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 95 | C0C0C0C0C0C0C0C0C08000008000008000008000008000008000008000008000 96 | 00800000800000800000C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 97 | C0C0C0C0C0C0C0C0C08000008000008000008000008000008000008000008000 98 | 00800000800000800000C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 99 | C0C0C0C0C0C0C0C0C08000008000008000008000008000008000008000008000 100 | 00800000800000800000C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 101 | C0C0C0C0C0C0C0C0C08000008000008000008000008000008000008000008000 102 | 00800000800000800000C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 103 | C0C0C0C0C0C0C0C0C08000008000008000008000008000008000008000008000 104 | 00800000800000800000C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 105 | C0C0C0C0C0C0C0C0C08000008000008000008000008000008000008000008000 106 | 00800000800000800000C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 107 | C0C0C0C0C0C0C0C0C08000008000008000008000008000008000008000008000 108 | 00800000800000800000C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 109 | C0C0C0C0C0C0C0C0C08000008000008000008000008000008000008000008000 110 | 00800000800000800000C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 111 | C0C0C0C0C0C0C0C0C08000008000008000008000008000008000008000008000 112 | 00800000800000800000C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 113 | C0C0C0C0C0C0C0C0C08000008000008000008000008000008000008000008000 114 | 00800000800000800000C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000C0C0C0C0C0C0 115 | C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0 116 | C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C0C000} 117 | OnClick = SB_StopClick 118 | end 119 | object TB_Cards: TTrackBar 120 | Left = 48 121 | Top = 4 122 | Width = 150 123 | Height = 29 124 | Max = 30 125 | Min = 1 126 | Frequency = 5 127 | Position = 10 128 | TabOrder = 0 129 | OnChange = TB_CardsChange 130 | end 131 | object TB_Speed: TTrackBar 132 | Left = 48 133 | Top = 36 134 | Width = 150 135 | Height = 29 136 | Max = 100 137 | Min = 1 138 | Frequency = 10 139 | Position = 30 140 | TabOrder = 1 141 | OnChange = TB_SpeedChange 142 | end 143 | end 144 | -------------------------------------------------------------------------------- /src/forms/forandomcard.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/src/forms/forandomcard.h -------------------------------------------------------------------------------- /src/forms/fosearch.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/src/forms/fosearch.cpp -------------------------------------------------------------------------------- /src/forms/fosearch.dfm: -------------------------------------------------------------------------------- 1 | object Fo_Search: TFo_Search 2 | Left = 660 3 | Top = 129 4 | AlphaBlendValue = 192 5 | BorderStyle = bsDialog 6 | Caption = 'Search' 7 | ClientHeight = 136 8 | ClientWidth = 651 9 | Color = clBtnFace 10 | Font.Charset = SHIFTJIS_CHARSET 11 | Font.Color = clWindowText 12 | Font.Height = -15 13 | Font.Name = #65325#65331' '#65328#12468#12471#12483#12463 14 | Font.Style = [] 15 | FormStyle = fsStayOnTop 16 | KeyPreview = True 17 | OldCreateOrder = False 18 | Position = poOwnerFormCenter 19 | OnCreate = FormCreate 20 | OnKeyDown = FormKeyDown 21 | OnShow = FormShow 22 | PixelsPerInch = 120 23 | TextHeight = 15 24 | object La_Keyword: TLabel 25 | Left = 10 26 | Top = 20 27 | Width = 57 28 | Height = 15 29 | Margins.Left = 4 30 | Margins.Top = 4 31 | Margins.Right = 4 32 | Margins.Bottom = 4 33 | Caption = 'Keyword:' 34 | end 35 | object La_ReplaceTo: TLabel 36 | Left = 10 37 | Top = 49 38 | Width = 71 39 | Height = 15 40 | Margins.Left = 4 41 | Margins.Top = 4 42 | Margins.Right = 4 43 | Margins.Bottom = 4 44 | Caption = 'Replace to:' 45 | Visible = False 46 | end 47 | object Bu_FindNext: TButton 48 | Left = 548 49 | Top = 10 50 | Width = 93 51 | Height = 31 52 | Margins.Left = 4 53 | Margins.Top = 4 54 | Margins.Right = 4 55 | Margins.Bottom = 4 56 | Caption = 'Find &Next' 57 | Default = True 58 | TabOrder = 2 59 | OnClick = Bu_FindNextClick 60 | end 61 | object Bu_Cancel: TButton 62 | Left = 548 63 | Top = 50 64 | Width = 93 65 | Height = 31 66 | Margins.Left = 4 67 | Margins.Top = 4 68 | Margins.Right = 4 69 | Margins.Bottom = 4 70 | Cancel = True 71 | Caption = '&Cancel' 72 | ModalResult = 2 73 | TabOrder = 3 74 | OnClick = Bu_CancelClick 75 | end 76 | object Ch_CardTitle: TCheckBox 77 | Left = 100 78 | Top = 79 79 | Width = 121 80 | Height = 21 81 | Margins.Left = 4 82 | Margins.Top = 4 83 | Margins.Right = 4 84 | Margins.Bottom = 4 85 | Caption = 'Card Title' 86 | Checked = True 87 | State = cbChecked 88 | TabOrder = 4 89 | end 90 | object Ch_Text: TCheckBox 91 | Left = 230 92 | Top = 79 93 | Width = 121 94 | Height = 21 95 | Margins.Left = 4 96 | Margins.Top = 4 97 | Margins.Right = 4 98 | Margins.Bottom = 4 99 | Caption = 'Text' 100 | Checked = True 101 | State = cbChecked 102 | TabOrder = 5 103 | end 104 | object Ch_MatchCase: TCheckBox 105 | Left = 359 106 | Top = 79 107 | Width = 172 108 | Height = 21 109 | Margins.Left = 4 110 | Margins.Top = 4 111 | Margins.Right = 4 112 | Margins.Bottom = 4 113 | Caption = 'Match Case' 114 | TabOrder = 6 115 | end 116 | object Ch_GlobalSearch: TCheckBox 117 | Left = 230 118 | Top = 109 119 | Width = 121 120 | Height = 21 121 | Margins.Left = 4 122 | Margins.Top = 4 123 | Margins.Right = 4 124 | Margins.Bottom = 4 125 | Caption = 'Global Search' 126 | Checked = True 127 | State = cbChecked 128 | TabOrder = 8 129 | end 130 | object Ch_Backward: TCheckBox 131 | Left = 359 132 | Top = 108 133 | Width = 172 134 | Height = 21 135 | Margins.Left = 4 136 | Margins.Top = 4 137 | Margins.Right = 4 138 | Margins.Bottom = 4 139 | Caption = 'Backward' 140 | TabOrder = 9 141 | end 142 | object Co_Keyword: TComboBox 143 | Left = 100 144 | Top = 13 145 | Width = 431 146 | Height = 20 147 | Margins.Left = 4 148 | Margins.Top = 4 149 | Margins.Right = 4 150 | Margins.Bottom = 4 151 | AutoComplete = False 152 | PopupMenu = Po_Search 153 | TabOrder = 0 154 | OnChange = Co_KeywordChange 155 | end 156 | object Ed_Keyword: TEdit 157 | Left = 109 158 | Top = 20 159 | Width = 431 160 | Height = 20 161 | Margins.Left = 4 162 | Margins.Top = 4 163 | Margins.Right = 4 164 | Margins.Bottom = 4 165 | TabStop = False 166 | PopupMenu = Po_Search 167 | TabOrder = 10 168 | Visible = False 169 | OnChange = Ed_KeywordChange 170 | end 171 | object Ch_InvisibleCard: TCheckBox 172 | Left = 100 173 | Top = 109 174 | Width = 121 175 | Height = 21 176 | Margins.Left = 4 177 | Margins.Top = 4 178 | Margins.Right = 4 179 | Margins.Bottom = 4 180 | Caption = 'Invisible Card' 181 | Checked = True 182 | State = cbChecked 183 | TabOrder = 7 184 | end 185 | object Ed_ReplaceTo: TEdit 186 | Left = 100 187 | Top = 45 188 | Width = 431 189 | Height = 20 190 | Margins.Left = 4 191 | Margins.Top = 4 192 | Margins.Right = 4 193 | Margins.Bottom = 4 194 | PopupMenu = Po_Search 195 | TabOrder = 1 196 | Visible = False 197 | OnChange = Ed_KeywordChange 198 | end 199 | object Po_Search: TPopupMenu 200 | AutoPopup = False 201 | Left = 88 202 | Top = 16 203 | object PM_Undo: TMenuItem 204 | Caption = '&Undo' 205 | ShortCut = 16474 206 | OnClick = PM_UndoClick 207 | end 208 | object PM_Cut: TMenuItem 209 | Caption = 'Cu&t' 210 | ShortCut = 16472 211 | OnClick = PM_CutClick 212 | end 213 | object PM_Copy: TMenuItem 214 | Caption = '&Copy' 215 | ShortCut = 16451 216 | OnClick = PM_CopyClick 217 | end 218 | object PM_Paste: TMenuItem 219 | Caption = '&Paste' 220 | ShortCut = 16470 221 | OnClick = PM_PasteClick 222 | end 223 | object PM_SelectAll: TMenuItem 224 | Caption = 'Select &All' 225 | ShortCut = 16449 226 | OnClick = PM_SelectAllClick 227 | end 228 | end 229 | end 230 | -------------------------------------------------------------------------------- /src/forms/fosearch.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/src/forms/fosearch.h -------------------------------------------------------------------------------- /src/forms/foselectcard.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/src/forms/foselectcard.cpp -------------------------------------------------------------------------------- /src/forms/foselectcard.dfm: -------------------------------------------------------------------------------- 1 | object Fo_Select: TFo_Select 2 | Left = 930 3 | Top = 160 4 | BorderStyle = bsDialog 5 | ClientHeight = 265 6 | ClientWidth = 225 7 | Color = clBtnFace 8 | Font.Charset = SHIFTJIS_CHARSET 9 | Font.Color = clWindowText 10 | Font.Height = -12 11 | Font.Name = #65325#65331' '#65328#12468#12471#12483#12463 12 | Font.Style = [] 13 | OldCreateOrder = False 14 | Position = poOwnerFormCenter 15 | OnCreate = FormCreate 16 | OnDestroy = FormDestroy 17 | OnShow = FormShow 18 | PixelsPerInch = 96 19 | TextHeight = 12 20 | object Bu_OK: TButton 21 | Left = 64 22 | Top = 232 23 | Width = 75 24 | Height = 25 25 | Caption = '&OK' 26 | Default = True 27 | Enabled = False 28 | ModalResult = 1 29 | TabOrder = 0 30 | OnClick = Bu_OKClick 31 | end 32 | object Bu_Cancel: TButton 33 | Left = 144 34 | Top = 232 35 | Width = 75 36 | Height = 25 37 | Cancel = True 38 | Caption = '&Cancel' 39 | ModalResult = 2 40 | TabOrder = 1 41 | end 42 | object LB_Items: TListBox 43 | Left = 8 44 | Top = 8 45 | Width = 209 46 | Height = 217 47 | ItemHeight = 12 48 | TabOrder = 2 49 | OnClick = LB_ItemsClick 50 | OnDblClick = LB_ItemsDblClick 51 | end 52 | end 53 | -------------------------------------------------------------------------------- /src/forms/foselectcard.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/src/forms/foselectcard.h -------------------------------------------------------------------------------- /src/forms/foshape.cpp: -------------------------------------------------------------------------------- 1 | // --------------------------------------------------------------------------- 2 | 3 | #include 4 | #pragma hdrstop 5 | 6 | #include "foshape.h" 7 | // --------------------------------------------------------------------------- 8 | #pragma package(smart_init) 9 | #pragma resource "*.dfm" 10 | TFo_Shape *Fo_Shape; 11 | 12 | const int itemwidth = 41; 13 | const int itemheight = 21; 14 | 15 | // --------------------------------------------------------------------------- 16 | __fastcall TFo_Shape::TFo_Shape(TComponent* Owner) : TForm(Owner) { 17 | } 18 | 19 | // --------------------------------------------------------------------------- 20 | void __fastcall TFo_Shape::FormDeactivate(TObject *Sender) { 21 | Close(); 22 | } 23 | 24 | // --------------------------------------------------------------------------- 25 | void __fastcall TFo_Shape::FormShow(TObject *Sender) { 26 | Pa->Width = itemwidth + 2; 27 | Pa->Height = itemheight * IL_Shape->Count + 2; 28 | ClientWidth = Pa->Width; 29 | ClientHeight = Pa->Height; 30 | } 31 | 32 | // --------------------------------------------------------------------------- 33 | void __fastcall TFo_Shape::PBPaint(TObject *Sender) { 34 | Graphics::TBitmap *BMP = new Graphics::TBitmap(); 35 | BMP->Width = PB->Width; 36 | BMP->Height = PB->Height; 37 | 38 | TCanvas *C = BMP->Canvas; 39 | TBrush *B = C->Brush; 40 | TPen *P = C->Pen; 41 | 42 | B->Color = clBtnFace; 43 | C->FillRect(Rect(0, 0, BMP->Width, BMP->Height)); 44 | 45 | Graphics::TBitmap *BMP2 = new Graphics::TBitmap(); 46 | BMP2->Width = IL_Shape->Width; 47 | BMP2->Height = IL_Shape->Height; 48 | TCanvas *C2 = BMP2->Canvas; 49 | TBrush *B2 = C2->Brush; 50 | B2->Color = clBtnFace; 51 | 52 | for (int i = 0; i < IL_Shape->Count; i++) { 53 | C2->FillRect(Rect(0, 0, BMP2->Width, BMP2->Height)); 54 | IL_Shape->GetBitmap(i, BMP2); 55 | C->Draw((itemwidth - BMP2->Width) / 2, (itemheight - BMP2->Height) / 2 + 56 | i * itemheight, BMP2); 57 | 58 | if (i == m_nItemIndex) { 59 | B->Style = bsClear; 60 | P->Color = TColor(0xff0000); 61 | C->Rectangle(0, i * itemheight, BMP->Width, (i + 1) * itemheight); 62 | } 63 | } 64 | 65 | delete BMP2; 66 | 67 | PB->Canvas->Draw(0, 0, BMP); 68 | delete BMP; 69 | } 70 | 71 | // --------------------------------------------------------------------------- 72 | void __fastcall TFo_Shape::PBMouseMove(TObject *Sender, TShiftState Shift, 73 | int X, int Y) { 74 | int newindex = Y / itemheight; 75 | if (newindex != m_nItemIndex && !m_bIgnoreChange) { 76 | m_nItemIndex = newindex; 77 | PBPaint(Sender); 78 | } 79 | else { 80 | m_bIgnoreChange = false; 81 | } 82 | } 83 | 84 | // --------------------------------------------------------------------------- 85 | void __fastcall TFo_Shape::FormCreate(TObject *Sender) { 86 | m_bSelected = false; 87 | } 88 | // --------------------------------------------------------------------------- 89 | 90 | void __fastcall TFo_Shape::FormKeyDown(TObject *Sender, WORD &Key, 91 | TShiftState Shift) { 92 | if (Key == 27) { 93 | Close(); 94 | } 95 | } 96 | // --------------------------------------------------------------------------- 97 | 98 | void __fastcall TFo_Shape::PBMouseDown(TObject *Sender, TMouseButton Button, 99 | TShiftState Shift, int X, int Y) { 100 | m_bSelected = true; 101 | Close(); 102 | } 103 | // --------------------------------------------------------------------------- 104 | -------------------------------------------------------------------------------- /src/forms/foshape.dfm: -------------------------------------------------------------------------------- 1 | object Fo_Shape: TFo_Shape 2 | Left = 189 3 | Top = 115 4 | BorderStyle = bsNone 5 | ClientHeight = 446 6 | ClientWidth = 920 7 | Color = clBtnFace 8 | Font.Charset = SHIFTJIS_CHARSET 9 | Font.Color = clWindowText 10 | Font.Height = -12 11 | Font.Name = #65325#65331' '#65328#12468#12471#12483#12463 12 | Font.Style = [] 13 | FormStyle = fsStayOnTop 14 | OldCreateOrder = False 15 | OnCreate = FormCreate 16 | OnDeactivate = FormDeactivate 17 | OnKeyDown = FormKeyDown 18 | OnShow = FormShow 19 | PixelsPerInch = 96 20 | TextHeight = 12 21 | object Pa: TPanel 22 | Left = 0 23 | Top = 0 24 | Width = 193 25 | Height = 121 26 | TabOrder = 0 27 | object PB: TPaintBox 28 | Left = 1 29 | Top = 1 30 | Width = 191 31 | Height = 119 32 | Align = alClient 33 | OnMouseDown = PBMouseDown 34 | OnMouseMove = PBMouseMove 35 | OnPaint = PBPaint 36 | end 37 | end 38 | end 39 | -------------------------------------------------------------------------------- /src/forms/foshape.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/src/forms/foshape.h -------------------------------------------------------------------------------- /src/forms/foview.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/src/forms/foview.cpp -------------------------------------------------------------------------------- /src/forms/foview.dfm: -------------------------------------------------------------------------------- 1 | object Fo_View: TFo_View 2 | Left = 405 3 | Top = 121 4 | AlphaBlendValue = 224 5 | BorderStyle = bsToolWindow 6 | Caption = 'View' 7 | ClientHeight = 280 8 | ClientWidth = 681 9 | Color = clBtnFace 10 | Font.Charset = SHIFTJIS_CHARSET 11 | Font.Color = clWindowText 12 | Font.Height = -15 13 | Font.Name = #65325#65331' '#65328#12468#12471#12483#12463 14 | Font.Style = [] 15 | FormStyle = fsStayOnTop 16 | KeyPreview = True 17 | OldCreateOrder = False 18 | Position = poDefault 19 | OnCreate = FormCreate 20 | OnDeactivate = FormDeactivate 21 | OnKeyDown = FormKeyDown 22 | OnShow = FormShow 23 | PixelsPerInch = 120 24 | TextHeight = 15 25 | object PC_View: TPageControl 26 | Left = 0 27 | Top = 0 28 | Width = 681 29 | Height = 281 30 | Margins.Left = 4 31 | Margins.Top = 4 32 | Margins.Right = 4 33 | Margins.Bottom = 4 34 | ActivePage = TS_Limitation 35 | TabOrder = 0 36 | object TS_Label: TTabSheet 37 | Margins.Left = 4 38 | Margins.Top = 4 39 | Margins.Right = 4 40 | Margins.Bottom = 4 41 | Caption = 'Label' 42 | ExplicitLeft = 0 43 | ExplicitTop = 0 44 | ExplicitWidth = 0 45 | ExplicitHeight = 0 46 | object La_Label: TLabel 47 | Left = 10 48 | Top = 10 49 | Width = 36 50 | Height = 15 51 | Margins.Left = 4 52 | Margins.Top = 4 53 | Margins.Right = 4 54 | Margins.Bottom = 4 55 | Caption = 'Label:' 56 | end 57 | object La_LabelShow: TLabel 58 | Left = 180 59 | Top = 30 60 | Width = 38 61 | Height = 15 62 | Margins.Left = 4 63 | Margins.Top = 4 64 | Margins.Right = 4 65 | Margins.Bottom = 4 66 | Caption = 'Show:' 67 | end 68 | object La_LabelHide: TLabel 69 | Left = 300 70 | Top = 30 71 | Width = 31 72 | Height = 15 73 | Margins.Left = 4 74 | Margins.Top = 4 75 | Margins.Right = 4 76 | Margins.Bottom = 4 77 | Caption = 'Hide:' 78 | end 79 | object La_LabelFold: TLabel 80 | Left = 60 81 | Top = 30 82 | Width = 29 83 | Height = 15 84 | Margins.Left = 4 85 | Margins.Top = 4 86 | Margins.Right = 4 87 | Margins.Bottom = 4 88 | Caption = 'Fold:' 89 | end 90 | object La_LinkLabel: TLabel 91 | Left = 430 92 | Top = 10 93 | Width = 67 94 | Height = 15 95 | Margins.Left = 4 96 | Margins.Top = 4 97 | Margins.Right = 4 98 | Margins.Bottom = 4 99 | Caption = 'Link Label:' 100 | end 101 | object La_LinkLabelShow: TLabel 102 | Left = 430 103 | Top = 30 104 | Width = 38 105 | Height = 15 106 | Margins.Left = 4 107 | Margins.Top = 4 108 | Margins.Right = 4 109 | Margins.Bottom = 4 110 | Caption = 'Show:' 111 | end 112 | object La_LinkLabelHide: TLabel 113 | Left = 550 114 | Top = 30 115 | Width = 31 116 | Height = 15 117 | Margins.Left = 4 118 | Margins.Top = 4 119 | Margins.Right = 4 120 | Margins.Bottom = 4 121 | Caption = 'Hide:' 122 | end 123 | object Bevel1: TBevel 124 | Left = 420 125 | Top = 10 126 | Width = 21 127 | Height = 231 128 | Margins.Left = 4 129 | Margins.Top = 4 130 | Margins.Right = 4 131 | Margins.Bottom = 4 132 | Shape = bsLeftLine 133 | end 134 | object Bu_LabelShowAll: TButton 135 | Left = 220 136 | Top = 25 137 | Width = 31 138 | Height = 21 139 | Margins.Left = 4 140 | Margins.Top = 4 141 | Margins.Right = 4 142 | Margins.Bottom = 4 143 | Caption = 'All' 144 | TabOrder = 0 145 | OnClick = Bu_LabelShowAllClick 146 | end 147 | object Bu_LabelShowClear: TButton 148 | Tag = 1 149 | Left = 250 150 | Top = 25 151 | Width = 41 152 | Height = 21 153 | Margins.Left = 4 154 | Margins.Top = 4 155 | Margins.Right = 4 156 | Margins.Bottom = 4 157 | Caption = 'Clear' 158 | TabOrder = 1 159 | OnClick = Bu_LabelShowAllClick 160 | end 161 | object Bu_LabelHideAll: TButton 162 | Left = 340 163 | Top = 25 164 | Width = 31 165 | Height = 21 166 | Margins.Left = 4 167 | Margins.Top = 4 168 | Margins.Right = 4 169 | Margins.Bottom = 4 170 | Caption = 'All' 171 | TabOrder = 2 172 | OnClick = Bu_LabelHideAllClick 173 | end 174 | object Bu_LabelFoldAll: TButton 175 | Left = 100 176 | Top = 25 177 | Width = 31 178 | Height = 21 179 | Margins.Left = 4 180 | Margins.Top = 4 181 | Margins.Right = 4 182 | Margins.Bottom = 4 183 | Caption = 'All' 184 | TabOrder = 3 185 | OnClick = Bu_LabelFoldAllClick 186 | end 187 | object Bu_LabelClearAll: TButton 188 | Tag = 1 189 | Left = 130 190 | Top = 25 191 | Width = 41 192 | Height = 21 193 | Margins.Left = 4 194 | Margins.Top = 4 195 | Margins.Right = 4 196 | Margins.Bottom = 4 197 | Caption = 'Clear' 198 | TabOrder = 4 199 | OnClick = Bu_LabelFoldAllClick 200 | end 201 | object Bu_LabelHideClear: TButton 202 | Tag = 1 203 | Left = 370 204 | Top = 25 205 | Width = 41 206 | Height = 21 207 | Margins.Left = 4 208 | Margins.Top = 4 209 | Margins.Right = 4 210 | Margins.Bottom = 4 211 | Caption = 'Clear' 212 | TabOrder = 5 213 | OnClick = Bu_LabelHideAllClick 214 | end 215 | object SG_Labels: TStringGrid 216 | Left = 10 217 | Top = 50 218 | Width = 401 219 | Height = 191 220 | Margins.Left = 4 221 | Margins.Top = 4 222 | Margins.Right = 4 223 | Margins.Bottom = 4 224 | ColCount = 6 225 | DefaultColWidth = 40 226 | DefaultRowHeight = 16 227 | FixedCols = 0 228 | Options = [goFixedVertLine, goFixedHorzLine, goVertLine, goHorzLine, goRangeSelect, goThumbTracking] 229 | ScrollBars = ssVertical 230 | TabOrder = 6 231 | OnDrawCell = SG_LabelsDrawCell 232 | OnKeyDown = SG_LabelsKeyDown 233 | OnMouseDown = SG_LabelsMouseDown 234 | ColWidths = ( 235 | 93 236 | 40 237 | 40 238 | 40 239 | 40 240 | 40) 241 | end 242 | object Bu_LinkLabelShowAll: TButton 243 | Tag = 2 244 | Left = 470 245 | Top = 25 246 | Width = 31 247 | Height = 21 248 | Margins.Left = 4 249 | Margins.Top = 4 250 | Margins.Right = 4 251 | Margins.Bottom = 4 252 | Caption = 'All' 253 | TabOrder = 7 254 | OnClick = Bu_LabelShowAllClick 255 | end 256 | object Bu_LinkLabelShowClear: TButton 257 | Tag = 3 258 | Left = 500 259 | Top = 25 260 | Width = 41 261 | Height = 21 262 | Margins.Left = 4 263 | Margins.Top = 4 264 | Margins.Right = 4 265 | Margins.Bottom = 4 266 | Caption = 'Clear' 267 | TabOrder = 8 268 | OnClick = Bu_LabelShowAllClick 269 | end 270 | object Bu_LinkLabelHideAll: TButton 271 | Tag = 2 272 | Left = 590 273 | Top = 25 274 | Width = 31 275 | Height = 21 276 | Margins.Left = 4 277 | Margins.Top = 4 278 | Margins.Right = 4 279 | Margins.Bottom = 4 280 | Caption = 'All' 281 | TabOrder = 9 282 | OnClick = Bu_LabelHideAllClick 283 | end 284 | object Bu_LinkLabelHideClear: TButton 285 | Tag = 3 286 | Left = 620 287 | Top = 25 288 | Width = 41 289 | Height = 21 290 | Margins.Left = 4 291 | Margins.Top = 4 292 | Margins.Right = 4 293 | Margins.Bottom = 4 294 | Caption = 'Clear' 295 | TabOrder = 10 296 | OnClick = Bu_LabelHideAllClick 297 | end 298 | object SG_LinkLabels: TStringGrid 299 | Tag = 1 300 | Left = 430 301 | Top = 49 302 | Width = 231 303 | Height = 192 304 | Margins.Left = 4 305 | Margins.Top = 4 306 | Margins.Right = 4 307 | Margins.Bottom = 4 308 | ColCount = 3 309 | DefaultColWidth = 40 310 | DefaultRowHeight = 16 311 | FixedCols = 0 312 | Options = [goFixedVertLine, goFixedHorzLine, goVertLine, goHorzLine, goRangeSelect, goThumbTracking] 313 | ScrollBars = ssVertical 314 | TabOrder = 11 315 | OnDrawCell = SG_LabelsDrawCell 316 | OnMouseDown = SG_LabelsMouseDown 317 | ColWidths = ( 318 | 80 319 | 40 320 | 40) 321 | end 322 | end 323 | object TS_Limitation: TTabSheet 324 | Margins.Left = 4 325 | Margins.Top = 4 326 | Margins.Right = 4 327 | Margins.Bottom = 4 328 | Caption = 'Limitation' 329 | ImageIndex = 1 330 | ExplicitLeft = 0 331 | ExplicitTop = 0 332 | ExplicitWidth = 0 333 | ExplicitHeight = 0 334 | object GB_SizeLimitation: TGroupBox 335 | Left = 10 336 | Top = 10 337 | Width = 651 338 | Height = 71 339 | Margins.Left = 4 340 | Margins.Top = 4 341 | Margins.Right = 4 342 | Margins.Bottom = 4 343 | TabOrder = 1 344 | object La_Size: TLabel 345 | Left = 120 346 | Top = 33 347 | Width = 27 348 | Height = 15 349 | Margins.Left = 4 350 | Margins.Top = 4 351 | Margins.Right = 4 352 | Margins.Bottom = 4 353 | Caption = 'Size' 354 | end 355 | object TB_SizeLimitation: TTrackBar 356 | Left = 10 357 | Top = 29 358 | Width = 101 359 | Height = 29 360 | Margins.Left = 4 361 | Margins.Top = 4 362 | Margins.Right = 4 363 | Margins.Bottom = 4 364 | Max = 8 365 | Min = -8 366 | PageSize = 1 367 | TabOrder = 0 368 | ThumbLength = 15 369 | OnChange = TB_SizeLimitationChange 370 | end 371 | end 372 | object Ch_SizeLimitation: TCheckBox 373 | Left = 20 374 | Top = 10 375 | Width = 144 376 | Height = 21 377 | Margins.Left = 4 378 | Margins.Top = 4 379 | Margins.Right = 4 380 | Margins.Bottom = 4 381 | Caption = 'Size Limitation' 382 | TabOrder = 0 383 | OnClick = Ch_SizeLimitationClick 384 | end 385 | object GB_LinkLimitation: TGroupBox 386 | Left = 10 387 | Top = 90 388 | Width = 651 389 | Height = 71 390 | Margins.Left = 4 391 | Margins.Top = 4 392 | Margins.Right = 4 393 | Margins.Bottom = 4 394 | TabOrder = 3 395 | object La_Links: TLabel 396 | Left = 120 397 | Top = 33 398 | Width = 33 399 | Height = 15 400 | Margins.Left = 4 401 | Margins.Top = 4 402 | Margins.Right = 4 403 | Margins.Bottom = 4 404 | Caption = 'Links' 405 | end 406 | object La_LinkTarget: TLabel 407 | Left = 459 408 | Top = 33 409 | Width = 44 410 | Height = 15 411 | Margins.Left = 4 412 | Margins.Top = 4 413 | Margins.Right = 4 414 | Margins.Bottom = 4 415 | Caption = 'Target:' 416 | end 417 | object TB_LinkLimitation: TTrackBar 418 | Left = 10 419 | Top = 29 420 | Width = 101 421 | Height = 29 422 | Margins.Left = 4 423 | Margins.Top = 4 424 | Margins.Right = 4 425 | Margins.Bottom = 4 426 | Max = 11 427 | Min = 1 428 | PageSize = 1 429 | Position = 1 430 | TabOrder = 0 431 | ThumbLength = 15 432 | OnChange = TB_LinkLimitationChange 433 | end 434 | object RB_LinkForward: TRadioButton 435 | Left = 271 436 | Top = 30 437 | Width = 82 438 | Height = 21 439 | Margins.Left = 4 440 | Margins.Top = 4 441 | Margins.Right = 4 442 | Margins.Bottom = 4 443 | Caption = 'Forward' 444 | Checked = True 445 | TabOrder = 2 446 | TabStop = True 447 | OnClick = RB_LinkForwardClick 448 | end 449 | object RB_LinkBackward: TRadioButton 450 | Left = 360 451 | Top = 30 452 | Width = 91 453 | Height = 21 454 | Margins.Left = 4 455 | Margins.Top = 4 456 | Margins.Right = 4 457 | Margins.Bottom = 4 458 | Caption = 'Backward' 459 | TabOrder = 3 460 | OnClick = RB_LinkForwardClick 461 | end 462 | object Ch_LinkDirection: TCheckBox 463 | Left = 181 464 | Top = 30 465 | Width = 82 466 | Height = 21 467 | Margins.Left = 4 468 | Margins.Top = 4 469 | Margins.Right = 4 470 | Margins.Bottom = 4 471 | Caption = 'Direction' 472 | TabOrder = 1 473 | OnClick = Ch_LinkDirectionClick 474 | end 475 | object Bu_LinkTarget: TButton 476 | Left = 520 477 | Top = 30 478 | Width = 121 479 | Height = 21 480 | Margins.Left = 4 481 | Margins.Top = 4 482 | Margins.Right = 4 483 | Margins.Bottom = 4 484 | Caption = 'No Assign' 485 | TabOrder = 4 486 | OnClick = Bu_LinkTargetClick 487 | end 488 | end 489 | object GB_DateLimitation: TGroupBox 490 | Left = 10 491 | Top = 170 492 | Width = 651 493 | Height = 71 494 | Margins.Left = 4 495 | Margins.Top = 4 496 | Margins.Right = 4 497 | Margins.Bottom = 4 498 | TabOrder = 5 499 | object La_DateType: TLabel 500 | Left = 130 501 | Top = 35 502 | Width = 69 503 | Height = 15 504 | Margins.Left = 4 505 | Margins.Top = 4 506 | Margins.Right = 4 507 | Margins.Bottom = 4 508 | Caption = 'Date Type:' 509 | end 510 | object La_DateLimitationType: TLabel 511 | Left = 320 512 | Top = 35 513 | Width = 135 514 | Height = 15 515 | Margins.Left = 4 516 | Margins.Top = 4 517 | Margins.Right = 4 518 | Margins.Bottom = 4 519 | Caption = 'Date Limitation Type:' 520 | end 521 | object TB_DateLimitation: TTrackBar 522 | Left = 10 523 | Top = 29 524 | Width = 101 525 | Height = 29 526 | Margins.Left = 4 527 | Margins.Top = 4 528 | Margins.Right = 4 529 | Margins.Bottom = 4 530 | Max = 100 531 | PageSize = 1 532 | Frequency = 10 533 | TabOrder = 0 534 | ThumbLength = 15 535 | OnChange = TB_DateLimitationChange 536 | end 537 | object Co_DateType: TComboBox 538 | Left = 210 539 | Top = 30 540 | Width = 91 541 | Height = 23 542 | Margins.Left = 4 543 | Margins.Top = 4 544 | Margins.Right = 4 545 | Margins.Bottom = 4 546 | Style = csDropDownList 547 | TabOrder = 1 548 | OnChange = Co_DateTypeChange 549 | Items.Strings = ( 550 | 'Created' 551 | 'Edited' 552 | 'Viewed') 553 | end 554 | object Co_DateLimitationType: TComboBox 555 | Left = 460 556 | Top = 30 557 | Width = 101 558 | Height = 23 559 | Margins.Left = 4 560 | Margins.Top = 4 561 | Margins.Right = 4 562 | Margins.Bottom = 4 563 | Style = csDropDownList 564 | TabOrder = 2 565 | OnChange = Co_DateLimitationTypeChange 566 | Items.Strings = ( 567 | 'Old' 568 | 'New' 569 | 'Near' 570 | 'Older' 571 | 'Newer') 572 | end 573 | end 574 | object Ch_DateLimitation: TCheckBox 575 | Left = 20 576 | Top = 170 577 | Width = 144 578 | Height = 21 579 | Margins.Left = 4 580 | Margins.Top = 4 581 | Margins.Right = 4 582 | Margins.Bottom = 4 583 | Caption = 'Date Limitation' 584 | TabOrder = 4 585 | OnClick = Ch_DateLimitationClick 586 | end 587 | object Ch_LinkLimitation: TCheckBox 588 | Left = 20 589 | Top = 90 590 | Width = 144 591 | Height = 21 592 | Margins.Left = 4 593 | Margins.Top = 4 594 | Margins.Right = 4 595 | Margins.Bottom = 4 596 | Caption = 'Link Limitation' 597 | TabOrder = 2 598 | OnClick = Ch_LinkLimitationClick 599 | end 600 | end 601 | end 602 | object PM_LinkTarget: TPopupMenu 603 | Left = 496 604 | Top = 128 605 | object PT_NoAssign: TMenuItem 606 | Caption = '&No Assign' 607 | OnClick = PT_NoAssignClick 608 | end 609 | object N1: TMenuItem 610 | Caption = '-' 611 | end 612 | object PT_Select: TMenuItem 613 | Caption = '&Select...' 614 | OnClick = PT_SelectClick 615 | end 616 | end 617 | end 618 | -------------------------------------------------------------------------------- /src/forms/foview.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/src/forms/foview.h -------------------------------------------------------------------------------- /src/utils/card.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/src/utils/card.cpp -------------------------------------------------------------------------------- /src/utils/card.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/src/utils/card.h -------------------------------------------------------------------------------- /src/utils/document.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/src/utils/document.cpp -------------------------------------------------------------------------------- /src/utils/document.h: -------------------------------------------------------------------------------- 1 | // --------------------------------------------------------------------------- 2 | 3 | #ifndef documentH 4 | #define documentH 5 | // --------------------------------------------------------------------------- 6 | #include 7 | // --------------------------------------------------------------------------- 8 | #include "card.h" 9 | #include "label.h" 10 | // --------------------------------------------------------------------------- 11 | /* 12 | helpに以下を追加 13 | 14 | ReadOnly=1 15 | DefaultView=1 16 | */ 17 | 18 | #define AppTitle "Frieve Editor" 19 | #define AppVersion 200 20 | #define FileVersion 007 21 | #define AppURL "https://www.frieve.com/" 22 | #define SoftURL "https://www.frieve.com/software/frieve-editor" 23 | #define ReleaseURL "https://github.com/Frieve-A/Frieve-Editor/releases" 24 | 25 | class IDocCtrl { 26 | public: 27 | virtual int Request(char *Type, int Value, float fValue, void *option) = 0; 28 | virtual TCard *NewCard(int insertindex) = 0; 29 | virtual void SortCards(int sorttype, bool inverse) = 0; 30 | virtual TCard* GetCardByIndex(int nIndex) = 0; 31 | virtual TCard* GetCard(int nID) = 0; 32 | virtual void SetCardTitle(TCard *Card, UnicodeString S) = 0; 33 | virtual void SetCardText(TCard *Card, UnicodeString S) = 0; 34 | // virtual void SetCardText(int nID, UnicodeString S) = 0; 35 | virtual void DeleteCard(int nID) = 0; 36 | virtual int SearchCardIndex(int nID) = 0; 37 | virtual void ClearCards() = 0; 38 | virtual void ClearCardSelection() = 0; 39 | virtual void SwapCard(int idx1, int idx2) = 0; 40 | virtual int SearchParent(int CardID, bool bChild, bool bFocus) = 0; 41 | // 親(もしくは子)カードを捜す 42 | virtual int SearchBrother(int CurrentID, int ParentID, bool bInverse, 43 | bool bChild, bool bFocus) = 0; // 時計回り(もしくは逆周り)に兄弟ノードを探す 44 | virtual int SearchLast(int CardID, bool bFocus) = 0; // 直前に表示していたカードを捜す 45 | virtual void RefreshCardLevel() = 0; // Card->m_bTopとリンクに従って階層レベル設定、カードソート 46 | 47 | virtual void AddLabelToCard(TCard* Card, int label) = 0; 48 | virtual void DeleteLabelFromCard(TCard* Card, int label) = 0; 49 | // データアクセス(リンク) 50 | virtual TLink *NewLink() = 0; 51 | virtual TLink *GetLinkByIndex(int index) = 0; 52 | virtual void SetLinkName(TLink *Link, UnicodeString S) = 0; 53 | virtual void DeleteLinkByIndex(int index) = 0; 54 | virtual void ClearLinks() = 0; 55 | 56 | virtual void AddLabelToLink(TLink* Link, int label) = 0; 57 | virtual void DeleteLabelFromLink(TLink* Link, int label) = 0; 58 | 59 | // データアクセス(ラベル) 60 | virtual TCardLabel *NewLabel(int ltype) = 0; 61 | virtual TCardLabel *GetLabelByIndex(int ltype, int index) = 0; 62 | virtual TCardLabel *GetLabel(int ltype, UnicodeString S) = 0; 63 | virtual void SetLabelName(TCardLabel *Label, UnicodeString S) = 0; 64 | virtual void DeleteLabelByIndex(int ltype, int index) = 0; 65 | virtual void InitLabel(int ltype) = 0; 66 | virtual void ClearLabels(int ltype) = 0; 67 | 68 | virtual bool LabelIsFold(TCard *Card) = 0; // カードのラベルが全て折りたたまれているか調べる 69 | virtual int CountEnableLabel(TCard *Card) = 0; // カードの有効なラベル数を得る 70 | virtual bool LabelIsSame(TCard *Card1, TCard *Card2) = 0; 71 | // 2つのカードのラベルが同じか調べる 72 | // 表示更新用 73 | virtual void RefreshList() = 0; 74 | virtual void RefreshLink() = 0; 75 | virtual void RefreshLabel() = 0; 76 | // ファイル 77 | virtual bool Load(UnicodeString FN, bool bSoftLoad = false) = 0; 78 | // SoftLoadでは、元データの座標を維持 79 | virtual bool Save() = 0; 80 | virtual bool LoadFromString(TStringList *SL, UnicodeString FN) = 0; 81 | virtual bool SoftLoadFromString(TStringList *SL, UnicodeString FN) = 0; 82 | virtual bool SaveToString(TStringList *SL) = 0; 83 | // 情報取得 84 | virtual int GetCheckCount() = 0; // 1回画面が更新されるたびにインクリメント 85 | virtual int GetCardID() = 0; // 現在フォーカス中のカードID 86 | virtual int CardCount() = 0; // カード数 87 | virtual int LabelCount(int ltype) = 0; // ラベル数 88 | virtual int LinkCount() = 0; // リンク数 89 | // クリップボード 90 | virtual void CopyToClipboard() = 0; 91 | virtual void PasteFromClipboard(float fSpan) = 0; 92 | }; 93 | 94 | class TDocument : public IDocCtrl { 95 | public: 96 | // 作成、破棄 97 | void InitDocument(); 98 | TDocument(); 99 | void CopyFrom(TDocument *Doc); 100 | TDocument(TDocument &Doc); 101 | virtual ~TDocument(); 102 | 103 | // コピー対象データ 104 | // データ 105 | TList *m_Cards; 106 | 107 | // リンクデータ 108 | TList *m_Links; 109 | 110 | // ラベルデータ 111 | TList *m_Labels[2]; 112 | 113 | // 画面更新カウンタ 114 | int m_nCheckCount; 115 | // 表示更新用 116 | int m_nRefreshListCount; 117 | int m_nRefreshLinkCount; 118 | int m_nRefreshLabelCount; 119 | 120 | // その他 121 | bool m_bChanged; 122 | UnicodeString m_FN; 123 | bool m_bReadOnly; 124 | 125 | int m_nCardID; // 現在表示中のカード(保存用) 126 | int m_nDefaultView; // 読み込んだ瞬間どの画面を表示するか(-1=なし、0=Browser、1=Editor) 127 | // データアクセス 128 | int m_nMaxCardID; 129 | int* m_CardIDToIndex; 130 | 131 | void CreateCardIDToIndex(); 132 | void FreeCardIDToIndex(); 133 | 134 | TCard *NewCard(int insertindex); 135 | void SortCards(int sorttype, bool inverse); 136 | TCard* GetCardByIndex(int nIndex); 137 | TCard* GetCard(int nID); 138 | void SetCardTitle(TCard *Card, UnicodeString S); 139 | void SetCardText(TCard *Card, UnicodeString S); 140 | // void SetCardText(int nID, char *szChar); 141 | void DeleteCard(int nID); 142 | int SearchCardIndex(int nID); 143 | void ClearCards(); 144 | void ClearCardSelection(); 145 | void SwapCard(int idx1, int idx2); 146 | void RefreshDateOrder(); // m_fCreatedOrderなどに正しい値を代入 147 | void RefreshDateOrder_Label(); // m_fTouchedOrderなどに正しい値を代入 148 | int SearchParent(int CardID, bool bChild, bool bFocus); // 親(もしくは子)カードを捜す 149 | int SearchBrother(int CurrentID, int ParentID, bool bInverse, bool bChild, 150 | bool bFocus); // 時計回り(もしくは逆周り)に兄弟ノードを探す 151 | int SearchLast(int CardID, bool bFocus); // 直前に表示していたカードを捜す 152 | void RefreshCardLevel(); // Card->m_bTopとリンクに従って階層レベル設定、カードソート 153 | 154 | void AddLabelToCard(TCard* Card, int label); 155 | void DeleteLabelFromCard(TCard* Card, int label); 156 | 157 | TList *GetRelatedCard(bool bInverse, bool bVisibleOnly); 158 | // 各カードから張られたリンク先のカードをIndex順に入れる 159 | int RelatedCardNum(TList *RCard, int cardindex); 160 | int RelatedIndex(TList *RCard, int cardindex, int index); 161 | void FreeRelatedCard(TList *RCard); // RCardの破棄 162 | 163 | private: 164 | inline TCard* GetCardByIndex_(int nIndex); 165 | 166 | public: 167 | // データアクセス(リンク) 168 | TLink *NewLink(); 169 | inline TLink *GetLinkByIndex(int index); 170 | void SetLinkName(TLink *Link, UnicodeString S); 171 | void DeleteLinkByIndex(int index); 172 | void ClearLinks(); 173 | 174 | void AddLabelToLink(TLink* Link, int label); 175 | void DeleteLabelFromLink(TLink* Link, int label); 176 | 177 | // データアクセス(ラベル) 178 | TCardLabel *NewLabel(int ltype); 179 | inline TCardLabel *GetLabelByIndex(int ltype, int index); 180 | TCardLabel *GetLabel(int ltype, UnicodeString S); 181 | void SetLabelName(TCardLabel *Label, UnicodeString S); 182 | void DeleteLabelByIndex(int ltype, int index); 183 | void InitLabel(int ltype); 184 | void ClearLabels(int ltype); 185 | 186 | bool LabelIsFold(TCard *Card); // カードのラベルが全て折りたたまれているか調べる 187 | int CountEnableLabel(TCard *Card); // カードの有効なラベル数を得る 188 | bool LabelIsSame(TCard *Card1, TCard *Card2); // 2つのカードのラベルが同じか調べる 189 | 190 | // 表示更新用 191 | void RefreshList(); 192 | void RefreshLink(); 193 | void RefreshLabel(); 194 | // ファイル 195 | bool Load(UnicodeString FN, bool bSoftLoad = false); 196 | // SoftLoadでは、元データの座標を維持 197 | bool Save(); 198 | bool LoadFromString(TStringList *SL, UnicodeString FN); 199 | bool SoftLoadFromString(TStringList *SL, UnicodeString FN); 200 | bool SaveToString(TStringList *SL); 201 | 202 | // フォルダ分けしていた時の互換用 203 | bool Load_Old(UnicodeString FN); 204 | bool Save_Old(); 205 | int Request(char *Type, int Value, float fValue, void *option); 206 | 207 | // 情報取得 208 | int GetCheckCount(); // 1回画面が更新されるたびにインクリメント 209 | int GetCardID(); // 現在フォーカス中のカードID 210 | int CardCount(); // カード数 211 | int LabelCount(int ltype); // ラベル数 212 | int LinkCount(); // リンク数 213 | // クリップボード 214 | void CopyToClipboard(); 215 | void PasteFromClipboard(float fSpan); 216 | }; 217 | 218 | class TUndoRedoData { 219 | public: 220 | UnicodeString m_Name; 221 | TDocument *m_Doc; 222 | int m_nCardID; // 編集中のカードID 223 | int m_nSelStart; // エディタ上のカーソル位置 224 | int m_nSelLength; 225 | 226 | TUndoRedoData(TDocument *Doc, UnicodeString Name, int m_nCardID = -1, 227 | int SelStart = 0, int SelLength = 0); 228 | virtual ~TUndoRedoData(); 229 | private: 230 | TUndoRedoData(const TUndoRedoData &source); 231 | TUndoRedoData& operator=(const TUndoRedoData &source); 232 | }; 233 | 234 | class TUndoRedo { 235 | private: 236 | int m_nMaxUndo; 237 | TList *m_Undos; 238 | TList *m_Redos; 239 | 240 | inline TUndoRedoData *UndoData(int index); 241 | inline TUndoRedoData *RedoData(int index); 242 | 243 | public: 244 | TUndoRedo(int maxundo); 245 | virtual ~TUndoRedo(); 246 | // Undo、Redo 247 | void ClearUndos(); 248 | void ClearRedos(); 249 | void Backup(TDocument *Doc, UnicodeString editname, int CardID = -1, 250 | int SelStart = 0, int SelLength = 0); 251 | void Undo(TDocument *Doc, int CardID, int SelStart, int SelLength, 252 | int *NextCardID, int *NextSelStart, int *NextSelLength); 253 | void Redo(TDocument *Doc, int CardID, int SelStart, int SelLength, 254 | int *NextCardID, int *NextSelStart, int *NextSelLength); 255 | bool GetCanUndo(UnicodeString &editname); 256 | bool GetCanRedo(UnicodeString &editname); 257 | 258 | int m_bChanged; // Undo、Redoが行われたことを示す 259 | private: 260 | TUndoRedo(const TUndoRedo &source); 261 | TUndoRedo& operator=(const TUndoRedo &source); 262 | }; 263 | 264 | // --------------------------------------------------------------------------- 265 | // ドキュメントからの操作リクエスト(-1でリクエストなし) 266 | extern int bReqArrange; // アレンジのON/OFF 267 | extern int nReqArrangeMode; // 0から順にRepulsion、Link、Label、Index 268 | extern int bReqAutoScroll; // オートスクロール 269 | extern int bReqAutoZoom; // オートズーム 270 | extern int bReqFullScreen; // フルスクリーン 271 | extern int bReqExit; // 終了 272 | extern float fReqZoom, fReqX, fReqY; // ズームと座標 273 | extern int nReqTargetCard; // ターゲットカード変更 274 | extern int bReqSizeLimitation, bReqLinkLimitation, bReqDateLimitation; 275 | // 表示制限のON/OFF 276 | extern int nReqSizeLimitation; 277 | extern int nReqLinkLimitation, bReqLinkDirection, bReqLinkBackward, 278 | nReqLinkTarget; 279 | extern int nReqDateLimitation, ReqDateLimitationDateType, ReqDateLimitationType; 280 | extern int nReqKeyDown; // 所定のキーを押した処理をする 281 | #endif 282 | -------------------------------------------------------------------------------- /src/utils/drawing.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/src/utils/drawing.cpp -------------------------------------------------------------------------------- /src/utils/drawing.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/src/utils/drawing.h -------------------------------------------------------------------------------- /src/utils/dsdecoder.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/src/utils/dsdecoder.cpp -------------------------------------------------------------------------------- /src/utils/dsdecoder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/src/utils/dsdecoder.h -------------------------------------------------------------------------------- /src/utils/inet.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/src/utils/inet.cpp -------------------------------------------------------------------------------- /src/utils/inet.h: -------------------------------------------------------------------------------- 1 | // --------------------------------------------------------------------------- 2 | 3 | #ifndef inetH 4 | #define inetH 5 | // --------------------------------------------------------------------------- 6 | #include 7 | #include 8 | bool IsInternetConnected(); 9 | // bool GetHtmlSourceF(AnsiString FileName, AnsiString string); 10 | void GetHtml(UnicodeString Url, UnicodeString &html); 11 | // --------------------------------------------------------------------------- 12 | #endif 13 | -------------------------------------------------------------------------------- /src/utils/label.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/src/utils/label.cpp -------------------------------------------------------------------------------- /src/utils/label.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/src/utils/label.h -------------------------------------------------------------------------------- /src/utils/link.cpp: -------------------------------------------------------------------------------- 1 | // --------------------------------------------------------------------------- 2 | 3 | #include "link.h" 4 | #include "setting.h" 5 | 6 | // --------------------------------------------------------------------------- 7 | TLink::TLink() { 8 | InitLink(); 9 | } 10 | 11 | // --------------------------------------------------------------------------- 12 | void TLink::InitLink() { 13 | m_nFromID = 0; 14 | m_nDestID = 0; 15 | m_bDirection = true; 16 | m_Labels = new TLabelList(); 17 | m_Name = ""; 18 | 19 | // m_nShape = 0; 20 | m_nShape = SettingView.m_nLinkDefaultShape; 21 | 22 | m_bVisible = true; 23 | m_Color = TColor(0); 24 | } 25 | 26 | // --------------------------------------------------------------------------- 27 | TLink::TLink(UnicodeString S) { 28 | InitLink(); 29 | Decode(S); 30 | } 31 | 32 | // --------------------------------------------------------------------------- 33 | TLink::TLink(TLink &Link) { 34 | m_Labels = new TLabelList(); 35 | for (int i = 0; i < Link.m_Labels->Count; i++) { 36 | m_Labels->AddLabel(Link.m_Labels->GetLabel(i)); 37 | } 38 | 39 | m_nFromID = Link.m_nFromID; 40 | m_nDestID = Link.m_nDestID; 41 | m_bDirection = Link.m_bDirection; 42 | m_Name = Link.m_Name; 43 | 44 | m_nShape = Link.m_nShape; 45 | 46 | m_bVisible = Link.m_bVisible; 47 | m_Color = Link.m_Color; 48 | } 49 | 50 | // --------------------------------------------------------------------------- 51 | TLink::~TLink() { 52 | delete m_Labels; 53 | } 54 | 55 | // --------------------------------------------------------------------------- 56 | void TLink::Decode(UnicodeString S) { 57 | WideString S2 = S; 58 | 59 | while (S2 != WideString("")) { 60 | WideString S1; 61 | int p = S2.Pos(","); 62 | if (p) { 63 | S1 = S2.SubString(1, p - 1); 64 | S2 = S2.SubString(p + 1, S2.Length()); 65 | } 66 | else { 67 | S1 = S2; 68 | S2 = ""; 69 | } 70 | 71 | WideString Key = S1.SubString(1, 2); 72 | S1 = S1.SubString(3, S1.Length()); 73 | 74 | if (Key == WideString("Fr")) { 75 | m_nFromID = StrToIntDef(S1, 0); 76 | } 77 | else if (Key == WideString("De")) { 78 | m_nDestID = StrToIntDef(S1, 0); 79 | } 80 | else if (Key == WideString("Di")) { 81 | m_bDirection = StrToIntDef(S1, 0); 82 | } 83 | else if (Key == WideString("Sh")) { 84 | m_nShape = StrToIntDef(S1, 0); 85 | } 86 | else if (Key == WideString("La")) { 87 | m_Labels->AddLabel(StrToIntDef(S1, 0)); 88 | } 89 | else if (Key == WideString("Na")) { 90 | m_Name = S1; 91 | } 92 | } 93 | } 94 | 95 | // --------------------------------------------------------------------------- 96 | void TLink::Decode_006(UnicodeString S) { 97 | int p; 98 | p = S.Pos(","); 99 | m_nFromID = StrToIntDef(S.SubString(1, p - 1), 0); 100 | S = S.SubString(p + 1, S.Length()); 101 | 102 | p = S.Pos(","); 103 | if (p == 0) { 104 | p = S.Length() + 1; 105 | } 106 | m_nDestID = StrToIntDef(S.SubString(1, p - 1), 0); 107 | S = S.SubString(p + 1, S.Length()); 108 | 109 | p = S.Pos(","); 110 | if (p == 0) { 111 | p = S.Length() + 1; 112 | } 113 | m_bDirection = StrToIntDef(S.SubString(1, p - 1), true); 114 | S = S.SubString(p + 1, S.Length()); 115 | 116 | p = S.Pos(","); 117 | if (p == 0) { 118 | p = S.Length() + 1; 119 | } 120 | m_nShape = StrToIntDef(S.SubString(1, p - 1), 121 | SettingView.m_nLinkDefaultShape); 122 | S = S.SubString(p + 1, S.Length()); 123 | 124 | p = S.Pos(","); 125 | if (p == 0) { 126 | p = S.Length() + 1; 127 | } 128 | int labelnum = StrToIntDef(S.SubString(1, p - 1), 0); 129 | S = S.SubString(p + 1, S.Length()); 130 | 131 | for (int i = 0; i < labelnum; i++) { 132 | p = S.Pos(","); 133 | if (p == 0) { 134 | p = S.Length() + 1; 135 | } 136 | m_Labels->AddLabel(StrToIntDef(S.SubString(1, p - 1), 0)); 137 | S = S.SubString(p + 1, S.Length()); 138 | } 139 | 140 | p = S.Pos(","); 141 | if (p == 0) { 142 | p = S.Length() + 1; 143 | } 144 | m_Name = S.SubString(1, p - 1); 145 | } 146 | 147 | // --------------------------------------------------------------------------- 148 | void TLink::Decode_005(UnicodeString S) { 149 | int p; 150 | p = S.Pos(","); 151 | m_nFromID = StrToIntDef(S.SubString(1, p - 1), 0); 152 | S = S.SubString(p + 1, S.Length()); 153 | 154 | p = S.Pos(","); 155 | if (p == 0) { 156 | p = S.Length() + 1; 157 | } 158 | m_nDestID = StrToIntDef(S.SubString(1, p - 1), 0); 159 | S = S.SubString(p + 1, S.Length()); 160 | 161 | p = S.Pos(","); 162 | if (p == 0) { 163 | p = S.Length() + 1; 164 | } 165 | m_bDirection = StrToIntDef(S.SubString(1, p - 1), true); 166 | S = S.SubString(p + 1, S.Length()); 167 | 168 | m_nShape = 0; 169 | 170 | p = S.Pos(","); 171 | if (p == 0) { 172 | p = S.Length() + 1; 173 | } 174 | int labelnum = StrToIntDef(S.SubString(1, p - 1), 0); 175 | S = S.SubString(p + 1, S.Length()); 176 | 177 | for (int i = 0; i < labelnum; i++) { 178 | p = S.Pos(","); 179 | if (p == 0) { 180 | p = S.Length() + 1; 181 | } 182 | m_Labels->AddLabel(StrToIntDef(S.SubString(1, p - 1), 0)); 183 | S = S.SubString(p + 1, S.Length()); 184 | } 185 | 186 | p = S.Pos(","); 187 | if (p == 0) { 188 | p = S.Length() + 1; 189 | } 190 | m_Name = S.SubString(1, p - 1); 191 | } 192 | 193 | // --------------------------------------------------------------------------- 194 | UnicodeString TLink::Encode() { 195 | UnicodeString S = UnicodeString("Fr") + IntToStr(m_nFromID) + // Fr 196 | UnicodeString(",") + UnicodeString("De") + IntToStr(m_nDestID) + // De 197 | UnicodeString(",") + UnicodeString("Di") + 198 | IntToStr(m_bDirection) + // Di 199 | UnicodeString(",") + UnicodeString("Sh") + IntToStr(m_nShape); // Sh 200 | /* 201 | UnicodeString(",") + 202 | UnicodeString("") + IntToStr(m_Labels->Count); 203 | */ 204 | 205 | for (int i = 0; i < m_Labels->Count; i++) { 206 | S += UnicodeString(",La") + IntToStr(m_Labels->GetLabel(i)); // La 207 | } 208 | 209 | S += UnicodeString(",Na") + // Na 210 | m_Name; 211 | 212 | return S; 213 | } 214 | // --------------------------------------------------------------------------- 215 | 216 | #pragma package(smart_init) 217 | -------------------------------------------------------------------------------- /src/utils/link.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/src/utils/link.h -------------------------------------------------------------------------------- /src/utils/setting.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/src/utils/setting.cpp -------------------------------------------------------------------------------- /src/utils/setting.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/src/utils/setting.h -------------------------------------------------------------------------------- /src/utils/textproc.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/src/utils/textproc.cpp -------------------------------------------------------------------------------- /src/utils/textproc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/src/utils/textproc.h -------------------------------------------------------------------------------- /src/utils/utils.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/src/utils/utils.cpp -------------------------------------------------------------------------------- /src/utils/utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Frieve-A/Frieve-Editor/f4c6288d0f1fd1ef411e4459d0dddbaecef22b49/src/utils/utils.h --------------------------------------------------------------------------------