Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

UI skin changing method, system and device based on XML and storage medium

A style and file technology, applied in the field of client skinning, can solve problems such as difficult interface switching and skinning effects, high requirements for developers, and difficult interface implementation, so as to avoid low performance, low development cost, Colorful interface effects

Pending Publication Date: 2021-03-12
广州经传多赢投资咨询有限公司
View PDF1 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Traditionally, large-scale PC clients developed using C++ language have relatively high interface performance and smooth interface, but the technology is complicated, the development cost is high, and the requirements for developers are also high; Realize dynamic and efficient interface switching and skinning effects
In recent years, the popular PC client interface developed based on open source browser technology Nodejs and Webkit and other Web technologies is just the opposite. The interface is stunning and the development cost is low. High software scene powerless

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • UI skin changing method, system and device based on XML and storage medium
  • UI skin changing method, system and device based on XML and storage medium
  • UI skin changing method, system and device based on XML and storage medium

Examples

Experimental program
Comparison scheme
Effect test

example 1

[0049] Example 1:

[0050]

[0051]

[0052]

[0053] Different text styles are defined in an example, in the style, you can specify the font color and font type of text when you use this style on the interface.

example 2

[0054] Example 2:

[0055]

[0056]

[0057] Example 2 defines an edit box color style and a drop-down button style, the style specifies the background color, size and location of the module, and the second style KminBigDropbtn has two parent-style kminbigdropbtncolor, kminbtntextColor, indicating that it is Two parent-style inherits the combination of all properties of these two parent-style style.

example 3

[0058] Example 3:

[0059]

[0060] Example 3 defines the default style style of the radio box, indicating that the radio box of the corresponding page does not need to set any properties, and automatically has the size, text location, font, select, and slide corresponding picture effects of the above defined.

[0061] Such as figure 2 As shown, embodiments of the present invention provide an XML-based UI skinheading method, including steps:

[0062] S1, receive the change instruction.

[0063] S2, replace the style file of the current page based on the skinning instruction call, and rendered the interface according to the replaced style file; where the style file is an XML format file, the replacement and the rendering are implemented by C ++ code; The style file has been loaded after the program is started.

[0064] Alternatively, the above method also includes the steps:

[0065] When the skinning instruction is received, the page style version number is updated according to ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a UI skin changing method, system and device based on XML and a storage medium. The method comprises the steps that a skin changing instruction is received; calling an interface to replace the style file of the current page according to the skin change instruction, and rendering the interface according to the replaced style file, wherein the style file is an XML format file, and replacement and rendering are achieved through C + + codes; and the style file is loaded and stored after a program is started. According to the embodiment of the invention, the style file is stored through the XML format file, so that the problems of high development cost and high complex interface implementation difficulty caused by writing the skin file by adopting C + + codes are avoided, the development cost is low, and the interface is bright and colorful; replacement and interface rendering of style files are achieved through C + + codes, the problems that the Web technology is low in loading speed and not high in performance are avoided, and high operation efficiency and high loading speed are achieved. The embodiment of the invention can be widely applied to the technical field of client skin change.

Description

Technical field [0001] The present invention relates to the field of client solution techniques, and more particularly to an XML-based UI skinmost method, system, device, and storage medium. Background technique [0002] With the development of computer technology, professional client software is in-depth use in work and life, and users have more powerful to client software, which is more powerful, and the requirements for the beautiful and good interaction of software interfaces are increasing. [0003] Traditional large PC client interface developed using C ++ language is relatively high, smooth interface, but technology is complex, high development costs, and high requirements for developers; and make difficulty for some complex and beautiful interfaces, it is difficult Implement dynamic efficient interface switching and skin food effects. In recent years, the PC client interface developed based on open source browser technology and WEB technology, etc., the PC client interfac...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/958G06F16/957G06F8/38
CPCG06F16/986G06F16/9574G06F16/9577G06F8/38
Inventor 曾赞达罗文杰柯年军卢树文周伟杰
Owner 广州经传多赢投资咨询有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products