Kingsoft has made its Kingsoft guard open source and has made six sub-projects public.
However, many people may not be interested in security functions like me. After all, it takes a lot of work.
However, you may be interested in the part of the interface library that you use. This library is based on the currently popular directui technology and is very suitable for tool software development, such as Internet software and entertainment software.
However, the Library is currently called as the source code, which is not convenient to use. Therefore, I am going to separate it from the Kingsoft guardian project and call it as an independent library. I also write its usage documents. You are welcome to join us.
It was originally intended to make the library into the DLL form. later it was found that all of them were template implementations and there was no way to export them.
So for the time being, it is called in the form of source code, and you will have the opportunity to see how to process it as a DLL later.
Some wtl programming experience is required to read Kingsoft code.
For more information, see the sample code in the attachment.
This interface library is a typical directui implementation method. We believe that Tx is similar, but TX must be more in-depth,
However, it is not difficult to continue in-depth development through this framework.
Currently, two preview interfaces are compiled as follows:
The description XML is as follows:
<Layer Title = "sample1" width = "600" Height = "470" appwin = "1"> <br/> <peader class = "mainhead" width = "full" height = "23"> <br/> <icon src = "icon_main" mce_src = "icon_main" Pos = "5, 4"/> <br/> <text class = "dlgtitle" POS = "60003"> Example 1 </text> <br/> <br/> <br/> <br/> </peader> <br/> <body class =" mainbody "width =" full "height = "full"> <br/> <DLG Pos = "0, 0, -0,-0 "crbg = f7fbbf> <br/> <text class =" hellowordstyle "Pos =" 50,200 "> Hello world! </Text> <br/> </DLG> <br/> </body> <br/> <footer class = "mainfoot" width = "full" Height = "23 "crbg = ffb9b9> <br/> </footer> <br/> </layer> <br/>
XML is as follows:
<Layer Title = "sample1" width = "600" Height = "470" appwin = "1"> <br/> <peader class = "mainhead" width = "full" height = "31"> <br/> <icon src = "icon_main" mce_src = "icon_main" Pos = "5, 4"/> <br/> <text class = "dlgtitle" POS = "60003"> Example 1 </text> <br/> <br/> <br/> <br/> </peader> <br/> <body class =" mainbody "Width = "full" Height = "full"> <br/> <button id = "1" class = "normalbtn" Pos = "50, 20, 180 "> normal button </button> <br/> <text class =" infostyle "Pos =", 25, "> information display: </text> <br/> <text id = "2" class = "infostyle" Pos = "200,25"> ready </text> <br/> <HR style =" dot "mce_style =" dot "size = 1 Pos =" 50, 50, 888888 "crbg =/> <br/> <check ID =" 3 "Check = 4 Pos =" "> check box 1 </check> <br/> <check ID = "4" Pos = "50, 80"> check box 2 </check> <br/> <HR style = "dot" mce_style = "dot" size = 1 Pos = "50,100,250,100" crbg = 888888/> <br/> <radio id = "5" Check = 4 Pos = "50,120"> radio button 1 </Radio> <br/> <radio id = "6" Pos = "50,140"> radio button 2 </Radio> <br/> <radio id = "7" Pos = "50,160"> radio button 3 </Radio> </P> <p> <progress ID = "8" Pos = "50,200,250,210" min = "0" max = "100" value = "30" showpercent = "1" bgskin = "progressbg" posskin = "progresspos" show = "1"/> <br/> <button id = "9" class = "normalbtn" Pos = "50,220,110,240"> added </button> <br/> <button id = "10" class = "normalbtn" Pos = "120,220,180,240"> reduce </button> </P> <p> <br/> <text class = "infostyle" Pos = "70,250"> loading. .. </text> <br/> </body> <br/> <footer class = "mainfoot" width = "full" Height = "34" crbg = ffb9b9> <br/> </footer> <br/> </layer> <br/>
Both interfaces are relatively basic and do not use a typical tab layout. For more in-depth articles, please follow the subsequent articles.
Let's take a look at the code. If you have any questions, I will write other articles about the feedback.
Attachment download:
Http://download.csdn.net/source/3108296