CN103577194A - Graphical user interface production method and system - Google Patents

Graphical user interface production method and system Download PDF

Info

Publication number
CN103577194A
CN103577194A CN201310565665.2A CN201310565665A CN103577194A CN 103577194 A CN103577194 A CN 103577194A CN 201310565665 A CN201310565665 A CN 201310565665A CN 103577194 A CN103577194 A CN 103577194A
Authority
CN
China
Prior art keywords
user interface
graphic user
event
flash
monitoring
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310565665.2A
Other languages
Chinese (zh)
Inventor
杨昌臻
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Pixel Software Technology Co Ltd
Original Assignee
Beijing Pixel Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Pixel Software Technology Co Ltd filed Critical Beijing Pixel Software Technology Co Ltd
Priority to CN201310565665.2A priority Critical patent/CN103577194A/en
Publication of CN103577194A publication Critical patent/CN103577194A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a graphical user interface production method and system. The graphical user interface production method comprises the steps that a Flash production tool is used for editing a graphical user interface; a Flash script is used for conducting event monitoring on the graphical user interface; rendering is conducted on the graphical user interface. According to the method and system, production of a Flash file is improved, so that the purposes that the Flash production tool is used for producing the graphical user interface and a Flash rendering tool is used for completing rendering of the graphical user interface are realized. When the method and system are used for graphical user interface production, the production cost can be lowered, and the production process of the graphical user interface has the advantages of being concise in program, rich in content, flexible and the like.

Description

A kind of graphic user interface method for making and system
Technical field
The present invention relates to Application Program Interface development technique field, relate in particular to a kind of graphic user interface method for making and system.
Background technology
Graphic user interface, GraphicalUserInterface, is called for short GUI, claims again graphical user interface, refers to the computer operation user interface that adopts graphics mode to show.Compare with the Command Line Interface that early stage computing machine uses, graphical interfaces is visually easier to accept for user.Graphic user interface is made the global design of the man-machine interaction refer to software, operation logic, beautiful interface.
Existing graphical user interface design method typically uses some graphical interfaces storehouses of increasing income, for example CEGUI and MYCUI develop, but the interface editing device underaction in this type of graphical interfaces storehouse, conventionally can not reach the needs of application personalization, if transformation interface editing device needs to expend very large cost, and this type of graphical interfaces storehouse itself is the function to event-monitoring not, needing to make in addition a set of event-monitoring system coordinates just and can complete the monitoring function to user operation case with graphic user interface, so cause the graph user interface system more complicated of producing, dirigibility is poor.
Summary of the invention
The object of the invention is to propose a kind of graphic user interface method for making and system, make the manufacturing process of graphic user interface there is the characteristics such as program is succinct, abundant in content, flexible.
For reaching this object, the present invention by the following technical solutions:
A method for making, comprising:
By Flash tools editing graph user interface;
With Flash script, described graphic user interface is carried out to event-monitoring;
Described graphic user interface is played up.
A manufacturing system, comprising:
Edit cell, for being used Flash tools editing graph user interface;
Event-monitoring unit, for being used Flash script to carry out event-monitoring to described edit cell editor's graphic user interface;
Rendering unit, for playing up described edit cell editor's graphic user interface.
Method and system provided by the invention, by described graphic user interface being carried out by Flash tools editing graph user interface and with Flash script the method for event-monitoring, the perfect editing machine of graphic user interface, reduced cost of manufacture, made the manufacturing process of graphic user interface there is the characteristics such as program is succinct, abundant in content, flexible.
Accompanying drawing explanation
By reading the detailed description that non-limiting example is done of doing with reference to the following drawings, it is more obvious that other features, objects and advantages of the present invention will become:
Fig. 1 is a kind of graphic user interface method for making process flow diagram that the embodiment of the present invention provides;
Fig. 2 is a kind of graphic user interface manufacturing system structural drawing that the embodiment of the present invention provides.
Embodiment
Below in conjunction with drawings and Examples, the present invention is described in further detail.Be understandable that, specific embodiment described herein is only for explaining the present invention, but not limitation of the invention.It also should be noted that, for convenience of description, in accompanying drawing, only show part related to the present invention but not full content.
Embodiment mono-
As shown in Figure 1, the present embodiment provides a kind of graphic user interface method for making, comprising:
Step 11, by Flash tools editing graph user interface;
Step 12, carries out event-monitoring with Flash script to described graphic user interface;
Step 13, plays up described graphic user interface.
Wherein, Flash tools are a kind of two-dimension cartoon making instruments, MacromediaFlash for example, this type of instrument is widely used in the vector animation file of making internet webpage, this instrument uses the mode of vector operation, it is less that the file generating takies storage space, and the file that uses Flash tools to create has the Special Archives form of oneself, for example swf form.
Flash tools have multiple drawing instrument for creating figure, utilize drawing instrument can draw the simple shape as rectangle and ellipse, and can these simple graphs be processed and be improved, in the process of drawing, can organize graphic element with element.
The present invention uses Flash tools as the graphic editor of graphic user interface, because Flash tools possess above-mentioned flexile drawing function, so can meet the requirement of graphic user interface personalization, edits out various graphical interfaces controls.
About described graphic user interface being carried out with Flash script the step of event-monitoring, as graphic user interface, also need to have the function of event-monitoring, the i.e. monitoring to the event being caused by user's operation in user and application program interactive process, for example, user clicks on interface after certain button, and system will be fed back certain result.In prior art, conventionally need to independently make an event-monitoring system, coordinate graphic user interface to complete monitoring function, and for Flash tools, itself there is script Flash program is carried out to event-monitoring, described script is a kind of OO programming language completely, this language has the feature of feature richness, is used for realizing interactive, recreational, utility function of Flash program etc.Use Flash script to realize the event-monitoring to graphic user interface, can improve make efficiency, and the exploitation of event-monitoring is standardized more.
About the step that described graphic user interface is played up, play up the process referring to from model generation image.Model is the description for three-dimensional body by the language of strict difinition or data structure, and it comprises how much, viewpoint, texture and illumination information.The graphic user interface editing out by above-mentioned steps is a kind of model, be played up step and could be generated visual graphical interfaces by last.
Exemplary, describedly with Flash script, described graphic user interface is carried out to event-monitoring and specifically comprise:
Use ActionScript language to make event-monitoring script;
Use described event-monitoring script to carry out event-monitoring to described graphic user interface.
Wherein said ActionScript language is the script being used on Flash, it is a kind of and the computerese supporting exploitation of Flash tools, matched well due to itself and Flash tools, use the script that this language is produced to monitor the event of user interface, substitute existing event-monitoring system, can make the Event Function of user interface abundanter, content for script is more succinct.Particularly the latest edition 3.0 of ActionScript language, is a kind of OO programming language completely, and function is abundanter, and its syntactic class is like JavaScript.
Exemplary, described described graphic user interface is played up specifically and comprised:
Using Flash file to play up instrument plays up described graphic user interface.
The graphic user interface that said method edits out is actually the file of a Flash form, Swf form for example, so, it is that Flash file is played up that graphic user interface is played up, and utilize the rendering system in special-purpose Flash file playout software, for example the rendering system of FlashPlayer is played up graphic user interface, can make separately rendering system, has improved make efficiency.
Exemplary, described use Flash file is played up instrument described graphic user interface is played up, and specifically comprises:
Use Gameswf to play up described graphic user interface.
Gameswf is a parsing of increasing income and the storehouse of playing up Swf file, supports that 3d plays up.It is write with c++, at windows(form computer operating system), the operating system of MacOSX(based on UNIX core) and the class UNIX operating system of the free and open source code of Linux() the upper GCC(GNU Compiler Collection that uses, GNU is compiler set, is the compiler of a set of multiple programming language of support by GNU engineering development) and the application development instrument of MSVC(based on c++ language) compiling.It has also comprised the Library with OpenGL(Open Graphics, professional graphic package interface) rendering module of combination, and Gameswf is a kind of Embedded instrument of playing up, in the present invention, Gameswf can be embedded in application program to the rendering system as graphic user interface, when application program need to be opened graphic user interface, can call Gameswf graphic user interface is played up, after completing, be shown to user.
Meanwhile, due to the support of Gameswf to several operation systems itself, can realize the rendering system of application program across also supporting several operation systems.
Exemplary, in actual application, although to playing up with identical to playing up in principle of graphic user interface of Flash animation, be all data model translation to be become to the process of visual picture, but Flash animation and graphic user interface also exist certain difference on to the demand of the rendering content of rendering system, so conventionally will carry out certain transformation to Gameswf, the rendering module of Gameswf can be decomposed out, the interface of playing up that adds other, for example:
The original rendering module of Gameswf is that the Interface realization by calling in gameswf_render.h is played up work, and method provided by the invention can be replaced original begin_display function in gameswf_render.h with newly-built GDIRenderDrawImage function; With newly-built void GDIRenderEnd function, replace original void end_display function in gameswf_render.h, then with the rendering module after replacing, realize the work of playing up to picture.
Improved Gameswf has the additional function of playing up, for fear of the interface of playing up adding, exist and conflict with the rendering module of Gameswf itself, can the original rendering module of Gameswf be replaced completely with the rendering module of graphic user interface special use, remove in Gameswf simultaneously and play up the irrelevant module of function, the basic framework and the merge module that only retain Gameswf, so, can remove Gameswf is a Relational DBMS to MySQL(MySQL) support, removal is to SDL(SDL, be SimpleDirectMediaLayer, the cross-platform multimedia development storehouse of a set of open source code) support, removal to the support of bottom layer image form as jpg, the support of the picture file forms such as png.
Gameswf is carried out as the instrument of playing up of the present invention, graphic user interface being played up after above-mentioned transformation, because the instrument of playing up is more clean, more targeted, so that the efficiency of playing up is improved, further improved the make efficiency of graphic user interface.
Embodiment bis-
The present embodiment provides a kind of graphic user interface manufacturing system, comprising:
Edit cell 21, for being used Flash tools editing graph user interface;
Event-monitoring unit 22, for being used Flash script to carry out event-monitoring to described edit cell editor's graphic user interface;
Rendering unit 23, for playing up described edit cell editor's graphic user interface.
Exemplary, described event-monitoring unit also for use ActionScript language make event-monitoring script, also for using described event-monitoring script to carry out event-monitoring to described edit cell editor's graphic user interface.
Exemplary, described rendering unit is also played up described edit cell editor's graphic user interface for using Flash file to play up instrument.
Exemplary, described rendering unit is also for being used Gameswf to play up described edit cell editor's graphic user interface.
Above are only preferred embodiment of the present invention and institute's application technology principle.Skilled person in the art will appreciate that and the invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious variations, readjust and substitute and can not depart from protection scope of the present invention.Therefore, although the present invention is described in further detail by above embodiment, the present invention is not limited only to above embodiment, in the situation that not departing from the present invention's design, can also comprise more other equivalent embodiment, and scope of the present invention is determined by appended claim scope.

Claims (8)

1. a graphic user interface method for making, is characterized in that, comprising:
By Flash tools editing graph user interface;
With Flash script, described graphic user interface is carried out to event-monitoring;
Described graphic user interface is played up.
2. method according to claim 1, is characterized in that, describedly with Flash script, described graphic user interface is carried out to event-monitoring and specifically comprises:
Use ActionScript language to make event-monitoring script;
Use described event-monitoring script to carry out event-monitoring to described graphic user interface.
3. method according to claim 1 and 2, is characterized in that, described described graphic user interface is played up specifically and comprised:
Using Flash file to play up instrument plays up described graphic user interface.
4. method according to claim 3, is characterized in that, described use Flash file is played up instrument described graphic user interface is played up, and specifically comprises:
Use Gameswf to play up described graphic user interface.
5. a graphic user interface manufacturing system, is characterized in that, comprising:
Edit cell, for being used Flash tools editing graph user interface;
Event-monitoring unit, for being used Flash script to carry out event-monitoring to described edit cell editor's graphic user interface;
Rendering unit, for playing up described edit cell editor's graphic user interface.
6. system according to claim 5, it is characterized in that, described event-monitoring unit also for use ActionScript language make event-monitoring script, also for using described event-monitoring script to carry out event-monitoring to described edit cell editor's graphic user interface.
7. according to the system described in claim 5 or 6, it is characterized in that, described rendering unit is also played up described edit cell editor's graphic user interface for using Flash file to play up instrument.
8. system according to claim 7, is characterized in that, described rendering unit is also for being used Gameswf to play up described edit cell editor's graphic user interface.
CN201310565665.2A 2013-11-13 2013-11-13 Graphical user interface production method and system Pending CN103577194A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310565665.2A CN103577194A (en) 2013-11-13 2013-11-13 Graphical user interface production method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310565665.2A CN103577194A (en) 2013-11-13 2013-11-13 Graphical user interface production method and system

Publications (1)

Publication Number Publication Date
CN103577194A true CN103577194A (en) 2014-02-12

Family

ID=50049043

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310565665.2A Pending CN103577194A (en) 2013-11-13 2013-11-13 Graphical user interface production method and system

Country Status (1)

Country Link
CN (1) CN103577194A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101398754A (en) * 2007-09-26 2009-04-01 中国科学院声学研究所 Interactive system of embedded equipment
US20100045662A1 (en) * 2006-10-02 2010-02-25 Aftercad Software Inc. Method and system for delivering and interactively displaying three-dimensional graphics
CN101968739A (en) * 2010-09-27 2011-02-09 福建新大陆通信科技股份有限公司 Method for implementing set top box architecture based on flash technology
CN102333246A (en) * 2011-10-19 2012-01-25 广东中大讯通软件科技有限公司 User interface system based on Flash middleware of set top box

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100045662A1 (en) * 2006-10-02 2010-02-25 Aftercad Software Inc. Method and system for delivering and interactively displaying three-dimensional graphics
CN101398754A (en) * 2007-09-26 2009-04-01 中国科学院声学研究所 Interactive system of embedded equipment
CN101968739A (en) * 2010-09-27 2011-02-09 福建新大陆通信科技股份有限公司 Method for implementing set top box architecture based on flash technology
CN102333246A (en) * 2011-10-19 2012-01-25 广东中大讯通软件科技有限公司 User interface system based on Flash middleware of set top box

Similar Documents

Publication Publication Date Title
KR100989459B1 (en) Apparatus and method for providing a sequence of video frames, apparatus and method for providing a scene model, scene model, apparatus and method for creating a menu structure and computer program
US8533595B2 (en) Hierarchical display and navigation of document revision histories
US8914259B2 (en) Passive associativity in three-dimensional (3D) modeling
CN102339291B (en) Method and equipment for generating list
US20120271867A1 (en) Hierarchical display and navigation of document revision histories
US20120272151A1 (en) Hierarchical display and navigation of document revision histories
US10803647B1 (en) Generating animation rigs using scriptable reference modules
US9639330B2 (en) Programming interface
CN103197929A (en) System and method for graphical programming facing children
US9159168B2 (en) Methods and systems for generating a dynamic multimodal and multidimensional presentation
CN102663799A (en) Creation of a playable scene with an authoring system
CN101196818A (en) Fast graphical developing system
O'leary et al. Enhancements to VTK enabling scientific visualization in immersive environments
CN102142152B (en) For show method, device and the program of object on computer screen
CN106462405B (en) Interactive learning tool using arenas
US20110285727A1 (en) Animation transition engine
CN103838930A (en) Method and system for implementing parameterization units on basis of technical graph editor
TW201710646A (en) Method, apparatus and system for facilitating navigation in an extended scene
US8363055B1 (en) Multiple time scales in computer graphics
CN111309321A (en) Customizable GUI system based on data drive
CN103577194A (en) Graphical user interface production method and system
CN109035367A (en) Visual Dynamic shows the edit methods and system of elegant file
JP4889338B2 (en) Screen program layout changing method, information processing apparatus, program, and recording medium
WO2008023819A1 (en) Computer system and operation control method
JP2009529736A (en) Apparatus and method for providing a sequence of video frames, apparatus and method for providing a scene model, scene model, apparatus and method for creating a menu structure, and computer program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140212