
TVSKIN源代码阅读
文章平均质量分 88
waterathena
be a fashional lady
write clean code
展开
-
TVSKIN源代码阅读日记(一)XML DOM Enumerated Constants
XML DOM Enumerated Constants IXMLDOMNodeType ENUMERATIONS specifiy valid settings for the Document Object Model (DOM) node type. The node type determines valid values and whether the node can have ch原创 2009-02-17 09:02:00 · 989 阅读 · 0 评论 -
TVSKIN源代码阅读日记(三)--- __declspec(property())……
Well, in msxml.tlh中可以看到如此类似的很多定义。为了搞清楚XML文件到底是怎么解析的。需要搞明白这些声明的含义。__declspec(property(get=GetnodeName)) _bstr_t nodeName; well, i look reference to the _declspec property in MSDN原创 2009-02-18 03:06:00 · 1116 阅读 · 0 评论 -
TVSKIN源代码阅读日记(二)------ ReadResourceData()
SkinProfile.h和skinProfile.cpp主要从事XML文件的解析 参见../EZDTV/EZPlayer/Skins/EasyDTV里面的Skin.xml有关于RESOURCE文件定义由那几个XML文件组成。 ../EZDTV/EZPlayer/Skins/EasyDTV/default/resource.xml文件组成只出现了BITMAP原创 2009-02-17 05:36:00 · 673 阅读 · 0 评论 -
TVSKIN源代码阅读日记(四)--- 图片解析和相关类
涉及到的类CEZBitmap类定义:class CEZBitmap : public CBitmap, public CEZInformation { public: _bstr_t name; public: CEZBitmap( HBITMAP hBitmap = NULL ) : CBitmap(hBitmap) {} ~CEZBitm原创 2009-02-17 08:51:00 · 948 阅读 · 0 评论 -
TVSKIN源代码阅读日记(五)--- CFONT CLASS (MFC LIB) & LOGFONT STRUCT(GDI)
CFONTEncapsulates a windows graphics device interface font and provides member functions for manipulating the font.CFont类是MFC类库中的类,是封装了GDI中的LOGFONT结构而来的。class CFont : public CGdiObject原创 2009-02-19 07:50:00 · 1476 阅读 · 0 评论 -
TVSKIN源代码阅读日记(八)--- ReadLayerData
通过前面的函数可以看出显示解析了ReadResouseData,然后是ReadLayoutData,然后是ReadUIData。 一、ReadLayerData主要是解析哪些XML文件 EZPlayer的skins目录里面有两款皮肤,其中一款为EasyDTV. 在../EZDTV/EZPlayer/Skins/EasyDTV目录下以layout为搜索关键字符,可以搜索到以下文件。原创 2009-02-22 10:32:00 · 788 阅读 · 0 评论 -
TVSKIN源代码阅读日记(七)--- DEVICE CONTEXT之Graphic objects
A device context is a structure that defines a set of graphic objects and their associated attributes, as well as the graphic modes that affect output. The graphic objects include a pen for line drawi原创 2009-02-21 08:57:00 · 846 阅读 · 0 评论 -
TVSKIN源代码阅读日记(八)--- DEVICE CONTEXT之Graphic Modes
Graphic ModesWindows supports five graphic modes that allow an application to specify how colors are mixed, where output appears, how the output is scaled, and so on. These modes, which are stored i原创 2009-03-17 12:55:00 · 982 阅读 · 0 评论