1. src/emu/fileio.cpp - added : emu_file::gets(std::string &s) - support std::string 2. src/emu/fileio.h - added : emu_file::gets(std::string &s) 3. src/emu/rendfont.cpp - added support External Glyph Image files - removed font color property. (no more needed) 4. src/emu/rendfont.h - removed font color property. (no more needed) 5. src/emu/ui/cmddata.h - removed font color property and const macro. (no more needed) - removed color_table[]. (no more needed) - removed default_text[]. (no more needed) - removed expand_text[]. (no more needed) - removed convert_text[]. (no more needed) - added s_autotext[]. (support std::unordered_map) - added s_glyphimage[]. (support std::unordered_map) 6. src/emu/ui/cmdrender.h - renamed uicmd14.fh to uicmd.fh - added std::unordered_map g_autotext - added std::unordered_map g_glyphimage - added convert_glyph_chars(...) : support for _[%d] glyph tag - added set_glyph_image(), get_glyph_image(), init_glyph_image() : support for external glyph image files - added set_auto_text(), get_auto_text(), init_auto_text() : support for custom defined replaced text - added find_auto_text() : check auto text tag _(word...) - added get_horizontal_rule() : support for <hr ...> tag - changed convert_command_glyph(...) func : use std::unordered_map 7. src/emu/ui/custmenu.cpp - changed "^!" to "_!" : support only tags beginning with '_' 8. src/emu/ui/datfile.cpp - added TAG_SET_WRAP_WIDTH, TAG_SET_AUTO_TEXT, TAG_SET_IMAGE_FILE, TAG_MENUITEM : support new command.dat - removed FILE *fp: don't support unicode text file - added emu_file class : support for unicode text file - added get_glyph_chars() : check glyph tag with _[%d] - added new datfile_manager::index_menuidx(...) : support for new command.dat format - added new datfile_manager::load_command_info(...) : support for new command.dat format 9. src/emu/ui/datfile.h - removed FILE *fp: don't support unicode text file - added emu_file class : support for unicode text file 10. src/emu/ui/datmenu.cpp - removed machine().datfile().command_sub_menu() : no more needed - added font color property. - added support left align(move text), right align (move glyph) 11. src/emu/ui/menu.cpp - added support for horizontal rule tag : <hr ...> - added support left align(move text), right align (move glyph)
12. src/emu/ui/optsmenu.cpp - changed "^!" to "_!" : support only tags beginning with '_' 13. src/emu/ui/selgame.cpp - changed "@custom..." to "_(custom:...)" : support only tags beginning with '_' - added font color property. 14. src/emu/ui/selsoft.cpp - changed "@custom..." to "_(custom:...)" : support only tags beginning with '_' - added font color property. 15. src/emu/ui/ui.cpp - added support for font color tag : <font color=...></font> 16. src/emu/ui/ui.h - changed wrap_text() : support for font color property. 17. renamed src/emu/ui/uicmd14.png to src/emu/ui/uicmd.png 18. src/lib/util/corefile.cpp - added support for core_fgets() with std::string 19. src/lib/util/corefile.h - added support for core_fgets() with std::string 20. src/lib/util/corestr.cpp - added std::string strtrimcarriage() : instead chartrimcarriage()
Edited by CmdList (03/24/16 05:40 AM)
|