MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

CmdList
CmdList
Reged: 04/06/05
Posts: 65
Send PM
MAME WIP: Expand to support tag with font color, glyph
03/08/16 03:26 AM Attachment: wip3.png 156 KB (1 downloads)


Hello.

Edit to src/emu/ui/ui.cpp source code file.
1. Added support for tag with font color, glyph.
- Added font color tag.
<font color=rgb(%d,%d,%d)>, <font color=#%2x%2x%2x>
Addedglyph tag.
- <glyph value=%d>, _[%d]



example) command list of pong game driver.

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 color="rgb(0,255,0)"> GREEN COLOR</font> TEST1 </font> TEST2 </font> TEST3

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 color=rgb(0,255,0)> GREEN COLOR</font> TEST1 </font> TEST2 </font> TEST3

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

This is _[%d] tag. (replace command list glyph)
_[2] 2nd Glyph
_[3] 3rd Glyph
_[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

Edited by CmdList (03/08/16 03:26 AM)







Entire thread
Subject Posted by Posted on
* MAME WIP: Expand to support tag with font color, glyph CmdList 03/08/16 03:26 AM
. * Re: upload to source file. CmdList  03/08/16 03:34 AM

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