MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

CmdList
CmdList
Reged: 04/06/05
Posts: 65
Send PM
MAME WIP: Some change to support tag with font color, glyph
03/07/16 04:24 AM Attachment: wip_tag2.png 144 KB (2 downloads)


Hello.

Edit to src/emu/ui/ui.cpp source code file.
1. Change to tag with font color, glyph.
#color(%d,%d,%d) --> <font color="rgb(%d,%d,%d)">, <font color="#%2x%2x%2x">
#glyph(%d) --> <glyph value="%d">
2. Added support </font> tag. (return to previous font color)



example) command list of pong game driver.

$info=pong,pongf,pongd
$cmd
TEST WIP
-----------------------------------------------
This is <font color="rgb(%d,%d,%d)">, <font color="#%2x%2x%2x">, </font> tag. (change text color)
<font color="rgb(255,0,0)">RED COLOR <font color="#0000FF">BLUE COLOR</font> TEST1 </font> TEST2 </font> TEST3 <font color="rgb(0,255,0)"> GREEN COLOR

This is <glyph value="%d"> tag. (replace command list glyph)
<glyph value="2"> 2nd Glyph
<glyph value="3"> 3rd Glyph
<glyph value="4"> 4th Glyph

<font color="rgb(255,0,0)">_6</font>_6



this is temporary site with MAME UI Tester build. (not yet ready)
http://cmdlist.com

[ATTACHED IMAGE - CLICK FOR FULL SIZE]

Attachment







Entire thread
Subject Posted by Posted on
* MAME WIP: Some change to support tag with font color, glyph CmdList 03/07/16 04:24 AM
. * Re: upload to src/emu/ui/ui.cpp CmdList  03/07/16 04:29 AM

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