Thank you for these links. Let me take some time to peruse them.
Eschecs FreeBASIC (UCI chess GUI)
-
- Posts: 992
- Joined: Nov 24, 2011 19:49
- Location: France
- Contact:
-
- Posts: 992
- Joined: Nov 24, 2011 19:49
- Location: France
- Contact:
-
- Posts: 992
- Joined: Nov 24, 2011 19:49
- Location: France
- Contact:
I am happy to present the short mouse-help I've just finished.
Thanks :
To TESLACOIL for the idea of use the place where taken pieces are drawn.
To TJF for the idea of multilingual help.
To BasicCoder2, Richard and fxm for their translations.
Thanks :
To TESLACOIL for the idea of use the place where taken pieces are drawn.
To TJF for the idea of multilingual help.
To BasicCoder2, Richard and fxm for their translations.
Code: Select all
select case as const aide
case 0
case 1
draw string (392,032),"To move a piece,"
draw string (392,044),"click on it and"
draw string (392,056),"then click on the"
draw string (392,068),"square you wish to"
draw string (392,080),"move it to."
draw string (392,092),"Press any key..."
draw string (392,116),"Um eine Figur zu"
draw string (392,128),"bewegen, klicken"
draw string (392,140),"Sie zuerst auf die"
draw string (392,152),"Figur und dann auf"
draw string (392,164),"das Zielfeld."
draw string (392,176),"Dr"+chr(129)+"cken Sie auf"
draw string (392,188),"eine Taste..."
draw string (392,212),"Pour d"+chr(130)+"placer une"
draw string (392,224),"pi"+chr(138)+"ce, cliquez sur"
draw string (392,236),"la case de d"+chr(130)+"part,"
draw string (392,248),"puis sur la case"
draw string (392,260),"d'arriv"+chr(130)+"e."
draw string (392,272),"Appuyez sur une"
draw string (392,284),"touche..."
aide=0
do
if len(inkey)>0 then exit do
res=getmouse(x,y,,buttons)
if res=0 and buttons=1 then exit do
loop
end select
Sorry, that's not exactly what I had in mind when I spoke about a multilingual GUI. I recommend to separate the texts from the source so a translator can act without changing the source code. And you need not care about the translator when you change the code.Roland Chastain wrote:To TJF for the idea of multilingual help.
Like it's done in a GTK application or in this gettext example.
-
- Posts: 992
- Joined: Nov 24, 2011 19:49
- Location: France
- Contact:
-
- Posts: 992
- Joined: Nov 24, 2011 19:49
- Location: France
- Contact:
Eschecs 0.3
Hello !
Here is ESCHECS 0.3 : http://www.freebasic-portal.de/download ... s-210.html
New :
Short multilingual "old-manner" help message for mouse control. Thanks to charitable translaters (english and german languages).
Highlighting legal moves with right-click. (It is not yet written in the Help !)
Short messages in the window title, about the way to quit, and about the way to stop the "auto" mode.
A new line in the evaluation program. Anti-pawn-promotion ! The h2-h4-h5-h6 attack doesn't succeed any longer ! ;-)
I made also much things in the source code, in order to progress in clarity and order, but there is much to do.
Please have a look and let me know what you think about !
Here is ESCHECS 0.3 : http://www.freebasic-portal.de/download ... s-210.html
New :
Short multilingual "old-manner" help message for mouse control. Thanks to charitable translaters (english and german languages).
Highlighting legal moves with right-click. (It is not yet written in the Help !)
Short messages in the window title, about the way to quit, and about the way to stop the "auto" mode.
A new line in the evaluation program. Anti-pawn-promotion ! The h2-h4-h5-h6 attack doesn't succeed any longer ! ;-)
I made also much things in the source code, in order to progress in clarity and order, but there is much to do.
Please have a look and let me know what you think about !
-
- Posts: 992
- Joined: Nov 24, 2011 19:49
- Location: France
- Contact:
-
- Posts: 992
- Joined: Nov 24, 2011 19:49
- Location: France
- Contact:
-
- Posts: 992
- Joined: Nov 24, 2011 19:49
- Location: France
- Contact:
But I wonder if "list" is the right word. The allowed moves are indicated by a colored line on squares, not written like "e2e4". Does the word "list" suit, according to you, to say that ?
Last edited by Roland Chastain on Dec 17, 2011 18:17, edited 1 time in total.
-
- Posts: 992
- Joined: Nov 24, 2011 19:49
- Location: France
- Contact:
This is what I said to me, that you thought of a window. I should have been clearer. Thank you !fxm wrote:(I thought it was a pop-up window!)
Code: Select all
draw string (36,036),"To move a piece, click on it and then"
draw string (36,048),"click on the square you wish to move"
draw string (36,060),"it to. Right mouse button on piece"
draw string (36,072),"displays the allowed moves."
draw string (36,084),"Press any key..."
-
- Posts: 992
- Joined: Nov 24, 2011 19:49
- Location: France
- Contact:
Hi !
Here is ESCHECS 0.4 :
Here is ESCHECS 0.4 :
Last edited by Roland Chastain on Apr 21, 2018 16:53, edited 1 time in total.