MAMEWorld >> EmuChat
Index   Flat Mode Flat  

CmdList
CmdList
Reged: 04/06/05
Posts: 65
Send PM
MAME WIP: support #color(%d,%d,%d), #glyph(%d) tag (src/emu/ui/ui.cpp)
03/05/16 10:58 PM Attachment: wip_tag.png 137 KB (5 downloads)


Hello.

1. Added support #color(%d,%d,%d) tag. (src/emu/ui/ui.cpp)
- change text color.
2. Added support #glyph(%d) tag. (src/emu/ui/ui.cpp)
- replace command list glyph character. (0xe000 + %d)
But It's not completed.


example) command list of pong game driver.

$info=pong,pongf,pongd
$cmd
TEST WIP
-----------------------------------------------
This is #color(%d,%d,%d) tag. (change text color)
#color(255,0,0)RED COLOR #color(0,255,0)BLUE COLOR #color(0,0,255) GREEN COLOR

This is #glyph(%d) tag. (replace command list glyph)
#glyph(2) 2nd Glyph
#glyph(3) 3rd Glyph
#glyph(4) 4th Glyph
-----------------------------------------------





http://cmdlist.com

[ATTACHED IMAGE - CLICK FOR FULL SIZE]

Attachment

Edited by CmdList (03/05/16 11:01 PM)







Entire thread
Subject Posted by Posted on
* MAME WIP: support #color(%d,%d,%d), #glyph(%d) tag (src/emu/ui/ui.cpp) CmdList 03/05/16 10:58 PM
. * Re: MAME WIP: support #color(%d,%d,%d), #glyph(%d) tag (src/emu/ui/ui.cpp) CiroConsentino  03/06/16 02:41 AM

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 275 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 2227