CN102354275A - Text input box and data processing method thereof - Google Patents

Text input box and data processing method thereof Download PDF

Info

Publication number
CN102354275A
CN102354275A CN2011102923050A CN201110292305A CN102354275A CN 102354275 A CN102354275 A CN 102354275A CN 2011102923050 A CN2011102923050 A CN 2011102923050A CN 201110292305 A CN201110292305 A CN 201110292305A CN 102354275 A CN102354275 A CN 102354275A
Authority
CN
China
Prior art keywords
input frame
module
literal
literal input
data processing
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.)
Granted
Application number
CN2011102923050A
Other languages
Chinese (zh)
Other versions
CN102354275B (en
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.)
Wanxing Polytron Technologies Inc
Original Assignee
Shenzhen Wondershare Software 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 Shenzhen Wondershare Software Co Ltd filed Critical Shenzhen Wondershare Software Co Ltd
Priority to CN201110292305.0A priority Critical patent/CN102354275B/en
Publication of CN102354275A publication Critical patent/CN102354275A/en
Application granted granted Critical
Publication of CN102354275B publication Critical patent/CN102354275B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a text input box and a data processing method thereof. An input box control is functionally decomposed into a plurality of independent function modules comprising a rotating module, a stretching module, a background mapping module, a semitransparent module and a handle-free module to form the input box integrating a plurality of functions, and a user can combine the functions only by simply configuring different equipment connecting switches, so dependence on system resources is reduced. Simultaneously, the mapping of the input box can be realized only by simply configuring a mapping engine without rewriting a code for control, so the input complexity of the user is decreased, and cost is also decreased.

Description

A kind of literal input frame and data processing method thereof
Technical field
The present invention relates to picture editor's data processing field, relate in particular to a kind of literal input frame and data processing method thereof.
Background technology
Literal is the important component part and the carrier of culture; Almost in any visual media; Literal and picture all are its two big inscapes, so text effects will directly influence the visual communication effect of works, and visible words also is with the indispensable element of giving me a little the decorations picture.
Current; The literal input frame modules of using in the picture editor field more; Such as rotary module; Translucent module; No handle module or the like; Yet mostly product is to carry out function package to independent function mostly now; Such as the of the prior art several input frames shown in the accompanying drawing 1: rotatable literal input frame; Translucent literal input frame; Literal input frame of no handle or the like; But these input frames can't satisfy needs input frame rotation simultaneously; Input frame stretches; The demand of functions such as input frame translucent effect; And the technician is if want to increase function; Just must write code again to the monoblock function controls; Process is loaded down with trivial details, waste of manpower.
Therefore, prior art awaits to improve and development.
Summary of the invention
The object of the present invention is to provide a kind of literal input frame and data processing method thereof; Solve the problem that there is function singleness in current input frame control; The demand that the input frame of can satisfying the demand simultaneously rotation, input frame stretch, input frame increases functions such as Background, input frame translucent effect makes the literal input frame increase new function: can be implemented in satisfy the demand the simultaneously demand of functions such as input frame rotation, input frame stretching, input frame translucent effect of a literal input frame.
Technical scheme of the present invention is following:
A kind of literal input frame comprises an input frame control, and wherein, this input frame control comprises a plurality of functional modules with independent dynamic base; Each said dynamic base definition has interface, and said functional module with independent dynamic base is associated with said literal input frame control through said interface, on said literal input frame control, to load said dynamic base arbitrarily according to demand.
Described literal input frame, wherein, said a plurality of functional modules with independent dynamic base comprise with two in the lower module at least:
The rotary module that is used for the rotate type input frame;
The stretching module of literal input frame is used to stretch;
Be used for literal input frame background is carried out the background pinup picture module of pinup picture operation;
Be used for the literal input frame is provided with the translucent module of translucent;
Be used for the literal input frame is not had the no handle module of handleization.
Described literal input frame, wherein,
Said a plurality of functional module with independent dynamic base is the dynamic library file of suffix dll by name.
The data processing method of said literal input frame wherein, comprises step:
A, reception input data;
B, obtain the drawing board information that editor's input frame is drawn in corresponding being used to according to the input data;
C, said input data had the functional module of independent dynamic base through each successively by the order that sets arbitrarily, to accomplish data processing.
The data processing method of said literal input frame, wherein, said step C also comprises:
When handling the input data; Loaded the dynamic base of no handle module in advance when said literal input frame control; Importing data so will handle through the one or more modules in rotary module, stretching module, background pinup picture module, the translucent module earlier through the processing of no handle module again.
The data processing method of said literal input frame, wherein, when realizing the data processing of input frame background pinup picture function, said step C also comprises:
C1, be that said literal input frame adds background card figure according to said drawing board information.
The data processing method of said literal input frame, wherein, said drawing board is the memory block that is used to draw editor's input frame, the data in the said memory block will be input in the video card, show then.
The data processing method of said literal input frame wherein, also comprises after said step C: show said literal input frame.
The invention provides a kind of literal input frame and data processing method thereof; The Function Decomposition of input frame control is become a plurality of independent functional modules; Comprise rotary module; Stretching module; Background pinup picture module; Translucent module and do not have the handle module; Realized the input frame of multiple function one integrated; The user is as long as the different equipment of simple configuration connects the combination that switch just can be realized function; Reduced dependence to system resource; Just can realize the input frame pinup picture through simple configuration pinup picture engine simultaneously; Do not control and do not need to write again code, simplified the complexity of user's input, reduced cost.
Description of drawings
Fig. 1 is the synoptic diagram of several frequently seen literal input frame in the prior art.
Fig. 2 is the structural framing figure of the literal input frame that provides of the embodiment of the invention.
Fig. 3 is the process flow diagram of a kind of embodiment of the literal input frame that provides of the embodiment of the invention.
Fig. 4 is the data processing method process flow diagram of the literal input frame that provides of the embodiment of the invention.
Fig. 5 is literal input frame that the embodiment of the invention the provides flow chart of data processing figure when background pinup picture module is set.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer, clear and definite; Develop simultaneously embodiment to further explain of the present invention below in conjunction with accompanying drawing; Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
The present invention provides a kind of literal input frame, comprises an input frame control 20, and as shown in Figure 2, said input frame control comprises a plurality of functional modules with independent dynamic base, and said a plurality of functional modules with independent dynamic base comprise with lower module:
The rotary module 21 that is used for the rotate type input frame;
The stretching module 23 of literal input frame is used to stretch;
Be used for literal input frame background is carried out the background pinup picture module 25 of pinup picture operation;
Be used for the literal input frame is provided with the translucent module 22 of translucent;
Be used for the literal input frame is not had the no handle module 24 of handleization.
These independent functional modules are essentially each independent dynamic base (file of suffix dll by name; Certainly be not limited to the .dll file; Can for the technical staff according to self needs or like self-defining dynamic base suffix name); Dynamic base can not be applied directly in the input frame; But need be these dynamic base defining interfaces; Defining interface is associated with the input frame control; Like this; Just can on the input frame control, load the dynamic base that designs arbitrarily according to demand; As long as the simple configuration different functional is connected with the input frame control, can realize the combination of difference in functionality.For example can in a literal input frame, use the two or more functional modules in above-mentioned each functional module simultaneously, to realize the combination of difference in functionality.
Fig. 3 is the connection process flow diagram of each functional module of one embodiment of the invention; At first receive the input data; The input data do not have the handle processing through no handle module earlier; Through background pinup picture module the background of input frame is carried out the pinup picture operation again; Import data afterwards and handle through translucent module, rotary module and stretching module successively, but realize no handleization background pinup picture, translucent, rotatable, stretchable multi-functional input frame.
In the described process flow diagram of Fig. 3, except no handle module, the order of other functional modules (being other dynamic base) can be exchanged arbitrarily, that is to say, the input data can be by the order that sets arbitrarily through each functional module; If, import the necessary first processing of data so, and then pass through the processing of other functional modules through no handle module such as the dynamic base that the technician has loaded no handle module.
Handle is meant the address of operating system for the memory source index of the other distribution of UI (abbreviation of User Interface user interface) demonstration.A handle is meant a unique round values of use; The numerical value that nybble is long; Different instance in the different objects that are used for the signage applications program and the homogeneous object, such as, a window; Button; Icon, scroll bar, output device; Control or file etc., application program can be visited the information of corresponding object through handle.But handle is not a pointer, and program can not utilize its handle to come the information in the direct reading file.If handle not be used in the I/O file, it is no-good.
And there is not handleization is the technology of a kind of multiplexing other window handle as the demonstration resource of oneself.For example: for display window A, system need be that A distributes and show resource, and if this time display window B again.Can adopt dual mode to realize in this case: first kind, the window handle of reallocating shows B; Second kind, we draw a B window on window A, and the logic of simulation B window.
Usually, no handle module is forced to be integrated into the editing machine the inside, promptly in advance no handle module loading has been advanced in the editing machine.
Based on above-mentioned literal input frame, the present invention also provides a kind of data processing method of literal input frame, and as shown in Figure 4, key step is following:
S11, reception input data;
S12, obtain the drawing board information that editor's input frame is drawn in corresponding being used to according to the input data;
S13, said input data had the functional module of independent dynamic base through each successively by the order that sets arbitrarily, on said literal input frame, to load arbitrarily said dynamic base according to demand;
S14, the said literal input frame of demonstration promptly show editing area.
When handling the input data; Loaded the dynamic base of no handle module in advance when said literal input frame control; Importing data so will handle through the one or more modules in rotary module, stretching module, background pinup picture module, the translucent module earlier through the processing of no handle module again.Be in the present embodiment, loaded certain dynamic base, then this literal input frame has possessed certain function, loads in advance, does not just load when being deal with data; The user is when using these functions, and data can be passed through this functional module.
Preferably, the present invention is provided with background pinup picture module, and through the setting of this module, the simple configuration pinup picture engine that the user can pass through is realized the input frame pinup picture, does not control and do not need to write again code, and as shown in Figure 5, concrete flow chart of data processing is following:
S21, reception input data;
S22, obtain the drawing board information that editor's input frame is drawn in corresponding being used to according to the input data;
Particularly, this drawing board is the memory block that is used to draw editor's input frame, and the data in this memory block will be input in the video card, show then;
S23, be that said literal input frame adds background card figure according to said drawing board information; Need to prove; If loaded other dynamic base, so with this drawing board information functional module successively, such as the dynamic base that has loaded rotary module through loading; So again the drawing board information of having added Background is added rotation parameter, said input frame is rotated or the like;
S24, the said literal input frame of demonstration promptly show editing area.
Certainly, the user can also define socket identification access standard simultaneously through on common input frame basis, increasing a function device expansion mouthful management equipment, and adaptive this insertion standard of external unit is to realize corresponding function device.At last, in the time of some specific function of needs, the literal input frame equipment of function is plugged the combination that just can realize difference in functionality.
In sum; A kind of literal input frame provided by the invention and data processing method thereof; Overcome the problem that there is function singleness in current input frame control; The Function Decomposition of input frame control is become a plurality of independent functional modules; Comprise rotary module; Stretching module; Background pinup picture module; Translucent module and do not have the handle module; Realized the input frame of multiple function one integrated; The user is as long as the different equipment of simple configuration connects the combination that switch just can be realized function; Reduced dependence to system resource; Just can realize the input frame pinup picture through simple configuration pinup picture engine simultaneously; Do not control and do not need to write again code, simplified the complexity of user's input, reduced cost.
The above; Only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and any technician who is familiar with the present technique field is in the technical scope that the present invention discloses; The variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of claims.

Claims (8)

1. a literal input frame comprises an input frame control, it is characterized in that, this input frame control comprises a plurality of functional modules with independent dynamic base; Each said dynamic base definition has interface, and said functional module with independent dynamic base is associated with said literal input frame control through said interface, on said literal input frame control, to load said dynamic base arbitrarily according to demand.
2. literal input frame according to claim 1 is characterized in that, said a plurality of functional modules with independent dynamic base comprise with two in the lower module at least:
The rotary module that is used for the rotate type input frame;
The stretching module of literal input frame is used to stretch;
Be used for literal input frame background is carried out the background pinup picture module of pinup picture operation;
Be used for the literal input frame is provided with the translucent module of translucent;
Be used for the literal input frame is not had the no handle module of handleization.
3. literal input frame according to claim 1 is characterized in that,
Said a plurality of functional module with independent dynamic base is the dynamic library file of suffix dll by name.
4. the data processing method like claim 1-3 literal input frame as described in each is characterized in that, comprises step:
A, reception input data;
B, obtain the drawing board information that editor's input frame is drawn in corresponding being used to according to the input data;
C, said input data had the functional module of independent dynamic base through each successively by the order that sets arbitrarily, to accomplish data processing.
5. according to the data processing method of the said literal input frame of claim 4, it is characterized in that said step C also comprises:
When handling the input data; Loaded the dynamic base of no handle module in advance when said literal input frame control; Importing data so will handle through the one or more modules in rotary module, stretching module, background pinup picture module, the translucent module earlier through the processing of no handle module again.
6. according to the data processing method of the said literal input frame of claim 4, it is characterized in that when realizing the data processing of input frame background pinup picture function, said step C also comprises:
C1, be that said literal input frame adds background card figure according to said drawing board information.
7. according to the data processing method of the said literal input frame of claim 6, it is characterized in that said drawing board is the memory block that is used to draw editor's input frame, the data in the said memory block will be input in the video card, show then.
8. according to the data processing method of the said literal input frame of claim 7, it is characterized in that, after said step C, also comprise: show said literal input frame.
CN201110292305.0A 2011-09-29 2011-09-29 Text input box and data processing method thereof Active CN102354275B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110292305.0A CN102354275B (en) 2011-09-29 2011-09-29 Text input box and data processing method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110292305.0A CN102354275B (en) 2011-09-29 2011-09-29 Text input box and data processing method thereof

Publications (2)

Publication Number Publication Date
CN102354275A true CN102354275A (en) 2012-02-15
CN102354275B CN102354275B (en) 2015-04-08

Family

ID=45577842

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110292305.0A Active CN102354275B (en) 2011-09-29 2011-09-29 Text input box and data processing method thereof

Country Status (1)

Country Link
CN (1) CN102354275B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104282043A (en) * 2013-07-08 2015-01-14 成都蓉奥科技有限公司 Three-dimensional A-display control
CN104750377A (en) * 2013-12-27 2015-07-01 联想(北京)有限公司 Information processing method and electronic equipment
CN105224197A (en) * 2015-09-09 2016-01-06 网易(杭州)网络有限公司 A kind of picture comment method and system
CN108845753A (en) * 2018-06-28 2018-11-20 维沃移动通信有限公司 A kind of image processing method and terminal
CN109656455A (en) * 2018-12-21 2019-04-19 歌尔科技有限公司 A kind of smartwatch and its input method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101499013A (en) * 2009-03-11 2009-08-05 浙江中控软件技术有限公司 Method and apparatus for calling dynamic library

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101499013A (en) * 2009-03-11 2009-08-05 浙江中控软件技术有限公司 Method and apparatus for calling dynamic library

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
神龙工作室: "《新编Word2003中文版入门与提高》", 31 March 2005, article "图文混编技巧" *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104282043A (en) * 2013-07-08 2015-01-14 成都蓉奥科技有限公司 Three-dimensional A-display control
CN104750377A (en) * 2013-12-27 2015-07-01 联想(北京)有限公司 Information processing method and electronic equipment
CN105224197A (en) * 2015-09-09 2016-01-06 网易(杭州)网络有限公司 A kind of picture comment method and system
CN108845753A (en) * 2018-06-28 2018-11-20 维沃移动通信有限公司 A kind of image processing method and terminal
CN108845753B (en) * 2018-06-28 2021-04-27 维沃移动通信有限公司 Picture processing method and terminal
CN109656455A (en) * 2018-12-21 2019-04-19 歌尔科技有限公司 A kind of smartwatch and its input method

Also Published As

Publication number Publication date
CN102354275B (en) 2015-04-08

Similar Documents

Publication Publication Date Title
CN102354275B (en) Text input box and data processing method thereof
CN108280119A (en) Page generation method, device and user terminal
CN108073688B (en) Data migration method and device
CN101661391A (en) Object serializing method, object deserializing method, device and system
CN110941614A (en) Form generation method and device, electronic equipment and computer readable storage medium
CN103809975A (en) Method for achieving intelligent cloud forms
CN110543306B (en) Interactive data visualization method, application system and storage medium
CN111736922B (en) Plug-in calling method and device, electronic equipment and storage medium
CN103034491A (en) Implementation system and method for power system interface integration
CN107133038A (en) A kind of application program changes the method and its device of skin
CN104331284A (en) Method and system for generating and displaying dynamic page
CN104636165A (en) Mobile device starting method and device
CN103746746A (en) Business system of network device
CN105389184A (en) Configuration method and apparatus for product interface information
CN107506483A (en) Page loading method, device, electronic equipment and storage medium
CN108334784A (en) A kind of vulnerability scanning method and apparatus
CN105607916A (en) Configuration-based mobile application rapid generation method
CN103123660A (en) Computer-aided design (CAD) graphical modeling method for software/hardware system
CN102314701A (en) Method and device for playing GIF (graphic interchange format) cartoons in ME (mobile equipment) in real time
CN110989891A (en) Component deployment method in chart editor, chart editor and related equipment
CN104063231A (en) Test resource rapid access method based on HIT-TENA
CN103500099A (en) Method for achieving quick software secondary development through expansion points and expansion
CN109408191A (en) Method for updating pages, device, equipment and storage medium
CN102708710B (en) E-book reader and working method thereof
CN104331275B (en) A kind of Java card and its method using patch installing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 518057 Guangdong city of Shenzhen province Nanshan District Gao Xin Road Building A block 8 Building TCL

Applicant after: Shenzhen Wondershare Information Technology Co., Ltd.

Address before: 518057 Guangdong city of Shenzhen province Nanshan District Gao Xin Road Building A block 8 Building TCL

Applicant before: Shenzhen Wondershare Software Co., Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: SHENZHEN WONDERSHARE SOFTWARE CO., LTD. TO: SHENZHEN WONDERSHARE INFORMATION TECHNOLOGY CO., LTD.

C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address

Address after: 850000 Tibet autonomous region, Lhasa City, New District, west of the East Ring Road, 1-4 road to the north, south of 1-3 Road, Liu Dong building, east of the 8 unit 6, floor 2, No.

Patentee after: Wanxing Polytron Technologies Inc

Address before: 518057 Guangdong city of Shenzhen province Nanshan District Gao Xin Road Building A block 8 Building TCL

Patentee before: Shenzhen Wondershare Information Technology Co., Ltd.

CP03 Change of name, title or address