1 // This file is part of e93. 2 // 3 // e93 is free software; you can redistribute it and/or modify 4 // it under the terms of the e93 LICENSE AGREEMENT. 5 // 6 // e93 is distributed in the hope that it will be useful, 7 // but WITHOUT ANY WARRANTY; without even the implied warranty of 8 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 9 // e93 LICENSE AGREEMENT for more details. 10 // 11 // You should have received a copy of the e93 LICENSE AGREEMENT 12 // along with e93; see the file "LICENSE.TXT". 13 14 typedef void staticTextResizeFunction(EDITOR_WINDOW *dialog,EDITOR_RECT *newRect); 15 16 typedef struct staticTextDescriptor // describes static text to creation routines 17 { 18 staticTextResizeFunction 19 *resizeFunction; // function which is used to resize for this window 20 EDITOR_COLOR 21 backgroundColor, // color to use when drawing background 22 foregroundColor; // color to use when drawing foreground 23 const char 24 *string; 25 const char 26 *fontName; 27 } STATIC_TEXT_DESCRIPTOR; 28 29 void ResetStaticTextItemText(DIALOG_ITEM *item,char *newString); 30 bool CreateStaticTextItem(DIALOG_ITEM *item,void *description); 31