CN103455331A - Icon display method and device - Google Patents
Icon display method and device Download PDFInfo
- Publication number
- CN103455331A CN103455331A CN2013103794624A CN201310379462A CN103455331A CN 103455331 A CN103455331 A CN 103455331A CN 2013103794624 A CN2013103794624 A CN 2013103794624A CN 201310379462 A CN201310379462 A CN 201310379462A CN 103455331 A CN103455331 A CN 103455331A
- Authority
- CN
- China
- Prior art keywords
- viewing area
- parameter
- parameter region
- show layers
- icon
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 95
- 230000000694 effects Effects 0.000 claims abstract description 68
- 238000012545 processing Methods 0.000 claims description 156
- 230000009467 reduction Effects 0.000 claims description 38
- 238000006073 displacement reaction Methods 0.000 claims description 20
- 230000003321 amplification Effects 0.000 claims description 16
- 238000003199 nucleic acid amplification method Methods 0.000 claims description 16
- 239000003086 colorant Substances 0.000 claims description 10
- 230000004048 modification Effects 0.000 abstract description 5
- 238000012986 modification Methods 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 18
- 230000006870 function Effects 0.000 description 17
- 238000013461 design Methods 0.000 description 13
- 230000008569 process Effects 0.000 description 12
- 230000006854 communication Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 238000011112 process operation Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000002123 temporal effect Effects 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000001276 controlling effect Effects 0.000 description 1
- 238000005314 correlation function Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 239000012467 final product Substances 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000006698 induction Effects 0.000 description 1
- 239000004615 ingredient Substances 0.000 description 1
- 238000012905 input function Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 238000012856 packing Methods 0.000 description 1
- 230000001105 regulatory effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 238000004804 winding Methods 0.000 description 1
Images
Landscapes
- User Interface Of Digital Computer (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The invention discloses an icon display method and an icon display device, which belong to the technical field of network. The method comprises the following steps: acquiring a display layer of an icon, wherein the display layer comprises a display region and at least one parameter region, and the parameter region is used for expressing the display effect of the display layer; determining a display rule of the display layer according to the parameter region; displaying the display layer according to the display rule. By acquiring the display layer of the icon and determining the display rule of the display layer according to the parameter region in the display layer, the display layer is displayed according to the display rule to realize display of the icon; the display effect of the display layer is expressed in the display layer of the icon by using the parameter region, so that whether an expected display effect of the icon is achieved or not can be directly judged according to the parameter region in the layer to further perform real-time modification; the effect that the modification can be flexibly performed in real time according to the expected display effect of the icon is achieved; meanwhile, the modification time is saved to a certain extent.
Description
Technical field
The present invention relates to networking technology area, particularly a kind of icon display method and device.
Background technology
Animation icon is a kind of icon shown with the animation form, usually a plurality of show layers, consists of, and comprises Background From Layer and a plurality of animation figure layer.The icon loading procedure loads each show layers according to loading sequence, finally presents the animation effect of animation icon.
In realizing the process that animation icon shows, need in the icon loading procedure, to each show layers, be defined, comprise size and the pattern of the design sketch that each show layers will present.The icon loading procedure, when loading corresponding show layers, loads this show layers according to size and the pattern of the design sketch defined in the icon loading procedure, presents corresponding animation effect and shows this animation icon.
In realizing process of the present invention, the inventor finds that at least there is following shortcoming in above-mentioned technology: in the icon loading procedure, each show layers is defined and need to be familiar with very much program language, and in the process defined, the definition personnel can't imagine actual size and the pattern that design sketch according to the literal definition information in the icon loading procedure, be merely able to after definition completes, load this animation icon according to the icon loading procedure and demonstrate animation effect and judge whether above-mentioned definition accomplishes the end in view.Such as, in the icon loading procedure, definition is shown the design sketch of icon amplification 10%, the technician can't directly imagine according to " 10% " whether design sketch amplification 10% can accomplish the end in view, must after completing, definition can judge whether to accomplish the end in view according to the effect after this this amplification 10% of icon loading procedure loaded and displayed, if do not accomplish the end in view, also need in the return icon loading procedure to make further modification; This just brings temporal waste, can't also modify flexibly in real time according to the expection purpose that will reach.
Summary of the invention
Can't be according to the expection purpose that will reach in real time and modify flexibly and the problem of temporal waste in order to have solved owing in the icon loading procedure, the size of the design sketch of each show layers and pattern being defined, the embodiment of the present invention provides a kind of icon display method and device.Described technical scheme is as follows:
First aspect, provide a kind of icon display method, and described method comprises:
Obtain the show layers of icon, described show layers comprises viewing area and at least one parameter region, and described parameter region is for meaning the display effect of described show layers;
Determine the demonstration rule of described show layers according to described parameter region;
Show described show layers according to described demonstration rule.
Further, include the first graphic parameter and second graph parameter in described parameter region, the described demonstration rule of determining described show layers according to described parameter region comprises:
Determine the required processing operation of carrying out in viewing area in described show layers according to described the first graphic parameter;
Determine the processing sequence of described processing operation according to described second graph parameter.
Further, Fill Color and/or filling pattern that described the first graphic parameter is described parameter region, describedly determine the required processing operation of carrying out in viewing area in described show layers according to described the first graphic parameter, comprising:
Fill Color and/or filling pattern inquiry corresponding relation according to described parameter region, described corresponding relation is the corresponding relation between various Fill Colors and/or filling pattern and various processing operation, and described various processing operations comprise at least one in move operation, reduction operation and amplifieroperation;
Determine the required processing operation of carrying out in described viewing area according to the described corresponding relation inquired.
Further, the described corresponding relation that described basis inquires is determined the required processing operation of carrying out in described viewing area, comprising:
If the required processing operation of carrying out in described viewing area comprises move operation, according to the position relationship between the described parameter region corresponding to move operation and described viewing area, determine moving direction; Relative distance between the corresponding border do not overlapped with described viewing area according to the border of the parameter region corresponding to described move operation on described moving direction is determined displacement;
If the required processing operation of carrying out in described viewing area comprises reduction operation, according to corresponding to the parameter region of described reduction operation and the size proportionate relationship between described viewing area, determining scale down; Relative position determination between the corresponding vertex do not overlapped with described viewing area according to the summit of the parameter region corresponding to described reduction operation dwindles direction;
If the required processing operation of carrying out in described viewing area comprises amplifieroperation, according to corresponding to the parameter region of described amplifieroperation and the size proportionate relationship between described viewing area, determining magnification ratio; Relative position determination between the corresponding vertex do not overlapped with described viewing area according to the summit of the parameter region corresponding to described amplifieroperation amplifies direction.
Further, the transparence value that described second graph parameter is described parameter region, the described processing sequence of determining described processing operation according to described second graph parameter comprises:
According to the transparence value search order relation of described parameter region, described ordinal relation is the corresponding processing sequences of different transparence values;
Determine the processing sequence of described processing operation according to the described processing sequence inquired.
Further, described according to the described show layers of described demonstration rule demonstration, comprising:
Show the viewing area in described show layers;
According to described processing sequence, the corresponding rear demonstration of operation of processing is carried out in described viewing area;
If comprising, described processing operation according to described displacement and described moving direction, rear demonstration is moved in described viewing area by move operation;
If described processing operation comprises reduction operation, according to described scale down and the described direction of dwindling, described viewing area is dwindled to rear demonstration;
If described processing operation comprises amplifieroperation, according to described magnification ratio and described amplification direction, rear the demonstration amplified in described viewing area.
Second aspect, provide a kind of icon display device, and described device comprises:
Acquisition module, for obtaining the show layers of icon, described show layers comprises viewing area and at least one parameter region, described parameter region is for meaning the display effect of described show layers;
Determination module, determine the demonstration rule of described show layers for the parameter region of the show layers that gets according to described acquisition module;
Display module, show described show layers for the demonstration rule definite according to described determination module.
Further, include the first graphic parameter and second graph parameter in described parameter region, described determination module comprises:
The operation submodule, for the required processing operation of carrying out in the viewing area of determining described show layers according to described the first graphic parameter;
The order submodule, for determining the processing sequence of described processing operation according to described second graph parameter.
Further, Fill Color and/or filling pattern that described the first graphic parameter is described parameter region, described operation submodule comprises:
Corresponding query unit, for the Fill Color according to described parameter region and/or filling pattern inquiry corresponding relation, described corresponding relation is the corresponding relation between various Fill Colors and/or filling pattern and various processing operation, and described various processing operations comprise at least one in move operation, reduction operation and amplifieroperation;
Operation determination unit, determine the required processing operation of carrying out in described viewing area for the corresponding relation inquired according to described corresponding query unit.
Further, when the processing operation of carrying out when described viewing area is required comprises move operation, described operation determination unit comprises:
The moving direction subelement, determine moving direction for the position relationship according between the described parameter region corresponding to move operation and described viewing area;
The displacement subelement, between the corresponding border do not overlapped with described viewing area for the border according to corresponding to the parameter region of described move operation at described moving direction subelement the relative distance on definite moving direction determine displacement;
When the processing operation of carrying out when described viewing area is required comprises reduction operation, described operation determination unit comprises:
The scale down subelement, determine scale down for basis corresponding to the parameter region of described reduction operation and the size proportionate relationship between described viewing area;
Dwindle the director unit, the Relative position determination between the corresponding vertex do not overlapped with described viewing area for the summit according to corresponding to the parameter region of described reduction operation dwindles direction;
When the processing operation of carrying out when described viewing area is required comprises amplifieroperation, described operation determination unit comprises:
The magnification ratio subelement, determine magnification ratio for basis corresponding to the parameter region of described amplifieroperation and the size proportionate relationship between described viewing area;
Amplify the director unit, the Relative position determination amplification direction between the corresponding vertex do not overlapped with described viewing area for the summit of the parameter region according to corresponding to described amplifieroperation.
Further, the transparence value that described second graph parameter is described parameter region, described order submodule comprises:
The sequential query unit, for the transparence value search order relation according to described parameter region, described ordinal relation is the corresponding processing sequences of different transparence values;
The order determining unit, determine for the described processing sequence inquired according to described sequential query unit the processing sequence that described processing operates.
Further, described display module comprises:
Direct display unit, for showing the viewing area of described show layers;
Operation display unit, for carrying out the corresponding rear demonstration of operation of processing according to described processing sequence to described viewing area;
When described processing operation comprises move operation, described operation display unit, for moving rear demonstration according to described displacement and described moving direction by described viewing area;
When described processing operation comprises reduction operation, described operation display unit, for dwindling rear demonstration according to described scale down and the described direction of dwindling by described viewing area;
When described processing operation comprises amplifieroperation, described operation display unit, for amplifying rear the demonstration according to described magnification ratio and described amplification direction by described viewing area.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
By obtaining the show layers of icon, this show layers comprises viewing area and at least one parameter region; Wherein, parameter region is for meaning the display effect of this show layers; Determine the demonstration rule of show layers according to parameter region, and then according to showing that rule shows this show layers, realizes the demonstration of this icon; And, in the show layers of this icon, the operation parameter zone means the display effect of show layers, can directly according to the parameter region in the figure layer, judge whether to reach the expection display effect of this icon, if do not reach the expection display effect, can carry out real time modifying, until finally accomplish the end in view, reached the effect that can also modify flexibly in real time according to the expection display effect of icon, simultaneously, because the expection display effect that can directly according to this, treat icon is also modified in real time flexibly, saved to a certain extent the time of revising definition.
The accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, in below describing embodiment, the accompanying drawing of required use is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the method flow diagram of the icon display method that provides of one embodiment of the invention;
Fig. 2 A is the method flow diagram of the icon display method that provides of another embodiment of the present invention;
Fig. 2 B is the method flow diagram that method is determined in processing operation that another embodiment of the present invention provides;
Fig. 2 C is the method flow diagram that processing sequence that another embodiment of the present invention provides is determined method;
Fig. 2 D is the method flow diagram of the figure layer display packing that provide of another embodiment of the present invention;
Fig. 3 is the enforcement schematic diagram of the icon display method that provides of another embodiment of the present invention;
Fig. 4 is the enforcement schematic diagram of the icon display method that provides of another embodiment of the present invention;
Fig. 5 is the enforcement schematic diagram of the icon display method that provides of another embodiment of the present invention;
Fig. 6 is the enforcement schematic diagram of the icon display method that provides of another embodiment of the present invention;
Fig. 7 is the block diagram of the icon display device that provides of one embodiment of the invention;
Fig. 8 is the block diagram of the icon display device that provides of another embodiment of the present invention;
Fig. 9 is the block diagram of the electronic equipment that provides of one embodiment of the invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Please refer to Fig. 1, it shows the method flow diagram of the icon display method that one embodiment of the invention provides.This icon display method comprises:
The icon loading procedure obtains the show layers of icon, and show layers comprises viewing area and at least one parameter region, and parameter region is for meaning the display effect of show layers.
The icon loading procedure is determined the demonstration rule of show layers according to parameter region.
The icon loading procedure is according to showing that rule shows this show layers.
In sum, the icon display method that the embodiment of the present invention provides, by obtaining the show layers of icon, this show layers comprises viewing area and at least one parameter region, wherein, parameter region is for meaning the display effect of this show layers, determine the demonstration rule of show layers according to parameter region, and then according to showing that rule shows this show layers, realizes the demonstration of this icon, and, in the show layers of this icon, the operation parameter zone means the display effect of show layers, can directly according to the parameter region in the figure layer, imagine size and the pattern that design sketch, and then judge whether to reach the expection display effect of this icon, if do not reach the expection display effect, can carry out real time modifying, until finally reach the expection display effect, reached the effect that can also modify flexibly in real time according to the expection display effect of icon, simultaneously, owing to can directly also modifying flexibly in real time according to the expection display effect of this icon, saved to a certain extent the time of modifying.
Please refer to Fig. 2 A, it shows the method flow diagram of the icon display method that another embodiment of the present invention provides.This icon display method comprises:
Step 201, obtain the show layers of icon, and show layers comprises viewing area and at least one parameter region, and parameter region is for meaning the display effect of show layers;
The icon loading procedure obtains the show layers of icon, and show layers comprises viewing area and at least one parameter region, and parameter region is for meaning the display effect of show layers.Viewing area is the initial zone shown in the procedure for displaying of icon, and parameter region, for need to process the zone of operation in the procedure for displaying of icon, includes the first graphic parameter and second graph parameter in parameter region.
Such as, need to show an animation icon travelled that automobile draws near.The icon loading procedure obtains the show layers of this icon, and this show layers includes viewing area and two parameter regions, as shown in Figure 3.
Step 202, determine the required processing operation of carrying out in viewing area in show layers, the Fill Color that the first graphic parameter is parameter region and/or filling pattern according to the first graphic parameter;
The icon loading procedure is determined the required processing operation of carrying out in viewing area in show layers, the Fill Color that the first graphic parameter is parameter region and/or filling pattern according to the first graphic parameter;
The embodiment of the present invention be take filling pattern that the first graphic parameter is parameter region and is described as example, such as, the filling pattern of two parameter regions in Fig. 3 is respectively left oblique line filling pattern and right oblique line filling pattern.
Concrete, this step can be divided into following two sub-steps, please refer to Fig. 2 B.
The icon loading procedure is according to Fill Color and/or the filling pattern inquiry corresponding relation of parameter region, corresponding relation is the corresponding relation between various Fill Colors and/or filling pattern and various processing operation, and various processing operations comprise at least one in move operation, reduction operation and amplifieroperation;
Such as, corresponding relation is that right oblique line filling pattern means that move operation, left oblique line filling pattern mean that amplifieroperation, grid filling pattern mean reduction operation.Filling pattern in Fig. 3 in parameter region 1 is left oblique line filling pattern, the filling pattern of parameter region 2 is left oblique line filling pattern, and the corresponding relation that the icon loading procedure inquires according to the filling pattern in the parameters zone in Fig. 3 is right oblique line filling pattern and means that move operation, left oblique line filling pattern mean amplifieroperation.
Concrete, if the required processing operation of carrying out in viewing area comprises move operation, the icon loading procedure is according to corresponding to the parameter region of move operation and the position relationship between viewing area, determining moving direction; Relative distance between the corresponding border do not overlapped with viewing area according to the border of the parameter region corresponding to move operation on above-mentioned moving direction is determined displacement;
What determine according to the corresponding relation inquired that in the show layers shown in Fig. 3, parameter region 2 means such as, icon loading procedure is move operation, and parameter region 2 is positioned at the left side of viewing area, so the moving direction of determining this move operation is for moving to left; Relative distance between the border 11 that the 11He viewing area, border of parameter region 2 does not overlap is 5cm, so determine that displacement is 5cm.
What need to describe is, in the time need to being moved the viewing area in show layers, the parameter region of ordinary representation move operation and the viewing area border on moving direction does not overlap, and according to the relative distance between the border on moving direction, can determine displacement.If the parameter region that has a plurality of expressions to move in show layers, need the second graph parameter that further judges these parameter regions to determine sequence of operation.
If the required processing operation of carrying out in viewing area comprises amplifieroperation, the icon loading procedure is according to corresponding to the parameter region of amplifieroperation and the size proportionate relationship between viewing area, determining magnification ratio; Relative position determination between the corresponding vertex do not overlapped with viewing area according to the summit of the parameter region corresponding to amplifieroperation amplifies direction.
Such as, the icon loading procedure determines that according to the corresponding relation inquired in the show layers shown in Fig. 3, parameter region 1 means amplifieroperation, and the size proportionate relationship between parameter region 1 and viewing area is 1 to 10, so determine that the magnification ratio of this amplifieroperation is 10%; The amplification direction of this amplifieroperation of Relative position determination between the summit 33 do not overlapped according to the 44He viewing area, summit of parameter region 1 is upper left 20 degree.
Need to describe, when needs carry out amplifieroperation, the parameter region of ordinary representation amplifieroperation and the summit of viewing area do not overlap, and can determine the direction of amplifieroperation according to the relative position between corresponding vertex.If the required processing operation of carrying out in viewing area comprises reduction operation, the icon loading procedure is according to corresponding to the parameter region of reduction operation and the size proportionate relationship between viewing area, determining scale down; Relative position determination between the corresponding vertex do not overlapped with viewing area according to the summit of the parameter region corresponding to reduction operation dwindles direction;
Definite method of reduction operation and amplifieroperation is similar, just no longer is illustrated here.
So the icon loading procedure determines that according to the first graphic parameter the required processing of carrying out in viewing area in show layers is operating as move to left 5cm and upper left 20 degree amplifications 10%.
What need to describe is, if using color as the first graphic parameter, the parameters zone in this show layers is filled with different colours, and, owing to usually also comprising various color in the animated content comprised in show layers, such as, in animated content, animated character's clothes with it etc. includes different colors usually.In order to distinguish as the color of the first graphic parameter and the color in animated content, generally select some colors of often not using as display parameter.
If using color and filling pattern simultaneously as the first graphic parameter, can be the permutation and combination of shades of colour and various filling patterns, a kind of color filling has different filling patterns as the first different graphic parameters.Such as, dark reddish purple look is filled right oblique line pattern and dark reddish purple look and is filled left oblique line pattern and used as the first different graphic parameters.
Concrete, this step can be divided into following two sub-steps, please refer to Fig. 2 C.
The icon loading procedure is according to the transparence value search order relation of parameter region, and ordinal relation is the corresponding processing sequences of different transparence values;
Such as, ordinal relation is before the represented operational processes of parameter region that the represented operational processes of parameter region that transparence value is high is low at transparence value.
The icon loading procedure is determined the processing sequence of processing operation according to the processing sequence inquired.
Such as, in Fig. 3, the transparence value of parameter region 1 is 70%, the transparence value of parameter region 2 is 50%, according to the ordinal relation inquired, determines that processing that parameter region 1 means is processed before operating in the processing operation that parameter region 2 means.
Need to describe, while including the two or more parameter region that means same processing operation in show layers, need to determine according to the second graph parameter processing sequence of these two or more parameter regions.Such as, in show layers, include left and upwards during the move operation of both direction, further according to the transparence value of the parameter region of the move operation that means respectively this both direction, judge the processing sequence of the move operation on both direction: the transparence value of the parameter region moved up if mean is higher than the transparence value of the parameter region that means to be moved to the left, first move up and be moved to the left again, otherwise first be moved to the left again and move up, if the transparence value of the two is identical, move simultaneously.
When viewing area includes the amplifieroperation of both direction and reduction operation, can, with reference to above-mentioned to the move operation explanation, repeat no more here.
So the icon loading procedure determines that according to the second graph parameter sequence of operation of the required processing operation of carrying out in viewing area in show layers first carries out amplifieroperation, then carries out move operation.
Concrete, the icon loading procedure shows the viewing area in this show layers, according to processing sequence, corresponding the processing is carried out in this viewing area and operates rear the demonstration; Comprise move operation if process operation, the icon loading procedure moves rear demonstration according to displacement and moving direction by viewing area; Comprise amplifieroperation if process operation, the icon loading procedure will show after the amplification of viewing area according to magnification ratio and amplification direction; Comprise reduction operation if process operation, the icon loading procedure is according to scale down with dwindle direction viewing area is dwindled to rear demonstration.
Such as, in the process of the show layers that shows this icon, be divided into following three sub-steps, please refer to Fig. 2 D.
Step 204a, show the viewing area of this show layers;
The icon loading procedure shows the viewing area of this show layers, as shown in Figure 4.
Step 204b, amplified rear demonstration to the viewing area of this show layers;
The icon loading procedure carries out upper left 20 degree to the viewing area of this show layers and amplifies 10% rear demonstration, as shown in Figure 5.
Step 204c, moved rear demonstration to the viewing area of this show layers;
The icon loading procedure is moved to left after 5cm and is shown the viewing area of this show layers, as shown in Figure 6.
The final display effect of this icon is travelling that automobile draws near.
It should be noted that, an icon generally includes a plurality of show layers, the icon loading procedure is in the process that loads each show layers, need at first obtain the parameter region in each show layers, determine respectively processing operation and the processing sequence of this show layers according to the first graphic parameter in parameter region and second graph parameter, according to processing operation and processing sequence, this show layers is processed accordingly and shown.The embodiment of the present invention be take and meaned that the animation icon travelled that automobile draws near only includes a show layers and describes as example, when comprising a plurality of show layers, the icon loading procedure can define the loading sequence of each show layers in program, the icon display method that specifically demonstration of each figure layer provides according to the embodiment of the present invention shows and gets final product, and repeats no more here.
In sum, the icon display method that the embodiment of the present invention provides, by obtaining the show layers of icon, this show layers comprises viewing area and at least one parameter region; Wherein, parameter region is for meaning the display effect of this show layers; Include the first graphic parameter and second graph parameter in parameter region, the Fill Color that the first graphic parameter is parameter region and/or filling pattern, the transparence value that the second graph parameter is parameter region, the required processing operation of carrying out in viewing area of this show layers can be determined according to the first graphic parameter, according to the second graph parameter, the sequence of operation of processing operation can be determined; According to sequence of operation, the corresponding procedure for displaying that the rear demonstration of operation can realize this icon of processing is carried out in the viewing area of this show layers.In the show layers of this icon, the operation parameter zone means the display effect of show layers, can directly according to the parameter region in the figure layer, imagine size and the pattern that design sketch, and then judge whether to reach the expection display effect of this icon, if do not reach the expection display effect, can carry out real time modifying, until finally reach the expection display effect, reached the effect that can also modify flexibly in real time according to the expection display effect of icon, simultaneously, owing to can directly also modifying flexibly in real time according to the expection display effect of this icon, saved to a certain extent the time of modifying.
Please refer to Fig. 7, it shows the block diagram of the icon display device that one embodiment of the invention provides.This icon display device can realize becoming the whole or a part of of electronic equipment by software, hardware or both combinations, and this icon display device comprises:
In sum, the icon display device that the embodiment of the present invention is mentioned, by obtaining the show layers of icon, this show layers comprises viewing area and at least one parameter region, wherein, parameter region is for meaning the display effect of this show layers, determine the demonstration rule of show layers according to parameter region, and then according to showing that rule shows this show layers, realizes the demonstration of this icon, and, in the show layers of this icon, the operation parameter zone means the display effect of show layers, can directly according to the parameter region in the figure layer, imagine size and the pattern that design sketch, and then judge whether to reach the expection display effect of this icon, if do not reach the expection display effect, can carry out real time modifying, until finally reach the expection display effect, reached the effect that can also modify flexibly in real time according to the expection display effect of icon, simultaneously, owing to can directly also modifying flexibly in real time according to the expection display effect of this icon, saved to a certain extent the time of modifying.
Please refer to Fig. 8, it shows the block diagram of the icon display device that another embodiment of the present invention provides.This icon display device can realize becoming the whole or a part of of electronic equipment by software, hardware or both combinations, and this icon display device comprises:
Determination module 820, determine the demonstration rule of described show layers for the parameter region of the show layers that gets according to described acquisition module 810;
Include the first graphic parameter and second graph parameter in described parameter region, described determination module 820 comprises:
Operation submodule 830 and order submodule 840;
Described operation submodule 830, for the required processing operation of carrying out in the viewing area of determining described show layers according to described the first graphic parameter;
Fill Color and/or filling pattern that described the first graphic parameter is described parameter region, described operation submodule 830 comprises:
Described corresponding query unit 831, for the Fill Color according to described parameter region and/or filling pattern inquiry corresponding relation, described corresponding relation is the corresponding relation between various Fill Colors and/or filling pattern and various processing operation, and described various processing operations comprise at least one in move operation, reduction operation and amplifieroperation;
Described operation determination unit 832, determine the required processing operation of carrying out in described viewing area for the described corresponding relation inquired according to described corresponding query unit 831.
When the processing operation of carrying out when described viewing area is required comprises move operation, described operation determination unit 832 comprises:
Moving direction subelement 832a, determine moving direction for the position relationship according between the described parameter region corresponding to move operation and described viewing area;
When the processing operation of carrying out when described viewing area is required comprises reduction operation, described operation determination unit 832 comprises:
Scale down subelement 832c, determine scale down for basis corresponding to the parameter region of described reduction operation and the size proportionate relationship between described viewing area;
Dwindle director unit 832d, the Relative position determination between the corresponding vertex do not overlapped with described viewing area for the summit according to corresponding to the parameter region of described reduction operation dwindles direction;
When the processing operation of carrying out when described viewing area is required comprises amplifieroperation, described operation determination unit 832 comprises:
Described order submodule 840, for determining the processing sequence of described processing operation according to described second graph parameter.
The transparence value that described second graph parameter is described parameter region, described order submodule 830 comprises:
Display module 850, show described show layers for the demonstration rule definite according to described determination module 840.
Described display module 850 comprises:
When described processing operation comprises move operation, described operation display unit 851, for moving rear demonstration according to described displacement and described moving direction by described viewing area;
When described processing operation comprises reduction operation, described operation display unit 851, for dwindling rear demonstration according to described scale down and the described direction of dwindling by described viewing area;
When described processing operation comprises amplifieroperation, described operation display unit 851, for amplifying rear the demonstration according to described magnification ratio and described amplification direction by described viewing area.
In sum, the icon display device that the embodiment of the present invention is mentioned, by obtaining the show layers of icon, this show layers comprises viewing area and at least one parameter region; Wherein, parameter region is for meaning the display effect of this show layers; Include the first graphic parameter and second graph parameter in parameter region, the Fill Color that the first graphic parameter is parameter region and/or filling pattern, the transparence value that the second graph parameter is parameter region, the required processing operation of carrying out in viewing area of this show layers can be determined according to the first graphic parameter, according to the second graph parameter, the sequence of operation of processing operation can be determined; According to sequence of operation, the corresponding procedure for displaying that the rear demonstration of operation can realize this icon of processing is carried out in the viewing area of this show layers.In the show layers of this icon, the operation parameter zone means the display effect of show layers, can directly according to the parameter region in the figure layer, imagine size and the pattern that design sketch, and then judge whether to reach the expection display effect of this icon, if do not reach the expection display effect, can carry out real time modifying, until finally reach the expection display effect, reached the effect that can also modify flexibly in real time according to the expection display effect of icon, simultaneously, owing to can directly also modifying flexibly in real time according to the expection display effect of this icon, saved to a certain extent the time of modifying.
It should be noted that: the icon display device that above-described embodiment provides is when display icon, only the division with above-mentioned each functional module is illustrated, in practical application, can above-mentioned functions be distributed and completed by different functional modules as required, the inner structure that is about to device is divided into different functional modules, to complete all or part of function described above.In addition, icon display device and icon display method embodiment that above-described embodiment provides belong to same design, and its specific implementation process refers to embodiment of the method, repeats no more here.
Please refer to Fig. 9, it shows the block diagram of the electronic equipment that one embodiment of the invention provides.This electronic equipment is for implementing the icon display method that above-described embodiment provides.
Electronic equipment in the embodiment of the present invention can comprise one or more following ingredients: for the computer program instruction to complete the processor of various flow processs and method, for information and the random incoming memory of stored program instruction (RAM) and ROM (read-only memory) (ROM), for storing the storer of data and information, I/O equipment, interface, antenna etc.Specifically:
Below in conjunction with Fig. 9, each component parts of electronic equipment 900 is carried out to concrete introduction:
Input block 930 can be used for receiving numeral or the character information of input, and generation arranges with the user of electronic equipment 900 and function is controlled relevant key signals input.Particularly, input block 930 can comprise contact panel 931 and other input equipments 932.Contact panel 931, also referred to as touch-screen, can collect the user or near touch operation (use any applicable objects such as finger, stylus or annex such as the user on contact panel 931 or near operation contact panel 931) thereon, and drive corresponding coupling arrangement according to predefined formula.Optionally, contact panel 931 can comprise touch detecting apparatus and two parts of touch controller.Wherein, touch detecting apparatus detects user's touch orientation, and detects the signal that touch operation is brought, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 980, and the order that energy receiving processor 980 is sent is also carried out.In addition, can adopt the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave to realize contact panel 931.Except contact panel 931, input block 930 can also comprise other input equipments 932.Particularly, other input equipments 932 can include but not limited to one or more in physical keyboard, function key (controlling button, switch key etc. such as volume), trace ball, mouse, control lever etc.
WiFi belongs to the short range wireless transmission technology, electronic equipment 900 by WiFi module 970 can help that the user sends and receive e-mail, browsing page and access streaming video etc., it provides wireless broadband internet access for the user.Although Fig. 9 shows WiFi module 970, be understandable that, it does not belong to must forming of electronic equipment 900, fully can be as required in the scope of the essence that does not change invention and omit.
Although not shown, electronic equipment 900 can also comprise bluetooth module etc., does not repeat them here.
Obtain the show layers of icon, described show layers comprises viewing area and at least one parameter region, and described parameter region is for meaning the display effect of described show layers;
Determine the demonstration rule of described show layers according to described parameter region;
Show described show layers according to described demonstration rule.
Include the first graphic parameter and second graph parameter in described parameter region, described one or more module also has following function:
Determine the required processing operation of carrying out in viewing area in described show layers according to described the first graphic parameter;
Determine the processing sequence of described processing operation according to described second graph parameter.
Fill Color and/or filling pattern that described the first graphic parameter is described parameter region, described one or more module also has following function:
Fill Color and/or filling pattern inquiry corresponding relation according to described parameter region, described corresponding relation is the corresponding relation between various Fill Colors and/or filling pattern and various processing operation, and described various processing operations comprise at least one in move operation, reduction operation and amplifieroperation;
Determine the required processing operation of carrying out in described viewing area according to the described corresponding relation inquired.
Described one or more module also has following function:
If the required processing operation of carrying out in described viewing area comprises move operation, according to the position relationship between the described parameter region corresponding to move operation and described viewing area, determine moving direction; Relative distance between the corresponding border do not overlapped with described viewing area according to the border of the parameter region corresponding to described move operation on described moving direction is determined displacement;
If the required processing operation of carrying out in described viewing area comprises reduction operation, according to corresponding to the parameter region of described reduction operation and the size proportionate relationship between described viewing area, determining scale down; Relative position determination between the corresponding vertex do not overlapped with described viewing area according to the summit of the parameter region corresponding to described reduction operation dwindles direction;
If the required processing operation of carrying out in described viewing area comprises amplifieroperation, according to corresponding to the parameter region of described amplifieroperation and the size proportionate relationship between described viewing area, determining magnification ratio; Relative position determination between the corresponding vertex do not overlapped with described viewing area according to the summit of the parameter region corresponding to described amplifieroperation amplifies direction.
The transparence value that described second graph parameter is described parameter region, described one or more module also has following function:
According to the transparence value search order relation of described parameter region, described ordinal relation is the corresponding processing sequences of different transparence values;
Determine the processing sequence of described processing operation according to the described processing sequence inquired.
Described one or more module also has following function:
Show the viewing area in described show layers;
According to described processing sequence, the corresponding rear demonstration of operation of processing is carried out in described viewing area;
If comprising, described processing operation according to described displacement and described moving direction, rear demonstration is moved in described viewing area by move operation;
If described processing operation comprises reduction operation, according to described scale down and the described direction of dwindling, described viewing area is dwindled to rear demonstration;
If described processing operation comprises amplifieroperation, according to described magnification ratio and described amplification direction, rear the demonstration amplified in described viewing area.
In sum, the electronic equipment that the embodiment of the present invention provides, by obtaining the show layers of icon, this show layers comprises viewing area and at least one parameter region, wherein, parameter region is for meaning the display effect of this show layers, determine the demonstration rule of show layers according to parameter region, and then according to showing that rule shows this show layers, realizes the demonstration of this icon, and, in the show layers of this icon, the operation parameter zone means the display effect of show layers, can directly according to the parameter region in the figure layer, imagine size and the pattern that design sketch, and then judge whether to reach the expection display effect of this icon, if do not reach the expection display effect, can carry out real time modifying, until finally reach the expection display effect, reached the effect that can also modify flexibly in real time according to the expection display effect of icon, simultaneously, owing to can directly also modifying flexibly in real time according to the expection display effect of this icon, saved to a certain extent the time of modifying.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can come the hardware that instruction is relevant to complete by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.
Claims (12)
1. an icon display method, is characterized in that, described method comprises:
Obtain the show layers of icon, described show layers comprises viewing area and at least one parameter region, and described parameter region is for meaning the display effect of described show layers;
Determine the demonstration rule of described show layers according to described parameter region;
Show described show layers according to described demonstration rule.
2. method according to claim 1, is characterized in that, includes the first graphic parameter and second graph parameter in described parameter region, and the described demonstration rule of determining described show layers according to described parameter region comprises:
Determine the required processing operation of carrying out in viewing area in described show layers according to described the first graphic parameter;
Determine the processing sequence of described processing operation according to described second graph parameter.
3. method according to claim 2, it is characterized in that, Fill Color and/or filling pattern that described the first graphic parameter is described parameter region, describedly determine the required processing operation of carrying out in viewing area in described show layers according to described the first graphic parameter, comprising:
Fill Color and/or filling pattern inquiry corresponding relation according to described parameter region, described corresponding relation is the corresponding relation between various Fill Colors and/or filling pattern and various processing operation, and described various processing operations comprise at least one in move operation, reduction operation and amplifieroperation;
Determine the required processing operation of carrying out in described viewing area according to the described corresponding relation inquired.
4. method according to claim 3, is characterized in that, the described corresponding relation that described basis inquires is determined the required processing operation of carrying out in described viewing area, comprising:
If the required processing operation of carrying out in described viewing area comprises move operation, according to the position relationship between the described parameter region corresponding to move operation and described viewing area, determine moving direction; Relative distance between the corresponding border do not overlapped with described viewing area according to the border of the parameter region corresponding to described move operation on described moving direction is determined displacement;
If the required processing operation of carrying out in described viewing area comprises reduction operation, according to corresponding to the parameter region of described reduction operation and the size proportionate relationship between described viewing area, determining scale down; Relative position determination between the corresponding vertex do not overlapped with described viewing area according to the summit of the parameter region corresponding to described reduction operation dwindles direction;
If the required processing operation of carrying out in described viewing area comprises amplifieroperation, according to corresponding to the parameter region of described amplifieroperation and the size proportionate relationship between described viewing area, determining magnification ratio; Relative position determination between the corresponding vertex do not overlapped with described viewing area according to the summit of the parameter region corresponding to described amplifieroperation amplifies direction.
5. according to the arbitrary described method of claim 2 to 4, it is characterized in that, the transparence value that described second graph parameter is described parameter region, the described processing sequence of determining described processing operation according to described second graph parameter comprises:
According to the transparence value search order relation of described parameter region, described ordinal relation is the corresponding processing sequences of different transparence values;
Determine the processing sequence of described processing operation according to the described processing sequence inquired.
6. method according to claim 5, is characterized in that, described according to the described show layers of described demonstration rule demonstration, comprising:
Show the viewing area in described show layers;
According to described processing sequence, the corresponding rear demonstration of operation of processing is carried out in described viewing area;
If comprising, described processing operation according to described displacement and described moving direction, rear demonstration is moved in described viewing area by move operation;
If described processing operation comprises reduction operation, according to described scale down and the described direction of dwindling, described viewing area is dwindled to rear demonstration;
If described processing operation comprises amplifieroperation, according to described magnification ratio and described amplification direction, rear the demonstration amplified in described viewing area.
7. an icon display device, is characterized in that, described device comprises:
Acquisition module, for obtaining the show layers of icon, described show layers comprises viewing area and at least one parameter region, described parameter region is for meaning the display effect of described show layers;
Determination module, determine the demonstration rule of described show layers for the parameter region of the show layers that gets according to described acquisition module;
Display module, show described show layers for the demonstration rule definite according to described determination module.
8. device according to claim 7, is characterized in that, includes the first graphic parameter and second graph parameter in described parameter region, and described determination module comprises:
The operation submodule, for the required processing operation of carrying out in the viewing area of determining described show layers according to described the first graphic parameter;
The order submodule, for determining the processing sequence of described processing operation according to described second graph parameter.
9. device according to claim 8, is characterized in that, Fill Color and/or filling pattern that described the first graphic parameter is described parameter region, and described operation submodule comprises:
Corresponding query unit, for the Fill Color according to described parameter region and/or filling pattern inquiry corresponding relation, described corresponding relation is the corresponding relation between various Fill Colors and/or filling pattern and various processing operation, and described various processing operations comprise at least one in move operation, reduction operation and amplifieroperation;
Operation determination unit, determine the required processing operation of carrying out in described viewing area for the described corresponding relation inquired according to described corresponding query unit.
10. device according to claim 9, is characterized in that,
When the processing operation of carrying out when described viewing area is required comprises move operation, described operation determination unit comprises:
The moving direction subelement, determine moving direction for the position relationship according between the described parameter region corresponding to move operation and described viewing area;
The displacement subelement, between the corresponding border do not overlapped with described viewing area for the border according to corresponding to the parameter region of described move operation at described moving direction subelement the relative distance on definite moving direction determine displacement;
When the processing operation of carrying out when described viewing area is required comprises reduction operation, described operation determination unit comprises:
The scale down subelement, determine scale down for basis corresponding to the parameter region of described reduction operation and the size proportionate relationship between described viewing area;
Dwindle the director unit, the Relative position determination between the corresponding vertex do not overlapped with described viewing area for the summit according to corresponding to the parameter region of described reduction operation dwindles direction;
When the processing operation of carrying out when described viewing area is required comprises amplifieroperation, described operation determination unit comprises:
The magnification ratio subelement, determine magnification ratio for basis corresponding to the parameter region of described amplifieroperation and the size proportionate relationship between described viewing area;
Amplify the director unit, the Relative position determination amplification direction between the corresponding vertex do not overlapped with described viewing area for the summit of the parameter region according to corresponding to described amplifieroperation.
11. according to Claim 8 to 10 arbitrary described device, it is characterized in that, the transparence value that described second graph parameter is described parameter region, described order submodule comprises:
The sequential query unit, for the transparence value search order relation according to described parameter region, described ordinal relation is the corresponding processing sequences of different transparence values;
The order determining unit, determine for the described processing sequence inquired according to described sequential query unit the processing sequence that described processing operates.
12. device according to claim 11, is characterized in that, described display module comprises:
Direct display unit, for showing the viewing area of described show layers;
Operation display unit, for carrying out the corresponding rear demonstration of operation of processing according to described processing sequence to described viewing area;
When described processing operation comprises move operation, described operation display unit, for moving rear demonstration according to described displacement and described moving direction by described viewing area;
When described processing operation comprises reduction operation, described operation display unit, for dwindling rear demonstration according to described scale down and the described direction of dwindling by described viewing area;
When described processing operation comprises amplifieroperation, described operation display unit, for amplifying rear the demonstration according to described magnification ratio and described amplification direction by described viewing area.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310379462.4A CN103455331B (en) | 2013-08-27 | 2013-08-27 | icon display method and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310379462.4A CN103455331B (en) | 2013-08-27 | 2013-08-27 | icon display method and device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN103455331A true CN103455331A (en) | 2013-12-18 |
| CN103455331B CN103455331B (en) | 2016-12-28 |
Family
ID=49737738
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201310379462.4A Active CN103455331B (en) | 2013-08-27 | 2013-08-27 | icon display method and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN103455331B (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105045499A (en) * | 2015-06-12 | 2015-11-11 | 广东小天才科技有限公司 | Method and device for judging object touch |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1632734A (en) * | 2003-12-25 | 2005-06-29 | 南京Lg同创彩色显示系统有限责任公司 | Icon control method of display system |
| US20080120571A1 (en) * | 2006-11-22 | 2008-05-22 | Ulead Systems, Inc. | Method for displaying icons of digital items |
| CN103226430A (en) * | 2013-04-24 | 2013-07-31 | 北京小米科技有限责任公司 | Method and device for icon display |
-
2013
- 2013-08-27 CN CN201310379462.4A patent/CN103455331B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1632734A (en) * | 2003-12-25 | 2005-06-29 | 南京Lg同创彩色显示系统有限责任公司 | Icon control method of display system |
| US20080120571A1 (en) * | 2006-11-22 | 2008-05-22 | Ulead Systems, Inc. | Method for displaying icons of digital items |
| CN103226430A (en) * | 2013-04-24 | 2013-07-31 | 北京小米科技有限责任公司 | Method and device for icon display |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105045499A (en) * | 2015-06-12 | 2015-11-11 | 广东小天才科技有限公司 | Method and device for judging object touch |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103455331B (en) | 2016-12-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN105867730B (en) | Status bar display method and device | |
| CN103543913A (en) | Terminal device operation method and device, and terminal device | |
| CN105302408A (en) | Method and apparatus for adjusting position of hover button and terminal | |
| CN103309562A (en) | Desktop display method, desktop display device and mobile terminal | |
| CN103941982A (en) | Method for sharing interface processing and terminal | |
| CN103488403A (en) | Switching method and device for interface layout and mobile terminal | |
| CN103390034A (en) | Image display method, device, terminal and server | |
| CN106296623B (en) | A kind of image processing method and device | |
| CN106293375A (en) | A scene switching method and device | |
| CN105094809A (en) | Combined picture layout modification method and device and terminal equipment | |
| CN104965642A (en) | Method and apparatus for generating a drop-down list | |
| CN103813127A (en) | Video call method, terminal and system | |
| CN104021129A (en) | Picture group display method and terminal | |
| CN106951139A (en) | Message notifying frame display methods and device | |
| CN104820546B (en) | Function information methods of exhibiting and device | |
| CN104238931B (en) | Information input method and device and electronic equipment | |
| CN108920086A (en) | Split screen quitting method and device, storage medium and electronic equipment | |
| CN105635553A (en) | Image shooting method and device | |
| CN105278795A (en) | Method and device for displaying function bars | |
| CN103677944B (en) | A kind of method for making locking screen interface, device and terminal device | |
| CN104616333A (en) | Game video processing method and device | |
| CN103631592A (en) | Configuration method, calling method, device and equipment for displaying resources | |
| CN104834655A (en) | Method and device for displaying mass parameter of network resource | |
| CN104077129B (en) | icon processing method, device and terminal device | |
| CN104461273A (en) | Information displaying method and terminal device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant |