CN106325841A - Control image display method and apparatus - Google Patents
Control image display method and apparatus Download PDFInfo
- Publication number
- CN106325841A CN106325841A CN201510372429.8A CN201510372429A CN106325841A CN 106325841 A CN106325841 A CN 106325841A CN 201510372429 A CN201510372429 A CN 201510372429A CN 106325841 A CN106325841 A CN 106325841A
- Authority
- CN
- China
- Prior art keywords
- image
- event
- cursor
- image display
- control
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 21
- 238000012856 packing Methods 0.000 claims description 12
- 238000001514 detection method Methods 0.000 claims description 2
- 238000010168 coupling process Methods 0.000 description 6
- 238000005859 coupling reaction Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 238000003860 storage Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 4
- 230000004069 differentiation Effects 0.000 description 4
- 238000009434 installation Methods 0.000 description 4
- 241000222065 Lycoperdon Species 0.000 description 3
- 241000768494 Polymorphum Species 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 239000003973 paint Substances 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000004040 coloring Methods 0.000 description 1
- 238000005520 cutting process Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 239000011800 void material Substances 0.000 description 1
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
Embodiments of the present invention disclose a control image display method and apparatus for efficiently storing and displaying an image of a control area. The method provided by the embodiment of the present invention comprises obtaining a first image, wherein the first image is a basic image for generating a second image; selecting a corresponding target algorithm according to an identified image display trigger event; generating the second image according to the target algorithm and the first image; displaying the second image in a target area, wherein the target area is a control area corresponding to the second image.
Description
Technical field
The present invention relates to internet, applications field, particularly relate to a kind of control image display packing and device.
Background technology
Operate in interface at daily application program or system, some video in window interface elements can be there are,
The no matter primary control of system, the most on a user interface Drawing Directly (DirectUI, Paint on User
Interface Directly, refers to draw a kind of method of all kinds of virtual control in a window handle) void
Intend control, such as image button;These controls can become corresponding according to light target different operating state
Control state, and distinguish display by different images.
As a example by button control, according to different cursor operations, button control typically has four kinds of states, says
Bright as follows:
Normal (normality): the original state of button, now cursor is not in button area.
State when Hover (hesitation state): light is marked in button area, but left mouse button is in upspringing
State.It is marked in button area to allow user substantially perceive light, it is generally required to Normal state has
Substantially distinguish.
Push (click state): light is marked in button area, and left mouse button is in down state.In order to allow
User substantially perceives light target and presses, and needs with Hover state has substantially differentiation.General color can compare
Hover state is deep.
Disable (invalid state): state when button is disabled.Typically can use light gray, user reminding
This button of user can not process cursor operations.
In the prior art, image button is usually and uses four different images to show different states,
As the data volume of four images is typically of size of.Four images can not only be used for four independent images to be carried out
Storage, reads the most respectively;Also four images can be merged into an image, after reading image, right
Image carries out cutting process.
In prior art solutions, four images are merged into an image, can to a certain degree subtract
The reading time of minidisk IO (In Out refers to the input-output equipment of disk), but single image file increases
Big, when application program arranges installation kit, the size of the view data stored almost does not becomes, and
When reading image, the time that single reads image is the shortest.
Summary of the invention
Embodiments provide a kind of control image display packing, be used for storing efficiently and showing control
The image in part region.
The control image display packing that the embodiment of the present invention provides, including:
Obtaining the first image, described first image is the base image generating the second image;
Image display trigger event according to recognizing selects corresponding target algorithm, and described image shows tactile
The event of sending out and described second image one_to_one corresponding;
Described second image is generated according to described target algorithm and described first image;
Showing described second image in target area, described target area is corresponding to described second image
Control regions.
The control image display device that the embodiment of the present invention provides, including:
Image acquisition unit, for obtaining the first image, described first image is the base generating the second image
Plinth image;
Algorithms selection unit, for selecting to generate corresponding mesh according to the image display trigger event recognized
Mark algorithm, described image display trigger event and described second image one_to_one corresponding;
Image generation unit, for generating described second according to described target algorithm and described first image
Image;
Image-display units, for showing described second image in target area, described target area is
Control regions corresponding to described second image.
As can be seen from the above technical solutions, the embodiment of the present invention has the advantage that
In embodiments of the present invention, when running into image display trigger event, control image display device obtains
First image, selects to generate the target algorithm of described second image, then root according to image display trigger event
Generate described second image according to described target algorithm and described first image, and show in target area
Described second image;During whole, the view data of control only needs to store a base image (i.e.
The first image in the embodiment of the present invention), then it is equipped with different target algorithm corresponding to control state,
The image completing different conditions shows, when can reduce disk I/O reading when software starts when image shows
Between, improve software toggle speed, and the installation kit size of application program can be reduced.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality
Execute the required accompanying drawing used in example to be briefly described, it should be apparent that, the accompanying drawing in describing below is only
It is only some embodiments of the present invention, for those of ordinary skill in the art, is not paying creativeness
On the premise of work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of a kind of control image display packing in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another kind of control image display packing in the embodiment of the present invention;
Fig. 3 is the schematic diagram of image state in the embodiment of the present invention;
Fig. 4 is the logical structure schematic diagram of control image display device in the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out
Clearly and completely describe, it is clear that described embodiment is only a part of embodiment of the present invention, and
It is not all, of embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art are not making
Go out the every other embodiment obtained under creative work premise, broadly fall into the scope of protection of the invention.
It is described in detail individually below.
Term " first " in description and claims of this specification and above-mentioned accompanying drawing, " second ", "
Three " (if present) such as " 4th " is for distinguishing similar object, the most suitable without being used for describing
Sequence or precedence.Should be appreciated that the data of so use can be exchanged in the appropriate case, in order to here
The embodiments of the invention that describe are if real with the order in addition to those here illustrating or describing
Execute.Additionally, term " includes " and " having " and their any deformation, it is intended that cover non-exclusive
Comprise, such as, contain series of steps or the process of unit, method, system, product or equipment not
Be necessarily limited to those steps or the unit clearly listed, but can include the most clearly listing or for
Other step that these processes, method, product or equipment are intrinsic or unit.
One embodiment of control image display packing of the present invention, the method may include that acquisition the first figure
Picture, described first image is the base image generating the second image;Image display according to recognizing triggers
EventSelect generates corresponding target algorithm, and described image display trigger event is with described second image one by one
Corresponding;Described second image is generated according to described target algorithm and described first image;In target area
Described second image of interior display, described target area is the control regions corresponding to described second image.
Referring to Fig. 1, in the embodiment of the present invention, another embodiment of control image display packing includes:
101, the first image is obtained;
Control image display device obtains the first image, and described first image is the basis generating the second image
Image.Described second image is control regions control image under corresponding image display trigger event.
In embodiments of the present invention, described first image and described second image are only used for distinguishing, at control
Image shown before area change and image shown after changing, and refer not to any one and specifically scheme
Picture.
Exemplary, in actual applications, described first image can be the former of a Lycoperdon polymorphum Vitt local transparent
Beginning image, it is also possible to for arbitrary second image of previous generation, it is also possible to for the normality in control regions
Image (does not i.e. send the image as shown in event), specifically can according to the actual requirements depending on, herein
It is not construed as limiting.
In embodiments of the present invention, control image display device can be single-alone physical equipment, including many
Individual physical module;Can also be to load software program on computers, or the function mould in a software
Block, or individually software form or presented in plug-in unit.The description of control image display device is only
It is schematic, the wherein division of unit, it is only a kind of logic function and divides, actual permissible when realizing
Have other dividing mode, the most multiple unit or assembly can in conjunction with or be desirably integrated into another and be
Unite, or some features can be ignored, or do not perform.Another point, shown or discussed each other
Coupling or direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit or
Communication connection, can be electrical, machinery or other form.If described integrated unit is with software merit
Can unit form realize and as independent production marketing or use time, a computer can be stored in
In read/write memory medium.
102, corresponding target algorithm is selected according to the image display trigger event recognized;
Control image display device selects corresponding target to calculate according to the image display trigger event recognized
Method, described image display trigger event and described second image one_to_one corresponding.In control image display device
In, prestore one or more target algorithm, corresponding with described second image.
Exemplary, in actual applications, image display trigger event can have multiple, such as: cursor stops
Stay event;Or, cursor clicks on event;Or, button inactive event.Or, touch event, or, hovering
Event.
Concrete, it is mobile to described that cursor dwell event refers to operate cursor (e.g., the cursor of mouse)
Control regions and stop the event of (residence time can be extreme, e.g., 0.01 second).
Concrete, cursor click event refers to operate light and is marked in control regions execution clicking operation.
Concrete, it is mobile to described that button inactive event refers to operate cursor (e.g., the cursor of mouse)
Control regions and stopping, but cannot trigger corresponding link or operational order in this control regions.
Concrete, described touch event refers to occur clicking operation in the control regions of Touch Screen
Event;
Concrete, described hovering event refers to operate cursor and moves to the control regions of Touch Screen,
And there is the event stopped.
Accordingly, as a example by button control, according to different cursor operations, button control typically has four kinds
State, is described as follows:
Normal (normality): the original state of button, now cursor is not in button area.Exemplary,
The button control of normality can be with correspondence image display trigger event for the initialized control image of normality.
State when Hover (hesitation state): light is marked in button area, but left mouse button is in upspringing
State.It is marked in button area to allow user substantially perceive light, it is generally required to Normal state has
Substantially distinguish.
Push (click state): light is marked in button area, and left mouse button is in down state.In order to allow
User substantially perceives light target and presses, and needs with Hover state has substantially differentiation.General color can compare
Hover state is deep.
Disable (invalid state): state when button is disabled.Typically can use light gray, user reminding
This button of user can not process cursor operations.
In actual applications, image display trigger event can also have multiple, accordingly, and control regions
Image state can also have multiple, is the most specifically not construed as limiting.
103, described second image is generated according to described target algorithm and described first image;
Control image display device generates described second figure according to described target algorithm and described first image
Picture.In actual applications, the generation method of the second image can have multiple, is the most specifically not construed as limiting.
Concrete, in actual applications, when carrying out the installation of packet of application program, can obtain
Take the first image, and the most drawn according to preset target algorithm according to different image display trigger events
The image of corresponding state, then directly uses when detecting described image display trigger event;Can also be
After detecting described image display trigger event, paint according to corresponding image display trigger event in real time
System;Which kind of mode specifically used, can according to the actual requirements depending on, be the most specifically not construed as limiting.
104, in target area, described second image is shown.
Control image display device shows described second image in target area, and described target area is institute
State the control regions corresponding to the second image.
Concrete, described control regions refers to trigger the image of respective links or operating function and shows
Region, described control can be the primary control of system, it is also possible to the third party for installing in systems should
With corresponding control, e.g., the close key of browser.
In embodiments of the present invention, when running into image display trigger event, control image display device obtains
First image, selects to generate the target algorithm of described second image, then root according to image display trigger event
Generate described second image according to described target algorithm and described first image, and show in target area
Described second image;During whole, the view data of control only needs to store a base image (i.e.
The first image in the embodiment of the present invention), then it is equipped with different target algorithm corresponding to control state,
The image completing different conditions shows, when can reduce disk I/O reading when software starts when image shows
Between, improve software toggle speed, and the installation kit size of application program can be reduced.
Below as a example by button control, the embodiment of the present invention is described in detail, refers to Fig. 2, this
In bright embodiment, another embodiment of control image display packing includes:
201, described image display trigger event is detected;
Detect described image display trigger event, if successfully be detected described image display trigger event, then
Perform step 202.
In embodiments of the present invention, image display trigger event includes cursor dwell event, and cursor clicks on thing
Part and button inactive event three kinds.Image state corresponding in control regions has Normal, Hover respectively,
Push and Disable;Wherein, when not there is image display trigger event, that corresponding is Normal,
Corresponding image is the first image, and described first image is the original image of a Lycoperdon polymorphum Vitt local transparent, as
In Fig. 3 shown in 31.Further, cursor dwell event, cursor clicks on event and button inactive event
The second corresponding respectively image is followed successively by Fig. 3 32,33 and 34;The embodiment of the present invention is by image state
For the image of Normal as raw image storage, and being provided with cursor dwell event, cursor clicks on event
And three kinds of target algorithm that button inactive event is the most corresponding.
Optionally, in the embodiment of other scheme of the present invention, the image state being in Normal can also
Being defined as a kind of image display trigger event, i.e. Normal, Hover, Push and Disable are respectively
Corresponding a kind of image display trigger event.
Optionally, in the embodiment of other scheme of the present invention, one and Normal, Hover can be stored,
The original image that in Push and Disable, any one state is the most corresponding, and arrange four kinds respectively with
The target algorithm that Normal, Hover, Push and Disable are corresponding.
202, the first image is obtained;
Control image display device obtains the first image, and described first image is the basis generating the second image
Image.
203, select to generate the target algorithm of described second image according to image display trigger event;
Control image display device selects to generate the target of described second image according to image display trigger event
Algorithm, described image display trigger event and described second image one_to_one corresponding.At control image display dress
In putting, having prestored three target algorithm, respectively with described cursor dwell event, cursor clicks on event
And button inactive event is corresponding.
204, described second image is generated according to described target algorithm and described first image;
Control image display device generates described second figure according to described target algorithm and described first image
Picture.
In actual applications, the first image can be carried out drafting pixel-by-pixel, concrete:
Control image display device can determine the picture shape of described second image according to described target algorithm
And the color characteristic that described picture shape is corresponding;Further according to described picture shape and described picture shape
Corresponding color characteristic carries out drafting pixel-by-pixel to described first image, obtains described second image.Can
Choosing, the picture shape of the second image can as the picture shape of the first image or different, second
The picture shape of image can also be that newly-increased picture shape is special on the basis of the picture shape of the first image
Levy, be the most specifically not construed as limiting.
Optionally, it is also possible to by the way of map overlay, generate the second image, concrete:
Control image display device can generate the first superposition of described second image according to described target algorithm
Figure layer, then using described first image as second stacking chart's layer of described second image, fold described first
Add figure layer to merge with described second stacking chart's layer, obtain described second image.Optionally, first fold
Add figure layer and can have one or more, as color diagram layer (is applied at the first image and the second image
Have the scene of colouring discrimination) and deformation pattern layer (be applied on the basis of the picture shape of the first image new
Increase the scene of picture shape feature).
205, in target area, described second image is shown.
Control image display device shows described second image in target area, and described target area is institute
State the control regions corresponding to the second image.
The embodiment of the present invention uses the mode of real-time rendering to generate the second image of display in target area,
While accelerating the disk I/O reading time, also reduce the hard-disc storage space shared by application program.
In order to make it easy to understand, below with some detailed description of the invention to the control image in the embodiment of the present invention
Display packing is described, particularly as follows:
One, the operation of computer interface;
Assuming that the control in the embodiment of the present invention is the X button in browser, the first image is an ash
The original image of color local transparent.
When user opens browser, control image display device obtains the first image, and recognizes current
Image display trigger event be: normality initialize;Then control image display device selects the control of normality
The target algorithm that image is corresponding, and generate the second image according to described target algorithm and described first image.
Now, the second image is that (that is, the original state of button, now cursor is or not the image under Normal state
In button area).
When cursor is moved the X button to browser by user, control image display device recognizes
Current image display trigger event is: cursor dwell event;Control image display device selects Hover
Target algorithm corresponding to control image, and generate the according to described target algorithm and described first image
Two images.Now, the image under the second image is Hover state is (that is, time in light is marked on button area
State, but left mouse button is in the state of upspringing.It is marked on button area to allow user substantially perceive light
In territory, it is generally required to Normal state has substantially differentiation).
When the X button that user clicks on, control image display device recognizes current image and shows tactile
The event of sending out is: cursor clicks on event;Control image display device selects the mesh corresponding to control image of Push
Mark algorithm, and generate the second image according to described target algorithm and described first image.Now, second
Image is that (that is, in light is marked on button area, and left mouse button is in and presses shape the image under Push state
State.Press to allow user substantially perceive light target, need with Hover state has substantially differentiation.One
As color can be deeper than Hover state).
It is in busy state at computer, when causing the control in browser to be operated, control image
Display device recognizes current image display trigger event: button inactive event;Control image shows
Device selects the target algorithm corresponding to control image of Disable, and according to described target algorithm and described
First image generates the second image.Now, image (that is, the button under the second image is Disable state
State time disabled.Light gray, this button of user reminding user typically can be used can not to process cursor behaviour
Make).
Two, the operation at Touch Screen interface;Assume that the control in the embodiment of the present invention is the pass in browser
Closing button, the first image is the original image of a Lycoperdon polymorphum Vitt local transparent.
When user opens browser, control image display device obtains the first image, and recognizes current
Image display trigger event be: normality initialize;Then control image display device selects the control of normality
The target algorithm that image is corresponding, and generate the second image according to described target algorithm and described first image.
Now, the second image is that (that is, the original state of button, now cursor is or not the image under Normal state
In button area).
When the X button clicked in Touch Screen, control image display device recognizes current image
Display trigger event is: touch event;Control figure under then control image display device selects touch-control state
As corresponding target algorithm, and generate the second image according to described target algorithm and described first image.
Now, the image under the second image is touch-control state.
Control show whole during, the view data of control only needs to store a base image (i.e.
The first image in the embodiment of the present invention), then it is equipped with different target algorithm corresponding to control state,
The image completing different conditions shows, when can reduce disk I/O reading when software starts when image shows
Between, improve software and start and the speed of service.
In the embodiment of the present invention performed below, the control image display device of control image display packing is retouched
Stating, refer to Fig. 4, in the embodiment of the present invention, an embodiment of control image display device includes:
Image acquisition unit 401, for obtaining the first image, described first image is to generate the second image
Base image;
Algorithms selection unit 402, for selecting corresponding target according to the image display trigger event recognized
Algorithm, described image display trigger event and described second image one_to_one corresponding;
Image generation unit 403, for generating described the according to described target algorithm and described first image
Two images;
Image-display units 404, for showing described second image, described target area in target area
For the control regions corresponding to described second image.
Concrete, described image display trigger event, including:
Cursor dwell event, described cursor dwell event refers to operate cursor and moves to described control regions
And there is the event stopped;
Or, cursor clicks on event, and described cursor is clicked on event and referred to operate light and be marked in control regions and hold
The event of row clicking operation;
Or, button inactive event, described button inactive event refers to operate cursor and moves to described control
Region and stopping, but cannot trigger corresponding link or operational order in described control regions;
Or, touch event, described touch event refers to click in the control regions of Touch Screen
The event of operation;
Or, event of hovering, described hovering event refers to operate cursor and moves the controls region to Touch Screen
On territory, and there is the event stopped.
Further, described device also includes:
Event detection unit 405, is used for detecting described image display trigger event, if successfully be detected described
Image display trigger event, then trigger the step of described acquisition the first image.
Further, described image generation unit 403 is additionally operable to:
Determine that the picture shape of described second image and described picture shape are corresponding according to described target algorithm
Color characteristic;
According to the color characteristic that described picture shape and described picture shape are corresponding, described first image is entered
Row drafting pixel-by-pixel, obtains described second image.
Optionally, described image generation unit 403 is additionally operable to:
First stacking chart's layer of described second image is generated according to described target algorithm;
Using described first image as second stacking chart's layer of described second image, by described first stacking chart
Layer merges with described second stacking chart's layer, obtains described second image.
The concrete operational approach of above-mentioned unit has had in above-mentioned Fig. 1 and Fig. 2 embodiment accordingly
Describing, here is omitted.
In several embodiments provided herein, it should be understood that disclosed apparatus and method can
To realize by another way.Such as, device embodiment described above is only schematically,
Such as, the division of described unit, it is only a kind of logic function and divides, actual can have additionally when realizing
Dividing mode, the most multiple unit or assembly can in conjunction with or be desirably integrated into another system, or
Some features can be ignored, or does not performs.Another point, shown or discussed coupling each other or
Direct-coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit or communication link
Connect, can be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, makees
The parts shown for unit can be or may not be physical location, i.e. may be located at a place,
Or can also be distributed on multiple NE.Can select according to the actual needs part therein or
The whole unit of person realizes the purpose of the present embodiment scheme.
It addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit,
Can also be that unit is individually physically present, it is also possible to two or more unit are integrated in a list
In unit.Above-mentioned integrated unit both can realize to use the form of hardware, it would however also be possible to employ software function list
The form of unit realizes.
If described integrated unit realizes and as independent production marketing using the form of SFU software functional unit
Or when using, can be stored in a computer read/write memory medium.Based on such understanding, this
The part that the most in other words prior art contributed of technical scheme of invention or this technical scheme
Completely or partially can embody with the form of software product, this computer software product is stored in one
In storage medium, including some instructions with so that computer equipment (can be personal computer,
Server, or the network equipment etc.) perform completely or partially walking of method described in each embodiment of the present invention
Suddenly.And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD
Etc. the various media that can store program code.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited to
In this, any those familiar with the art, can be easily in the technical scope that the invention discloses
Expect change or replace, all should contain within protection scope of the present invention.Therefore, the protection of the present invention
Scope should described be as the criterion with scope of the claims.
Claims (10)
1. a control image display packing, it is characterised in that including:
Obtaining the first image, described first image is the base image generating the second image;
Image display trigger event according to recognizing selects corresponding target algorithm;
Described second image is generated according to described target algorithm and described first image;
Showing described second image in target area, described target area is corresponding to described second image
Control regions.
Method the most according to claim 1, it is characterised in that described image display trigger event,
Including:
Cursor dwell event, described cursor dwell event refers to operate cursor and moves to described control regions
And there is the event stopped;
Or, cursor clicks on event, and described cursor is clicked on event and referred to operate light and be marked in control regions and hold
The event of row clicking operation;
Or, button inactive event, described button inactive event refers to operate cursor and moves to described control
Region and stopping, but cannot trigger corresponding link or operational order in described control regions;
Or, touch event, described touch event refers to click in the control regions of Touch Screen
The event of operation;
Or, event of hovering, described hovering event refers to operate cursor and moves the controls region to Touch Screen
On territory, and there is the event stopped.
Method the most according to claim 1, it is characterised in that before described acquisition the first image,
Including:
Detect described image display trigger event, if successfully be detected described image display trigger event, then
Trigger the step of described acquisition the first image.
4. according to the method described in claims 1 to 3 any one, it is characterised in that described according to institute
State target algorithm and described first image generates described second image, including:
Determine that the picture shape of described second image and described picture shape are corresponding according to described target algorithm
Color characteristic;
According to the color characteristic that described picture shape and described picture shape are corresponding, described first image is entered
Row drafting pixel-by-pixel, obtains described second image.
5. according to the method described in claims 1 to 3 any one, it is characterised in that described according to institute
State target algorithm and described first image generates described second image, including:
First stacking chart's layer of described second image is generated according to described target algorithm;
Using described first image as second stacking chart's layer of described second image, by described first stacking chart
Layer merges with described second stacking chart's layer, obtains described second image.
6. a control image display device, it is characterised in that including:
Image acquisition unit, for obtaining the first image, described first image is the base generating the second image
Plinth image;
Algorithms selection unit, for selecting corresponding target to calculate according to the image display trigger event recognized
Method;
Image generation unit, for generating described second according to described target algorithm and described first image
Image;
Image-display units, for showing described second image in target area, described target area is
Control regions corresponding to described second image.
Device the most according to claim 6, it is characterised in that described image display trigger event,
Including:
Cursor dwell event, described cursor dwell event refers to operate cursor and moves to described control regions
And there is the event stopped;
Or, cursor clicks on event, and described cursor is clicked on event and referred to operate light and be marked in control regions and hold
The event of row clicking operation;
Or, button inactive event, described button inactive event refers to operate cursor and moves to described control
Region and stopping, but cannot trigger corresponding link or operational order in described control regions;
Or, touch event, described touch event refers to click in the control regions of Touch Screen
The event of operation;
Or, event of hovering, described hovering event refers to operate cursor and moves the controls region to Touch Screen
On territory, and there is the event stopped.
Device the most according to claim 6, it is characterised in that described device also includes:
Event detection unit, is used for detecting described image display trigger event, if successfully be detected described figure
As display trigger event, then trigger the step of described acquisition the first image.
9. according to the device described in claim 6 to 8 any one, it is characterised in that described image is raw
Unit is become to be additionally operable to:
Determine that the picture shape of described second image and described picture shape are corresponding according to described target algorithm
Color characteristic;
According to the color characteristic that described picture shape and described picture shape are corresponding, described first image is entered
Row drafting pixel-by-pixel, obtains described second image.
10. according to the device described in claim 6 to 8 any one, it is characterised in that described image
Signal generating unit is additionally operable to:
First stacking chart's layer of described second image is generated according to described target algorithm;
Using described first image as second stacking chart's layer of described second image, by described first stacking chart
Layer merges with described second stacking chart's layer, obtains described second image.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510372429.8A CN106325841A (en) | 2015-06-30 | 2015-06-30 | Control image display method and apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510372429.8A CN106325841A (en) | 2015-06-30 | 2015-06-30 | Control image display method and apparatus |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN106325841A true CN106325841A (en) | 2017-01-11 |
Family
ID=57723314
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510372429.8A Pending CN106325841A (en) | 2015-06-30 | 2015-06-30 | Control image display method and apparatus |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106325841A (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109240687A (en) * | 2018-08-01 | 2019-01-18 | 浙江口碑网络技术有限公司 | Graphical interfaces describes the generation method and device of file |
| CN110633121A (en) * | 2019-09-05 | 2019-12-31 | 北京无限光场科技有限公司 | Interface rendering method and device, terminal equipment and medium |
| CN112650493A (en) * | 2020-12-25 | 2021-04-13 | 安徽鸿程光电有限公司 | Method for generating control state image, using method, device and electronic equipment |
| CN113946335A (en) * | 2021-12-06 | 2022-01-18 | 广州博冠信息科技有限公司 | Method, device, electronic device and medium for generating view control |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20100011323A1 (en) * | 2008-07-09 | 2010-01-14 | Harold Lee Peterson | System, Method and computer-readable medium for directing a computational system to defragment and maintain a disc memory |
| CN102722357A (en) * | 2011-03-29 | 2012-10-10 | 北京新媒传信科技有限公司 | A method and a device for icon display |
| CN102955688A (en) * | 2011-08-23 | 2013-03-06 | 上海无戒空间信息技术有限公司 | Processing method for user image controls |
| CN104123633A (en) * | 2014-07-24 | 2014-10-29 | 北京嘉和美康信息技术有限公司 | Calendar control |
| CN104246696A (en) * | 2012-01-26 | 2014-12-24 | 惠普发展公司,有限责任合伙企业 | Image-based application automation |
-
2015
- 2015-06-30 CN CN201510372429.8A patent/CN106325841A/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20100011323A1 (en) * | 2008-07-09 | 2010-01-14 | Harold Lee Peterson | System, Method and computer-readable medium for directing a computational system to defragment and maintain a disc memory |
| CN102722357A (en) * | 2011-03-29 | 2012-10-10 | 北京新媒传信科技有限公司 | A method and a device for icon display |
| CN102955688A (en) * | 2011-08-23 | 2013-03-06 | 上海无戒空间信息技术有限公司 | Processing method for user image controls |
| CN104246696A (en) * | 2012-01-26 | 2014-12-24 | 惠普发展公司,有限责任合伙企业 | Image-based application automation |
| CN104123633A (en) * | 2014-07-24 | 2014-10-29 | 北京嘉和美康信息技术有限公司 | Calendar control |
Non-Patent Citations (2)
| Title |
|---|
| 袁辉编著: "《C++Builder程序员编程手记》", 29 February 2020, 浦东电子出版社 * |
| 龚向阳,肖丁编著: "《Windows 2000高级应用及技术参考》", 29 February 2000, 人民邮电出版社 * |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109240687A (en) * | 2018-08-01 | 2019-01-18 | 浙江口碑网络技术有限公司 | Graphical interfaces describes the generation method and device of file |
| CN110633121A (en) * | 2019-09-05 | 2019-12-31 | 北京无限光场科技有限公司 | Interface rendering method and device, terminal equipment and medium |
| CN112650493A (en) * | 2020-12-25 | 2021-04-13 | 安徽鸿程光电有限公司 | Method for generating control state image, using method, device and electronic equipment |
| CN112650493B (en) * | 2020-12-25 | 2024-12-03 | 安徽鸿程光电有限公司 | Method for generating control state image, method of using, device and electronic device |
| CN113946335A (en) * | 2021-12-06 | 2022-01-18 | 广州博冠信息科技有限公司 | Method, device, electronic device and medium for generating view control |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP2775664B1 (en) | Resource information display method and apparatus | |
| US10810698B2 (en) | Information processing method and client | |
| CN106325841A (en) | Control image display method and apparatus | |
| CN107908381A (en) | A kind of double screen image processing method, mobile terminal and storage medium | |
| CN112306439B (en) | One-machine multi-screen interaction system and management method thereof, electronic equipment and storage medium | |
| CN107797750A (en) | A kind of screen content identifying processing method, apparatus, terminal and medium | |
| US11237699B2 (en) | Proximal menu generation | |
| US11301124B2 (en) | User interface modification using preview panel | |
| CN105426076B (en) | Information processing method and electronic equipment | |
| US11989571B2 (en) | Generating user interface containers | |
| CN111880426B (en) | Method, system, device and equipment for finding scene execution conflict | |
| CN109918186A (en) | Application program switching method and device and intelligent terminal | |
| CN107770253A (en) | Long-range control method and system | |
| WO2019036104A1 (en) | Resizing an active region of a user interface | |
| KR20240012520A (en) | Image classification device and method | |
| EP3612929A1 (en) | Rules based user interface generation | |
| CN112130712B (en) | Cube interaction method and system, readable storage medium and vehicle machine | |
| CN106406666A (en) | A processing method and device for application program icons | |
| CN102945123B (en) | A kind of system resource condition presentation device and system resource condition methods of exhibiting | |
| CN104714739A (en) | Information processing method and electronic equipment | |
| CN114780504A (en) | Web end interaction management method and device, storage medium and electronic equipment | |
| CN104081333A (en) | Remote display area including input lenses each depicting a region of a graphical user interface | |
| CN110059215B (en) | Arrangement system suitable for rapid naming and filing of defect photos of power transmission line | |
| US20180348946A1 (en) | Information Input Method and Apparatus for Touch Screen | |
| EP3635527B1 (en) | Magnified input panels |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | 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: 20170111 |