Compare commits

..

5 commits
v1.0.0 ... main

Author SHA1 Message Date
KawaiiZenbo
0edb4a0b29
Merge pull request #1 from jornmann/main 2022-09-03 10:05:59 -07:00
jornmann
5fba941c2f
fix typo 2022-09-03 10:12:49 +03:00
KawaiiZenbo
eadf441c59
Update README.md 2022-09-02 19:48:29 -07:00
KawaiiZenbo
7e1ff654fc
Update README.md 2022-09-02 19:02:58 -07:00
kawaiizenbo
833154c8d0 fix minor scaling bugs 2022-09-02 19:00:13 -07:00
5 changed files with 42 additions and 19 deletions

View file

@ -1,5 +1,13 @@
# tpDictionary # tpDictionary
Toki Pona Dictionary for Windows Mobile 6/6.1/6.5 Toki Pona Dictionary for Windows Mobile
Compatible with Windows Mobile 5/6.0/6.1/6.5
Made with Visual Studio 2008 and .NET Compact Framework 2.0
## Use instructions
1. Install [.NET Compact Framework 2.0](https://archive.org/details/netcompact2.0) if on Windows Mobile 5
1. Copy executable to device or SD/CF card
1. Open application from file explorer
1. Application may take a while to start
## Compilation Instructions ## Compilation Instructions
### Required software (not needed for normal use, just download from releases) ### Required software (not needed for normal use, just download from releases)
@ -8,9 +16,12 @@ Toki Pona Dictionary for Windows Mobile 6/6.1/6.5
1. [Windows Mobile 6 Standard SDK Refresh](https://www.microsoft.com/en-us/download/details.aspx?id=6135) ([Archived copy](http://web.archive.org/web/20220415150412/https://www.microsoft.com/en-us/download/details.aspx?id=6135)) 1. [Windows Mobile 6 Standard SDK Refresh](https://www.microsoft.com/en-us/download/details.aspx?id=6135) ([Archived copy](http://web.archive.org/web/20220415150412/https://www.microsoft.com/en-us/download/details.aspx?id=6135))
### If you care enough to compile this yourself, you probably already know how to open and build a project in VS, it works the same as in modern versions ### If you care enough to compile this yourself, you probably already know how to open and build a project in VS, it works the same as in modern versions
## Sitelen Pona font ## Sitelen Pona font
http://musilili.net/linja-pona/ http://musilili.net/linja-pona/
## Official toki pona books ## Official toki pona books
[Toki Pona: The Language of Good - "pu"](https://www.amazon.com/Toki-Pona-Language-Sonja-Lang/dp/0978292308) [Toki Pona: The Language of Good - "pu"](https://www.amazon.com/Toki-Pona-Language-Sonja-Lang/dp/0978292308)
[Toki Pona Dictionary - "ku"](https://www.amazon.com/Toki-Pona-Dictionary-Official/dp/0978292367) [Toki Pona Dictionary - "ku"](https://www.amazon.com/Toki-Pona-Dictionary-Official/dp/0978292367)
## Program image
![Dictionary on Samsung Intrepid](https://user-images.githubusercontent.com/48113593/188251592-00a91bc9-1db7-4ec9-9f0d-5e2a9e225a25.JPG)

View file

@ -62,7 +62,7 @@
this.wordLabel.Font = new System.Drawing.Font("Segoe Condensed", 14F, System.Drawing.FontStyle.Bold); this.wordLabel.Font = new System.Drawing.Font("Segoe Condensed", 14F, System.Drawing.FontStyle.Bold);
this.wordLabel.Location = new System.Drawing.Point(3, 0); this.wordLabel.Location = new System.Drawing.Point(3, 0);
this.wordLabel.Name = "wordLabel"; this.wordLabel.Name = "wordLabel";
this.wordLabel.Size = new System.Drawing.Size(276, 30); this.wordLabel.Size = new System.Drawing.Size(260, 30);
this.wordLabel.Text = "word"; this.wordLabel.Text = "word";
// //
// typeLabel // typeLabel
@ -72,7 +72,7 @@
this.typeLabel.Font = new System.Drawing.Font("Segoe Condensed", 8F, System.Drawing.FontStyle.Regular); this.typeLabel.Font = new System.Drawing.Font("Segoe Condensed", 8F, System.Drawing.FontStyle.Regular);
this.typeLabel.Location = new System.Drawing.Point(3, 30); this.typeLabel.Location = new System.Drawing.Point(3, 30);
this.typeLabel.Name = "typeLabel"; this.typeLabel.Name = "typeLabel";
this.typeLabel.Size = new System.Drawing.Size(276, 20); this.typeLabel.Size = new System.Drawing.Size(260, 20);
this.typeLabel.Text = "type"; this.typeLabel.Text = "type";
// //
// definitionLabel // definitionLabel
@ -108,9 +108,10 @@
// spChara // spChara
// //
this.spChara.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.spChara.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
this.spChara.Location = new System.Drawing.Point(285, 3); this.spChara.Location = new System.Drawing.Point(269, 3);
this.spChara.Name = "spChara"; this.spChara.Name = "spChara";
this.spChara.Size = new System.Drawing.Size(32, 32); this.spChara.Size = new System.Drawing.Size(48, 48);
this.spChara.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
// //
// DefinitionForm // DefinitionForm
// //

View file

@ -30,9 +30,9 @@
private void InitializeComponent() private void InitializeComponent()
{ {
this.mainMenu1 = new System.Windows.Forms.MainMenu(); this.mainMenu1 = new System.Windows.Forms.MainMenu();
this.wordsListView = new System.Windows.Forms.ListView();
this.backButton = new System.Windows.Forms.MenuItem(); this.backButton = new System.Windows.Forms.MenuItem();
this.definitionButton = new System.Windows.Forms.MenuItem(); this.definitionButton = new System.Windows.Forms.MenuItem();
this.wordsListView = new System.Windows.Forms.ListView();
this.sitelenPonaList = new System.Windows.Forms.ImageList(); this.sitelenPonaList = new System.Windows.Forms.ImageList();
this.SuspendLayout(); this.SuspendLayout();
// //
@ -41,14 +41,6 @@
this.mainMenu1.MenuItems.Add(this.backButton); this.mainMenu1.MenuItems.Add(this.backButton);
this.mainMenu1.MenuItems.Add(this.definitionButton); this.mainMenu1.MenuItems.Add(this.definitionButton);
// //
// wordsListView
//
this.wordsListView.LargeImageList = this.sitelenPonaList;
this.wordsListView.Location = new System.Drawing.Point(0, 0);
this.wordsListView.Name = "wordsListView";
this.wordsListView.Size = new System.Drawing.Size(320, 186);
this.wordsListView.TabIndex = 0;
//
// backButton // backButton
// //
this.backButton.Text = "Back"; this.backButton.Text = "Back";
@ -59,6 +51,18 @@
this.definitionButton.Text = "Definition"; this.definitionButton.Text = "Definition";
this.definitionButton.Click += new System.EventHandler(this.definitionButton_Click); this.definitionButton.Click += new System.EventHandler(this.definitionButton_Click);
// //
// wordsListView
//
this.wordsListView.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.wordsListView.LargeImageList = this.sitelenPonaList;
this.wordsListView.Location = new System.Drawing.Point(0, 0);
this.wordsListView.Name = "wordsListView";
this.wordsListView.Size = new System.Drawing.Size(320, 186);
this.wordsListView.TabIndex = 0;
this.wordsListView.ItemActivate += new System.EventHandler(this.wordsListView_ItemActivate);
//
// sitelenPonaList // sitelenPonaList
// //
this.sitelenPonaList.ImageSize = new System.Drawing.Size(32, 32); this.sitelenPonaList.ImageSize = new System.Drawing.Size(32, 32);

View file

@ -25,6 +25,11 @@ namespace tpDictionary
} }
private void definitionButton_Click(object sender, EventArgs e) private void definitionButton_Click(object sender, EventArgs e)
{
defineWord();
}
private void defineWord()
{ {
if (wordsListView.SelectedIndices.Count != 0) if (wordsListView.SelectedIndices.Count != 0)
{ {
@ -66,5 +71,10 @@ namespace tpDictionary
} }
return false; return false;
} }
private void wordsListView_ItemActivate(object sender, EventArgs e)
{
defineWord();
}
} }
} }

View file

@ -132,7 +132,4 @@
<metadata name="$this.Skin" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="$this.Skin" type="System.Boolean, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>False</value> <value>False</value>
</metadata> </metadata>
<metadata name="$this.UndoSkinCounterProperty" type="System.Int32, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>1</value>
</metadata>
</root> </root>