MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

Pages: 1

CmdList
CmdList
Reged: 04/06/05
Posts: 65
Send PM


MAME WIP: Expand to support tag with font color, glyph
#351302 - 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)



CmdList
CmdList
Reged: 04/06/05
Posts: 65
Send PM


Re: upload to source file. new [Re: CmdList]
#351303 - 03/08/16 03:34 AM Attachment: mamewip 0171.2016-03-08.7z 19 KB (4 downloads)


Edit to src/emu/ui/ui.cpp

http://cmdlist.com


Pages: 1

MAMEWorld >> EmuChat
View all threads Index   Threaded Mode Threaded  

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