{ 0, 0, 0, NULL, (void*) &appData.upsideDown, "", NULL, CheckBox, N_("Flip Pieces Shogi Style (Colored buttons restore default)") },
//{ 0, 0, 0, NULL, (void*) &appData.allWhite, "", NULL, CheckBox, N_("Use Outline Pieces for Black") },
{ 0, 0, 0, NULL, (void*) &appData.monoMode, "", NULL, CheckBox, N_("Mono Mode") },
+{ 0, 0, 200, NULL, (void*) &appData.logoSize, "", NULL, Spin, N_("Logo Size (0=off, requires restart):") },
{ 0,-1, 5, NULL, (void*) &appData.overrideLineGap, "", NULL, Spin, N_("Line Gap (-1 = default for board size):") },
{ 0, 0, 0, NULL, (void*) &appData.useBitmaps, "", NULL, CheckBox, N_("Use Board Textures") },
{ 0, 0, 0, NULL, (void*) &appData.liteBackTextureFile, ".png", NULL, FileName, N_("Light-Squares Texture File:") },
//------------------------------------------------------ Edit Tags ----------------------------------
static void changeTags P((int n));
-static char *tagsText;
+static char *tagsText, **resPtr;
static int
NewTagsCallback (int n)
{
- if(!bookUp) ReplaceTags(tagsText, &gameInfo);
+ if(bookUp) SaveToBook(tagsText), DisplayBook(currentMove); else
+ if(resPtr) { ASSIGN(*resPtr, tagsText); } else
+ ReplaceTags(tagsText, &gameInfo);
return 1;
}
{
GenericReadout(tagsOptions, 1);
if(bookUp) SaveToBook(tagsText), DisplayBook(currentMove); else
+ if(resPtr) { ASSIGN(*resPtr, tagsText); } else
ReplaceTags(tagsText, &gameInfo);
}
void
EditTagsPopUp (char *tags, char **dest)
{ // wrapper to preserve old name used in back-end
+ resPtr = dest;
NewTagsPopup(tags, NULL);
}