A kind of desktop function sheet icon is added to the exchange method of preview screen
Technical field
The present invention relates to desktop system technical field, and in particular to the desktop work(that a kind of lifting user interacts with desktop system
Energy sheet icon is added to the exchange method of preview screen.
Background technology
With the development of information technology, desktop system can be supported to carry multiple application journeys on multiple screens, each screen
Sequence icon and/or shortcut, make user to open or add the figure of difference in functionality at different screen interface according to self-demand
Mark or information alert frame, but menu icon is not added to the function of desktop screen by existing desktop system, it is difficult to meet and use
The demand at family, and existing desktop screen is more, more without icon directly is directly appended into function on wanted screen.
The content of the invention
In view of the shortcomings of the prior art, it is applied to mobile phone operating system it is an object of the invention to provide one kind, it is convenient to use
Menu icon is added directly to preview screen interface by family, and the desktop function sheet icon of enhancing Consumer's Experience is added to preview screen
The exchange method of curtain.
In order to achieve the above object, adopt the following technical scheme that:A kind of desktop function sheet icon is added to preview screen
Exchange method, comprises the following steps:
S1, desktop screen show two forms simultaneously, and the first form is used for display screen preview interface, and the second form is used for
Display function surface and interface, function surface and interface and the angled display in screen preview interface, scrabble up stereoscopic screen interface;
S2, the icon of the second window-functions surface and interface is dragged to the preview screen region of the first form, you can complete work(
Energy sheet icon is added to the operation of preview screen.
Further, desktop screen shows two forms simultaneously in the step 1, and the first form is used for display screen preview circle
Face, the second form is used for concretely comprising the following steps for display function surface and interface:
The interface method for drafting of screen preview layer is called to repaint screen according to default Z axis index depth in the first form
Curtain preview interface;
The interface method for drafting on calling function top layer repaints menu in the second form according to default icon layout
Interface simultaneously shows it along the certain angle of Z axis upset, forms the interface with transmission effects.
Further, the icon of the second window-functions surface and interface is dragged in the step 2 to the preview screen area of the first form
Domain is concretely comprised the following steps:
Default long-press icon triggers the time threshold values of icon moving event;
Judge whether the time value of long-press icon is more than pre-set threshold value, if so, triggering icon moving event;
Obtain the coordinate value that finger is slided;
Coordinate value changes that icon is slided according to finger and change, so as to realize movement.
Preferably, the icon moving event is specially:One is created on the first form and the second form new full frame to regard
Window, full frame form obtains the position data at function surface and interface and screen preview interface;Function surface and interface hides currently selected icon
And be delivered to icon on new full frame window interface;Selected icon is moved on full frame window interface with the slip of finger
Dynamic, the size of the icon is shown to be changed with the change of function surface and interface or screen preview interface Z axis index depth.
Preferably, the function surface and interface hides currently selected icon and icon is delivered to new full frame window interface
On, when icon is successfully added to preview screen interface, the selected icon that menu interface display is hidden.
Further, methods described is further comprising the steps of:
Before step S1 is realized, the control provided with addition icon to preview screen on functional skin layer is clicked on the control and touched
Send out step S1 events;
Or, before step S1 is realized, the time threshold values at long-press functional skin layer interface is preset, when long-press functional skin layer interface
When time value is more than pre-set threshold value, step S1 events are triggered.
Further, the icon of the second window-functions surface and interface presets multiselect event, when clicking icon, icon upper right
Angle shows tick boxes, when user chooses completion to multiple icons, one of them icon for choosing of long-press, multiple icon overlays into
The icon of one entirety, and moved with the slip of finger;When overlapping icon is dragged is added to preview screen, automatically
Exit function sheet icon is added to preview screen event, into the full frame interface of current screen, and ejects overlapping icon menu setting
Function choosing-item.
Further, the screen preview interface of first form is converted into aobvious at an angle by several screens around central shaft
Show;The step-length threshold values of default finger slide handover preview screen, when sliding step value of the finger at screen preview interface is more than in advance
If during threshold values, preview screen handover event is triggered, from current preview screens switch to next preview screen.
Further, the screen preview interface of first form sets current preview screen area to be added for menu icon
Response region, other regions be non-response region, when drag the second window-functions surface and interface icon to the first form sound
When answering region, icon is unclamped, icon is automatically added to current preview screen;When the icon for dragging the second window-functions surface and interface is arrived
During the non-response region of the first form, icon is unclamped, addition event failure returns to that icon is original on menu not to drag shape
State.
Compared with prior art, the beneficial effects of the present invention are:The present invention shows two simultaneously by desktop screen and regarded
Window, the first form is used for display screen preview interface, and the second form is used for display function surface and interface, and function surface and interface and screen are pre-
Look at the angled display in interface, scrabble up stereoscopic screen interface;The icon for dragging the second window-functions surface and interface is regarded to first
The preview screen region of window, you can complete to be added to menu icon into the operation of preview screen, meet the personalization of user
Demand, enhances Consumer's Experience.
Brief description of the drawings
Fig. 1 is design sketch of the embodiment one provided with addition icon to the control functional skin layer of preview screen;
Fig. 2 is the desktop screen of embodiment one while showing the design sketch of two forms;
Fig. 3 is that the form of embodiment one first sets current preview screen area to be the response region that menu icon is added
Design sketch;
Fig. 4 is that embodiment one realizes dragging icon to the method flow diagram at preview screen interface;
Fig. 5 is that Fig. 4 drags icon to the design sketch at preview screen interface;
Fig. 6 is that the icon of embodiment one is successfully added to preview screen interface, the selected figure that menu interface display is hidden
Target design sketch;
Fig. 7 is the design sketch that multiselect menu icon is added to preview screen;
Fig. 8 is that overlapping icon is added to the design sketch that preview screen popup menu sets function choosing-item.
Embodiment
Describe the present invention in detail below in conjunction with accompanying drawing and specific implementation method, the present invention schematic implementation and
Illustrate for explaining the present invention, but it is not as a limitation of the invention.
Embodiment one
A kind of desktop function sheet icon is added to the exchange method of preview screen, comprises the following steps:
S101:As shown in figure 1, clicking on the control 2 to the control 2 of preview screen provided with addition icon on functional skin layer 1
Trigger Function sheet icon is added to preview screen event.
S102:As shown in Fig. 2 desktop screen shows two forms simultaneously, the first form is used for display screen preview interface
3, the second form is used for display function surface and interface 4, function surface and interface 4 and the angled display in screen preview interface 3, scrabbles up
Stereoscopic screen interface;
Concrete operations are:The interface method for drafting on calling function top layer 1 is in the second form according to default icon layout weight
It is new to draw function surface and interface 4 and show it along the certain angle of Z axis upset, form the interface with transmission effects;Again paint
The function surface and interface 4 of system rearranges icon according to default icon layout;
The screen preview interface 3 of first form converts into display at an angle by several screens around central shaft;Screen
Curtain preview interface 3 is provided with preview screen handover event, is specially:The step-length threshold values of default finger slide handover preview screen, when
Finger triggers preview screen handover event, from current preview when the sliding step value at screen preview interface is more than pre-set threshold value
Screens switch is to next preview screen.
S103:As shown in figure 3, the screen preview interface of the first form sets current preview screen area 5 to be function chart
The response region of addition is marked, other regions are non-response region.
S104:As shown in Figures 4 and 5, specific steps of the dragging icon to preview screen interface:
S401:Default long-press icon triggers the time threshold values of icon moving event;
S402:Judge whether the time value of long-press icon is more than pre-set threshold value, if so, triggering icon moving event:If it is not,
Cycle criterion;
S403:A new full frame form is created on the first form and the second form, full frame form obtains function surface and interface
With the position data at screen preview interface;Function surface and interface hides currently selected icon and icon is delivered to new full frame form
On interface;
S404:Obtain the coordinate value that finger is slided, the coordinate that selected icon is slided on full frame window interface according to finger
Value changes and change, so as to realize movement, the size of the icon is shown with function surface and interface or screen preview interface Z axis rope
Draw the change of depth and change;
S405:The icon of the second window-functions surface and interface is dragged to the first form, icon is unclamped;
S406:It is in current preview response region or in non-response region, if responding area in current preview to judge icon
Domain, icon is automatically added to current preview screen;If in non-response region, addition event failure returns to icon in menu
Upper original non-dragging state.
S105:As shown in fig. 6, icon is successfully added to preview screen interface, it is selected that menu interface display is hidden
Icon.
As shown in Fig. 7~8, methods described is also added to preview screen following steps including multiselect menu icon:
The icon of second window-functions surface and interface presets multiselect event, and when clicking icon, the icon upper right corner, which is shown, to be chosen
Frame, when user chooses completion to multiple icons, one of them icon for choosing of long-press, multiple icon overlays are into entirety
Icon, and moved with the slip of finger;When overlapping icon is dragged is added to preview screen, menu is automatically exited from
Icon is added to preview screen event, into the full frame interface of current screen, and ejects overlapping icon menu setting function choosing-item.
The present invention shows two forms simultaneously by desktop screen, and the first form is used for display screen preview interface, second
Form is used for display function surface and interface, function surface and interface and the angled display in screen preview interface, scrabbles up stereoscopic screen
Interface;The icon of the second window-functions surface and interface is dragged to the preview screen region of the first form, you can complete function chart
Mark is added to the operation of preview screen, meets the individual demand of user, enhances Consumer's Experience.
Embodiment two
The present invention is in addition to following characteristics, be the same as Example one:
The time threshold values at default long-press functional skin layer interface, when the time value at long-press functional skin layer interface is more than pre-set threshold value
When, Trigger Function sheet icon is added to preview screen event.
The technical scheme provided above the embodiment of the present invention is described in detail, specific case used herein
Principle and embodiment to the embodiment of the present invention are set forth, and the explanation of above example is only applicable to help and understands this
The principle of inventive embodiments;Simultaneously for those of ordinary skill in the art, according to the embodiment of the present invention, in specific embodiment party
It will change in formula and application, in summary, this specification content should not be construed as limiting the invention.