CN107436712A - To breathe out the method, apparatus and terminal of menu setting skin - Google Patents

To breathe out the method, apparatus and terminal of menu setting skin Download PDF

Info

Publication number
CN107436712A
CN107436712A CN201710631069.8A CN201710631069A CN107436712A CN 107436712 A CN107436712 A CN 107436712A CN 201710631069 A CN201710631069 A CN 201710631069A CN 107436712 A CN107436712 A CN 107436712A
Authority
CN
China
Prior art keywords
skin
picture
side menu
value
skin picture
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710631069.8A
Other languages
Chinese (zh)
Other versions
CN107436712B (en
Inventor
张枫枫
倪晓臻
张广宁
孙志威
胡晶晶
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201710631069.8A priority Critical patent/CN107436712B/en
Publication of CN107436712A publication Critical patent/CN107436712A/en
Application granted granted Critical
Publication of CN107436712B publication Critical patent/CN107436712B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0483Interaction with page-structured environments, e.g. book metaphor

Abstract

A kind of method, apparatus and terminal for exhalation menu setting skin.Methods described includes:When getting the exhalation instruction corresponding to side menu, side menu is shown, side menu includes the first operational controls;After the trigger signal corresponding to the first operational controls is got, show that skin sets interface, skin sets interface to include the preview graph of at least one skin picture and at least one edit control, the parameter of a dimension of each edit control for adjusting skin picture;Obtain the selection signal corresponding to targets preview figure;Purported skin picture corresponding to targets preview figure is applied to side menu.In embodiments of the present invention, there is provided the function of side menu setting and replacing skin for terminal so that user is capable of the Show Styles of self-defined side menu, enriches the Show Styles of side menu.

Description

To breathe out the method, apparatus and terminal of menu setting skin
Technical field
The present embodiments relate to field of terminal technology, and more particularly to a kind of is method, the dress for breathing out menu setting skin Put and terminal.
Background technology
Interface skin (hereinafter referred to as " skin ") refers to the Show Styles of the background content at interface, in actual applications, can So that a pictures are arranged into interface skin, to meet the individual demand of user.
In the related art, there is provided the main interface of desktop, application program to terminal, other functions circle of application program The skin in face carries out the function of self-defined setting and replacing.But the Show Styles of informing is more single.
The content of the invention
The embodiments of the invention provide a kind of method, apparatus and terminal for exhalation menu setting skin, to solve phase The problem of Show Styles of informing is excessively single in the technology of pass.The technical scheme is as follows:
First aspect, there is provided a kind of method for exhalation menu setting skin, methods described include:
When getting the exhalation instruction corresponding to side menu, the side menu is shown, is wrapped in the side menu Include the first operational controls;
After the trigger signal corresponding to first operational controls is got, display skin sets interface, the skin Skin sets that interface includes the preview graph of at least one skin picture and at least one edit control, each edit control are used for Adjust the parameter of a dimension of the skin picture;
Obtain the selection signal corresponding to targets preview figure;
Purported skin picture corresponding to the targets preview figure is applied to the side menu.
Second aspect, there is provided a kind of device for exhalation menu setting skin, described device include:
First display module, for when getting the exhalation instruction corresponding to side menu, showing the side menu, The side menu includes the first operational controls;
Second display module, for after the trigger signal corresponding to first operational controls is got, showing skin Skin sets interface, and the skin sets interface to include the preview graph of at least one skin picture and at least one edit control, Each edit control is used for the parameter for adjusting a dimension of the skin picture;
First acquisition module, for obtaining the selection signal corresponding to targets preview figure;
Application module, for purported skin picture corresponding to the targets preview figure to be applied into the side menu.
The third aspect, there is provided a kind of terminal, the terminal include processor and memory, be stored with the memory At least one instruction, at least one section of program, code set or instruction set, at least one instruction, at least one section of program, the institute State code set or instruction set loaded by the processor and performed with realize as described in relation to the first aspect for breathe out menu setting skin The method of skin.
Fourth aspect, there is provided a kind of computer-readable recording medium, be stored with the computer-readable recording medium At least one instruction, at least one section of program, code set or instruction set, at least one instruction, at least one section of program, the institute State code set or instruction set loaded by processor and performed with realize as described in relation to the first aspect for exhalation menu setting skin Method.
5th aspect, there is provided a kind of computer program product, when the computer program product is performed, it is used to hold The method for exhalation menu setting skin described in the above-mentioned first aspect of row.
Technical scheme provided in an embodiment of the present invention can bring following beneficial effect:
The embodiments of the invention provide the side menu setting for terminal and the function of replacing skin so that user can be certainly The Show Styles of side menu is defined, enriches the Show Styles of side menu.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, make required in being described below to embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is the flow chart for the method for exhalation menu setting skin that one embodiment of the invention provides;
Fig. 2 is the interface schematic diagram involved by Fig. 1 embodiments;
Fig. 3 is the flow chart for the method for exhalation menu setting skin that another embodiment of the present invention provides;
Fig. 4 is the interface schematic diagram involved by Fig. 3 embodiments;
Fig. 5 is the flow chart of the preview graph for the local skin picture of generation that one embodiment of the invention provides;
Fig. 6 is the interface schematic diagram involved by Fig. 5 embodiments;
Fig. 7 is the flow chart of the preview graph for the generation network skin picture that one embodiment of the invention provides;
Fig. 8 is the block diagram for the device for exhalation menu setting skin that one embodiment of the invention provides;
Fig. 9 is the block diagram for the terminal that one embodiment of the invention provides.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
In embodiments of the present invention, there is provided the function of side menu setting and replacing skin for terminal so that user It is capable of the Show Styles of self-defined side menu, enriches the Show Styles of side menu.Side menu refers to exhale from screen side Go out the user interface (User Interface, UI) of display, because side menu can generally be shown by exhalation, therefore side dish It is single to be also referred to as " exhalation menu ".Side menu by exhalation after being shown, Overlapping display is in screen generally in the form of floating window Current display interface upper strata.Side menu can include the informing or menu bar from the drop-down display of screen top edge, The informing or menu bar for pulling display to the right from screen left side edge can also be included, can also be included from screen right edge Edge pulls the informing or menu bar of display, and informing or menu bar from the pull-up display of screen lower edge to the left. Wherein, informing refers to for showing short message, incoming call, the user interface using announcement informations such as PUSH message, mails, Menu bar refers to be used to show the functions such as wireless network switch control, brightness regulation control, camera control, flashlight control The user interface of control.
Method provided in an embodiment of the present invention, the executive agent of each step is terminal.Alternatively, it is provided with and is used in terminal The application program for the skin for setting and changing side menu is realized, the executive agent of each step can also be the application program.Separately Outside, above-mentioned terminal can be mobile phone, it is tablet personal computer, E-book reader, multimedia play equipment, wearable device, on knee The electronic equipments such as pocket computer.For convenience of description, it is eventually only with the executive agent of each step in following embodiments of the method Explanation is introduced exemplified by end, but does not form restriction to this.
Fig. 1 is refer to, the stream of the method for exhalation menu setting skin provided it illustrates one embodiment of the invention Cheng Tu.This method can include the following steps.
Step 101, when getting the exhalation instruction corresponding to side menu, side menu is shown.
Exhalation instruction, which is used to trigger, shows side menu.Exemplarily, when informing of the side menu for drop-down display, Exhalation instruction is the pulling operation performed since screen top edge.In actual applications, side menu is shown for triggering The way of realization of exhalation instruction can be slide, clicking operation, pressing operation, voice signal etc., the embodiment of the present invention This is not construed as limiting.
Side menu includes the first operational controls.First operational controls, which are used to trigger, shows that skin sets interface.First Operational controls can be button (button) control.With reference to reference to figure 2, it illustrates a kind of signal of side menu 21 Figure, side menu 21 include the first operational controls 211.
Step 102, after the trigger signal corresponding to the first operational controls is got, display skin sets interface.
Skin sets interface to be used for the skin of opposite side menu and is configured.For example, change skin picture, change skin figure The brightness of piece, the fuzziness for changing skin picture, etc..Wherein, skin picture refers to the skin that can be arranged to side menu Picture.
Skin setting interface includes the preview graph of at least one skin picture.The preview of above-mentioned at least one skin picture Figure includes:An at least anticipatory remark skin picture preview graph, and/or, at least one preview graph for throwing the net network skin picture.Wherein, Local skin picture refers to the skin picture selected from the photograph album of terminal local.Network skin picture refers to the service from high in the clouds The skin picture of acquisition is downloaded in device.The generating mode of preview graph about skin picture, explanation will be introduced below.
Skin, which is set, also includes at least one edit control in interface, each edit control is used to adjust skin picture The parameter of one dimension.For example, above-mentioned at least one edit control includes the first edit control and/or the second edit control, the One edit control is used for the brightness for adjusting skin picture, and the second edit control is used for the fuzziness for adjusting skin picture.In reality In, above-mentioned at least one edit control can also include following at least one:For adjusting the contrast of skin picture Edit control, the edit control of background blurring degree for adjusting skin picture, the color saturation for adjusting skin picture Edit control of degree etc., the embodiment of the present invention are not construed as limiting to this.In embodiments of the present invention, edit control can be slided Control or input frame, or the operational controls of other any form of parameters that can change skin picture.Example Such as, edit control is slides control, and sliding control includes slider bar and the sliding block slided on the slider bar, it is assumed that the editor is controlled Part is used to adjust the brightness of skin picture, then when user's adjusting slider position on the slider bar, the brightness of skin picture Change therewith.For another example edit control is input frame, it is assumed that the edit control is used for the fuzziness for adjusting skin picture, user In input frame input 0-100 between any number, now the fuzziness of skin picture also change therewith.
Alternatively, skin, which is set, also includes the second operational controls in interface, the second operational controls, which are used to trigger, shows photograph album Just list, album picture list are used to show album picture, and user can select album picture in album picture list, make For the skin picture applied to side menu.Album picture refers to the picture stored in the photograph album application of terminal.
Alternatively, skin, which is set, also includes the 3rd operational controls in interface, the 3rd operational controls, which are used to trigger, completes offside The setting of the skin picture of side menu.
With reference to reference to figure 2, user clicks on the first operational controls 211 in side menu 21, and terminal corresponds to getting After the trigger signal of first operational controls 211, display skin sets interface 22, and skin sets interface 22 to include at least one The preview graph 221 of skin picture, the second operational controls 222 and the 3rd operational controls 223.
Step 103, the selection signal corresponding to targets preview figure is obtained.
Targets preview figure is any one preview graph of selection in the preview graph that user sets shown by interface from skin. As shown in Fig. 2 terminal is after the selection signal (such as click signal) corresponding to preview graph 221a is got, by preview graph 221a It is defined as targets preview figure.
Step 104, purported skin picture corresponding to targets preview figure is applied to side menu.
Alternatively, terminal is corresponding by targets preview figure after the trigger signal corresponding to the 3rd operational controls is got Purported skin picture be applied to side menu.
Alternatively, terminal is set on interface after the trigger signal corresponding to the 3rd operational controls is got in skin Layer Overlapping display dermal application interface, dermal application interface include prompt message and progress bar, and the prompt message is used to indicate Purported skin picture is applied to side menu, progress bar is used to indicate the progress for handling purported skin picture. After being completed to purported skin picture processing, side menu is shown, the skin of the side menu is the mesh after above-mentioned processing Mark skin picture.
Alternatively, step 104 includes following several sub-steps.
Step 104a, purported skin picture is adjusted to be adapted to skin picture with what side menu was adapted;
Alternatively, the size adjusting of purported skin picture is obtained being adapted to skin figure extremely with side menu identical size Piece.
Step 104b, preset interface is called to be stored in specified path by skin picture is adapted to;
Preset interface can be application programming interface (Application Programming Interface, API), the preset interface is used to adaptation skin picture being stored in specified path.The specified path refers to set in advance be used for The store path of the current adaptation skin picture to be applied of storage.
Preset interface can be provided by terminal operating system, can also be set and more side change by the realization that is used for described above The application program of the skin of side menu provides.If the preset interface is provided by operating system, when the version of operating system changes During change, the preset interface that the operating system provides can also change, and cause opposite side menu to carry out needing to fit again when changing skin The preset interface provided with the operating system after renewal.If preset interface is provided by above-mentioned application program, in the behaviour of terminal When making the version of system and changing, without being adapted to preset interface again.
Step 104c, sent to side menu process and restart notice, to cause side menu process to restart notice in basis After restarting, adaptation skin picture is obtained from specified path, then loaded and displayed is adapted to skin picture in the menu of side.
Restart notice to be used to indicate side menu process restarting.Side menu process is during restarting from above-mentioned Specified path reads adaptation skin picture, and is adapted to skin picture in side menu loaded and displayed, finally realizes opposite side menu Skin be updated.
With reference to reference to figure 2, after user clicks on the 3rd operational controls 223, terminal is got corresponding to the 3rd operational controls 223 trigger signal, terminal set the upper strata Overlapping display dermal application interface 23 at interface 22, dermal application interface 23 in skin Include prompt message 231 and progress bar 232, when the progress that progress bar 232 indicates reaches 100%, terminal redirects display side Side menu 21, now purported skin picture corresponding to targets preview Figure 22 1a be applied successfully to side menu 21.
Method provided in an embodiment of the present invention, there is provided the function of side menu setting and replacing skin for terminal, make The Show Styles that user is capable of self-defined side menu is obtained, enriches the Show Styles of side menu.
Fig. 3 is refer to, the method for exhalation menu setting skin provided it illustrates another embodiment of the present invention Flow chart.This method can include the following steps.
Step 301, when getting the exhalation instruction corresponding to side menu, side menu is shown.
Step 301 is identical with the step 101 in Fig. 1 embodiments, illustrates referring to the introduction in Fig. 1 embodiments, the present embodiment This is repeated no more.
Step 302, after the trigger signal corresponding to the first operational controls is got, display skin sets interface.
Step 302 is identical with the step 102 in Fig. 1 embodiments, illustrates referring to the introduction in Fig. 1 embodiments, the present embodiment This is repeated no more.
Unlike Fig. 1 embodiments, in the present embodiment, skin, which is set, also includes the first edit control and the in interface Two edit controls.First edit control is used for the brightness for adjusting purported skin picture corresponding to targets preview figure, second editor's control Part is used for the fuzziness for adjusting purported skin picture corresponding to targets preview figure.In embodiments of the present invention, using edit control as Illustrated exemplified by slip control, the first edit control namely the first slip control, the second edit control namely the second slip control Part.
As shown in figure 4, user clicks on the first operational controls 411 in side menu 41, terminal is being got corresponding to the After the trigger signal of one operational controls 411, display skin sets interface 42.Skin sets interface 42 to include an at least skin The preview graph 421 of skin picture, the second operational controls 422 and the 3rd operational controls 423.Relevant preview graph 421, the second operational controls 422 and the 3rd operational controls 423 introduction explanation this is repeated no more referring to Fig. 1 embodiments, the present embodiment.As shown in figure 4, skin Skin, which is set, also includes the first slip slip control 425 of control 424 and second in interface 42.First, which slides control 424, includes first Slider bar 424a and the first sliding block 424b slided on the first slider bar 424a, slided by adjusting the first sliding block 424b first Position on dynamic bar 424a, you can the brightness of regulation purported skin picture.Second slip control 425 includes the second slider bar 425a With the second sliding block 425b slided on the second slider bar 425a, by adjust the second sliding block 425b on the second slider bar 425a Position, you can regulation purported skin picture fuzziness.
Alternatively, skin, which is set, also includes the preview window in interface, the preview window is used to show targets preview figure pair The purported skin picture answered is applied to the display effect during menu of side.Also include in advance as shown in figure 4, skin is set in interface 42 Look at window 426.During the slip control 425 of control 424 and/or second is slided in user's regulation first, the meeting of the preview window 426 Show the display effect after brightness and/or fuzziness regulation in real time.
Step 303, the selection signal corresponding to targets preview figure is obtained.
Targets preview figure is any one preview graph of selection in the preview graph that user sets shown by interface from skin. As shown in figure 4, terminal is after the selection signal (such as click signal) corresponding to preview graph 421a is got, by preview graph 421a It is defined as targets preview figure.
Step 304, purported skin picture corresponding to targets preview figure or targets preview figure is zoomed in and out, generated and pre- The window skin picture that window of looking at is adapted.
The window skin picture being adapted with the preview window refers to the size of the window skin picture and the chi of the preview window It is very little identical.In one example, because the size of targets preview figure is typically smaller than the size of the preview window, therefore to targets preview Figure is amplified, and obtains adapting to the window skin picture of the preview window.In another example, due to purported skin picture Size is typically larger than the size of the preview window, therefore purported skin picture is reduced, and obtains adapting to the window of the preview window Mouth skin picture.Obtained after being compressed due to targets preview figure to purported skin picture, the resolution ratio of targets preview figure It is smaller, therefore when being amplified to obtain window skin picture to targets preview figure, the process resource consumed is relatively fewer.
In addition, window skin picture is bitmap images (bitmap).Bitmap images are also known as dot matrix image or drawing image, It is made up of a single point for being referred to as pixel (picture element).These points can carry out different arrangements and dyeing with pie graph Picture.Bitmap images are editable images, can also align the pattern of the point included in figure image (such as color, Alpha passages Value, transparency etc.) it is modified.
Step 305, copy window skin picture, and the window skin picture obtained according to default blur radius to duplication enters Row Fuzzy Processing, obtain full blurred picture.
In embodiments of the present invention, algorithm is not construed as limiting used by carrying out Fuzzy Processing to picture, such as Gaussian Blur Algorithm.So-called Fuzzy Processing, it is possible to understand that the average value of neighboring pixel is taken into each pixel.Fuzzy place is being carried out to picture , it is necessary to which the parameter used is blur radius during reason.Blur radius can be 1 pixel, 2 pixels, 3 pixels, etc.. Correlation between the fuzziness and blur radius of image, that is, blur radius is bigger, the picture after Fuzzy Processing is got over It is fuzzy.Alternatively, default blur radius is blur radius corresponding to maximum fuzziness that skin picture can reach.Maximum is fuzzy The corresponding blur radius of degree can be preset, such as 50 pixels.
Alternatively, after copy window skin picture, using Gaussian Blur algorithm according to default blur radius to replicating Obtained window skin picture carries out Fuzzy Processing, obtains full blurred picture.Similarly, full blurred picture is also bitmap images.
Step 306, side menu picture, window skin picture and full blurred picture are shown in the preview window.
Side menu picture is used to show whole interface elements in the menu of side.The size of side menu picture and preview The size of window is also identical.The transparency of other parts in the menu picture of side in addition to the interface element of side menu is complete It is transparent.Similarly, side menu picture is also bitmap images.Side menu picture can be pre-designed by person skilled, And it is stored in terminal.
Side menu picture, window skin picture and full blurred picture are completely overlapped, and side menu picture is positioned at most upper Layer, window skin picture are located at the lower floor of template picture, and full blurred picture is located at the lower floor of window skin picture.Pass through above-mentioned side Formula, realize that display when purported skin picture corresponding to targets preview figure to be applied to side menu for displaying in the preview window is imitated Fruit.
In addition, in embodiments of the present invention, the process of the first edit control and/or the second edit control is adjusted in user In, by changing the transparency of window skin picture and full blurred picture in real time, to show brightness and/or fuzziness in real time Display effect after regulation.Below, step 307 to 310 pairs of window skin pictures and the tune of the transparency of full blurred picture is passed through Explanation is introduced in section process.
Step 307, obtain and act on the first Regulate signal of the first edit control and/or act on the second edit control Second Regulate signal.
First Regulate signal acts on the first edit control, to realize that the brightness to skin picture is adjusted;Second adjusts Signal function is saved in the second edit control, the fuzziness of skin picture is adjusted with realizing.
Control is slided by first shown in embodiment illustrated in fig. 4 of the first edit control, the second edit control is shown in Fig. 4 Exemplified by implement to exemplify second slides control, the first Regulate signal is used to adjust position of first sliding block on the first slider bar Put, the second Regulate signal is used to adjust position of second sliding block on the second slider bar.First Regulate signal and the second regulation letter Number can be on a terminal screen by slip signals caused by slide.In other possible examples, if first compiles It is the first input frame to collect control, and the second edit control is the second input frame, and the first Regulate signal and the second Regulate signal can also It is on a terminal screen by input signal caused by input operation.
Step 308, the second regulation corresponding to the first regulated value corresponding to the first edit control and the second edit control is obtained Value.
First regulated value refers to that terminal gets the first edit control after the first Regulate signal and/or the second Regulate signal Corresponding numerical value;Second regulated value refers to that terminal gets the second editor after the first Regulate signal and/or the second Regulate signal Numerical value corresponding to control.Below control, second editor's control are slided by first shown in embodiment illustrated in fig. 4 of the first edit control Exemplified by part slides control for second shown in embodiment illustrated in fig. 4, the first regulated value and the second regulated value are illustrated.
First regulated value is that the distance between the original position of the first sliding block and the first slider bar is total with the first slider bar The ratio of length.For example, the distance between original position of the first sliding block and the first slider bar is 3 centimetres, the first slider bar Total length is 6 centimetres, and now the first regulated value is 0.5.Second regulated value is the original position of the second sliding block and the second slider bar The distance between ratio with the total length of the second slider bar.For example, between the original position of the second sliding block and the second slider bar Distance be 2.5 centimetres, the total length of the second slider bar is 6 centimetres, and now the second regulated value is 0.42.
In other possible examples, if the first edit control is the first input frame, the second edit control is the second input Frame, then the first regulated value is the numerical value that terminal is shown in the first input frame, and the second regulated value is that terminal shows in the second input frame The numerical value shown.
Step 309, according to the value of default Alpha passages, the first regulated value and the second regulated value, first is calculated respectively The value of the value of Alpha passages and the 2nd Alpha passages.
Alpha passages are the passages for being used to represent gray scale in ARGB color modes, and the passage records figure with 256 grades of gray scales Transparence information as in.The span of the value of Alpha passages is [0,255].Wherein, the value for presetting Alpha passages can be with It is the maximum that Alpha passages can take, namely 255.In embodiments of the present invention, by adjusting window skin picture and full mould The value of the Alpha passages of picture is pasted, to realize the displaying of the display effect after brightness and/or fuzziness are adjusted.
Specifically, it is assumed that the first regulated value is p1, and the second regulated value is p2, then the first Alpha passages value α1It can lead to Equation below is crossed to be calculated:
α1=p1- (1-p1) * p2;
The value α of 2nd Alpha passages2It can be calculated using equation below:
α2=p1+ (1-p1) * p2.
For example, the first regulated value is 50%, the second regulated value is 0, according to α is calculated1And α2It is 50%.For another example First regulated value is 50%, and the second regulated value is 60%, according to α is calculated1And α2Respectively 20% and 80%.
The value of above-mentioned first Alpha passages is applied to window skin picture, and the value of the 2nd Alpha passages is applied to complete obscure Picture.
Step 310, the value of the Alpha passages of window skin picture is adjusted to the value of the first Alpha passages, will be obscured entirely The value of the Alpha passages of picture is adjusted to the value of the 2nd Alpha passages.
In embodiments of the present invention, generation and Overlapping display window skin picture and full fuzzy graph in the preview window are passed through Piece, and during user adjusts the first edit control and/or the second edit control, the Alpha of above-mentioned two pictures is led to The value in road is adjusted, with the display effect after analoging brightness and fuzziness regulation.Due to being carried out according to blur radius to picture The process of Fuzzy Processing is complex, and it needs to consume more time and process resource, therefore can either using aforesaid way Allow user to experience the display effect after fuzziness regulation from sense organ, process resource can be saved again, and can be more timely The display effect after regulation is presented in ground.
Step 311, after getting and being provided with instruction, according to the value of default Alpha passages and the first regulated value meter The value of the 3rd Alpha passages is calculated, and the blur radius after regulation is calculated according to default blur radius and the second regulated value.
The skin setting that instruction is provided with for instruction user opposite side menu has been completed.For example, user's selection target Preview graph, and after brightness and/or fuzziness are adjusted, triggering is provided with instruction.Alternatively, as shown in figure 4, user Click on the triggering of the 3rd operational controls 425 and be provided with instruction, correspondingly, terminal corresponds to the 3rd operational controls 425 getting Trigger signal after, that is, get and be provided with instruction.
After getting and being provided with instruction, terminal veritably enter by the brightness to purported skin picture and/or transparency Row regulation.Alternatively, the value of the 3rd Alpha passages is the value of default Alpha passages and the product of the first regulated value, for example, in advance If the value of Alpha passages is 255, the first regulated value is 0.5, then the value of the 3rd Alpha passages is 127.Alternatively, after regulation Blur radius be default blur radius and the second regulated value product.For example, default blur radius is 50 pixels, the second regulation It is worth for 0.2, then the blur radius after adjusting is 10 pixels.
In addition, after step 311,312 and 313 can be performed successively, and step 316 is performed after step 313; 314 and 315 can be performed successively, and step 316 is performed after step 315.
Step 312, the value of the Alpha passages of purported skin picture is adjusted to the value of the 3rd Alpha passages, obtains first Intermediate picture.
Step 313, Fuzzy Processing, the mesh after being handled are carried out to the first intermediate picture according to the blur radius after regulation Mark skin picture.
Step 314, Fuzzy Processing is carried out to purported skin picture according to the blur radius after regulation, obtains the second middle graph Piece.
Step 315, the value of the Alpha passages of the second intermediate picture is adjusted to the value of the 3rd Alpha passages, handled Purported skin picture afterwards.
In the first possible implementation, such as above-mentioned step 312 and step 313, terminal first carry out brightness regulation, and Fuzziness regulation is carried out afterwards.In second of possible implementation, such as above-mentioned step 314 and step 315, terminal first carry out mould Paste degree is adjusted, and then carries out brightness regulation.
Wherein, brightness regulation is what is realized by changing the value of Alpha passages.Between the value and brightness value of Alpha passages In the presence of one-to-one mapping relations, that is, change brightness value can be equal to by changing the value of Alpha passages.Fuzziness is adjusted Fuzzy Processing realization can be carried out to purported skin picture according to the blur radius after regulation by using Gaussian Blur algorithm.
Step 316, the purported skin picture after processing is applied to side menu.
Alternatively, the purported skin picture after processing is adjusted to be adapted to skin figure with what side menu was adapted by terminal Piece, call preset interface to be stored in specified path by skin picture is adapted to, sent to side menu process and restart notice, to cause Side menu process obtains adaptation skin picture, then in side dish according to restarting after notice restarts from specified path Loaded and displayed is adapted to skin picture in list.Introduction explanation about this step can be found in Jie that step 104 is directed in Fig. 1 embodiments Continue explanation, and the present embodiment repeats no more to this.
With reference to reference to figure 4, after user clicks on the 3rd operational controls 423, terminal is got corresponding to the 3rd operational controls 423 trigger signal, terminal set the upper strata Overlapping display dermal application interface 43 at interface 42, dermal application interface 43 in skin Include prompt message 431 and progress bar 432, when the progress that progress bar 432 indicates reaches 100%, terminal redirects display side Side menu 41, now purported skin picture corresponding to targets preview Figure 42 1a be applied successfully to side menu 41.
Method provided in an embodiment of the present invention, there is provided the function of side menu setting and replacing skin for terminal, make The Show Styles that user is capable of self-defined side menu is obtained, enriches the Show Styles of side menu.
In addition, in embodiments of the present invention, additionally provide the Show Styles such as the brightness to skin picture, fuzziness and carry out certainly The function of setting is defined, so as to preferably meet the individual demand of user.
In addition, in embodiments of the present invention, also by showing the preview window in setting interface in skin, user can be made more For the display effect being perceive intuitively that when purported skin picture to be applied to side menu.
In addition, in embodiments of the present invention, also by generation and in the preview window Overlapping display window skin picture and Full blurred picture, and during user adjusts the first edit control and/or the second edit control, to above-mentioned two pictures The value of Alpha passages is adjusted,, can either using aforesaid way with the display effect after analoging brightness and fuzziness regulation Allow user to experience the display effect after fuzziness regulation from sense organ, process resource can be saved again, and can be more timely The display effect after regulation is presented in ground.
Following examples are used to explanation be introduced to the generating process of the preview graph of local skin picture.As shown in figure 5, The generating process includes the following steps.
Step 501, after getting corresponding to the trigger signal of the second operational controls in skin setting interface, display Album picture list.
Alternatively, the picture of terminal local storage is included in album picture list.Album picture list includes at least one Open album picture.Album picture list can be one or multiple.Terminal is being got corresponding to skin setting interface In the second operational controls trigger signal after, call photograph album application, show album picture list.
Step 502, after the selection signal of the target album picture in getting corresponding to album picture list, by mesh Album picture is marked as local skin picture, and generates the preview graph of local skin picture.
Target album picture is the album picture of user's selection.Target album picture can be one or multiple. It should be noted that when if album picture list is multiple, the first selection target picture in multiple album picture lists is needed List, then the selection target album picture from Target Photo list.
Terminal is handled local skin picture after local skin picture is got, and obtains local skin picture Preview graph, and above-mentioned preview graph is preserved into default store path.It should be noted that the store path may store The quantity of picture be not more than default value, the quantity of the picture stored in the store path reaches the situation of default value Under, if desired continue to add picture, then delete the picture stored at first in the store path.Default value can be according to reality Demand is preset, such as 10.
Processing of the client to local skin picture can include compression processing, size conversion, conversion of resolution etc..Its In, algorithm can be the compression algorithm based on neutral net, JPEG (Joint Photographic used by compression is handled Experts Group, Joint Photographic Experts Group) compression algorithm etc., the embodiment of the present invention is not construed as limiting to this.Size conversion Refer to the size of the size conversion of local skin picture to preview graph, can be by being carried out to the size of local skin picture etc. Proportional zoom obtains.Conversion of resolution refers to the resolution ratio of the conversion of resolution of local skin picture to preview graph.
Step 503, redirect display skin and interface is set, the local skin picture of addition display is pre- in skin sets interface Look at figure.
Alternatively, the upper strata of album picture list is shown for triggering the operation control for completing to select local skin picture Part, terminal redirect display skin and set interface, now skin after the trigger signal corresponding to aforesaid operations control is got The preview graph that local skin picture is shown in interface is set.
With reference to reference to figure 6, it illustrates select local skin figure shown in the embodiment of the present invention from photograph album just list The interface schematic diagram of piece.Skin sets interface 62 to include the second operational controls 622, the second operational controls 622 of user's triggering it Afterwards, terminal redirects display album picture list 60, and album picture list 60 includes being used for the operational controls 601 for indicating that selection is completed An at least album picture 602, user selects target album picture 603 in an at least album picture 602, and clicks on Aforesaid operations control 601, now terminal jump to skin set interface 62, skin set interface 62 include according to target photograph album The preview graph 628 for the local skin picture that picture 603 generates.
In summary, method provided in an embodiment of the present invention, can be using the album picture in local photograph album as being applied to The skin picture of side menu, there is provided be more applied to the selection of the skin picture of side menu to user, meet of user Property demand.
Following examples are used to explanation be introduced to the generating process of the preview graph of network skin picture.As shown in fig. 7, The generating process includes following several steps.
Step 701, skin list is obtained from server.
Skin list includes at least one mark and download address for throwing the net network skin picture.The mark of network skin picture is used In unique mark network skin picture.Alternatively, the type of the mark of network skin picture is " int ".Alternatively, network skin The download address of picture be URL corresponding to the network skin picture (Uniform Resource Locator, URL).Alternatively, the type of the download address of network skin picture is " string ".
Alternatively, at least one configuration information for throwing the net network skin picture is also included in skin list.Can be with configuration information MD5 (Message-Digest Algorithm 5, message digest algorithm the 5th edition) including network skin picture, for indicating Whether the parameter of outside small red dot configuration is shown, for the parameter of display alarm label, for indicating the excellent of network skin picture The parameter of first level, the parameter of entry-into-force time section for indicating network skin picture etc., the embodiment of the present invention is not limited this It is fixed.
Alternatively, the MD5 of network skin picture is encrypted to obtain by server to time value, and time value is that server obtains Take the time of the network skin picture.Terminal can carry out school by the MD5 of network skin picture to the source of network skin picture Test, for example, the MD5 of terminal-pair network skin picture is decrypted, if can decrypt, source is legal, if can not decrypt, source It is illegal.In addition, for same network skin picture of throwing the net, if MD5 is different, illustrate that the network skin picture has updated.It is optional Ground, the MD5 of network skin picture type is " string ".
When being used to indicate whether to show that the parameter that outside small red dot configures refers to that terminal receives new skin list, if Small red dot is shown on the upper strata of the first operational controls, to remind user new skin list to be present, and then guides user's opposite side Menu carries out changing skin operation.Alternatively, the type for being used to indicate whether to show the parameter of outside small red dot configuration is " int ".
Parameter for display alarm label, which is used to set skin picture, reminds label, reminds label to be used to indicate the net Network skin picture is the skin picture newly obtained.For example, the duration that terminal obtains the network picture is less than preset duration, then it is this Network skin picture, which is set, reminds label.Alternatively, the type for the parameter of display alarm label is " int ".
Alternatively, server determines the priority of network skin picture according to the effective time of network skin picture, and raw Into the parameter of the priority for indicating network skin picture.Alternatively, the priority of network skin picture is used to indicate network Skin picture sets putting in order for interface in skin.Type for the parameter for the priority for indicating network skin picture is “int”。
Alternatively, server determines the entry-into-force time section of network skin picture of often throwing the net, and generates for indicating network skin The parameter of the entry-into-force time section of picture.Subsequent terminal send for ask download the network skin picture skin download request it Before, first detect whether current time is in the entry-into-force time section of network skin picture, if in above-mentioned entry-into-force time section, Skin download request is sent, if being not in above-mentioned entry-into-force time section, does not send skin download request.Alternatively, for referring to The type for showing the entry-into-force time section of network skin picture is " string ".
Terminal obtains the mode of skin list, including active obtaining mode and passive acquisition modes from server.Actively obtain Mode is taken to refer to terminal actively from server acquisition request skin list.Passive acquisition modes refer to server every preset time It is spaced to terminal and sends skin list.
Step 702, skin download request is sent to server according to the download address of network skin picture.
Skin download request is used to ask network skin picture being downloaded to terminal local from server.Skin download request The middle mark for carrying network skin picture.One skin download request, which can be used for request, to be downloaded one and throws the net network skin picture, It can ask to download multiple network skin pictures.
Alternatively, terminal sends skin after the trigger signal corresponding to the first operational controls is got to server Download request.
Correspondingly, the skin download request that server receiving terminal is sent, and according to the net carried in skin download request The mark of network skin picture returns to corresponding network skin picture to client.
Step 703, the network skin picture that the reception server is sent.
Step 704, the preview graph of network skin picture is generated.
The mode of the preview graph of terminal generation network skin picture and the preview of the local skin picture of generation described above The mode of figure is identical, sees above introduction explanation, and the present embodiment repeats no more to this.Then, terminal is by network skin picture Preview graph and network skin picture are preserved into default store path.The store path is with preserving the pre- of local skin picture Looking at the store path of figure can be with identical, can also be different.
Step 705, addition shows the preview graph of network skin picture in skin sets interface.
In summary, method provided in an embodiment of the present invention, the skin applied to side menu can be obtained from server Skin picture, there is provided be more applied to the selection of the skin picture of side menu to user, meet the individual demand of user.
Following is apparatus of the present invention embodiment, can be used for performing the inventive method embodiment.It is real for apparatus of the present invention The details not disclosed in example is applied, refer to the inventive method embodiment.
Fig. 8 is refer to, the frame of the device for exhalation menu setting skin provided it illustrates one embodiment of the invention Figure.The device has the function of realizing above method example, and the function can be realized by hardware, can also perform phase by hardware The software answered is realized.The device can include:First display module 801, the second display module 802, the and of the first acquisition module 803 Application module 804.
First display module 801, for when getting the exhalation instruction corresponding to side menu, showing the side dish Single, the side menu includes the first operational controls.
Second display module 802, for after the trigger signal corresponding to first operational controls is got, showing Skin sets interface, and the skin sets that interface includes the preview graph of at least one skin picture and at least one editor is controlled Part, each edit control are used for the parameter for adjusting a dimension of the skin picture.
First acquisition module 803, for obtaining the selection signal corresponding to targets preview figure.
Application module 804, for purported skin picture corresponding to the targets preview figure to be applied into the side menu.
Alternatively, the skin, which is set, also includes the first edit control and the second edit control in interface, described first compiles The brightness that control is used to adjust the purported skin picture is collected, second edit control is used to adjust the purported skin picture Fuzziness.
Alternatively, the skin, which is set, also includes the preview window in interface, described the preview window is used to show the mesh Purported skin picture corresponding to mark preview graph is applied to the display effect during side menu.
Alternatively, described device also includes:First generation module, picture processing module and the 3rd display module are (in figure not Show).
First generation module, for being zoomed in and out to the targets preview figure or the purported skin picture, generation with The window skin picture that described the preview window is adapted.
Picture processing module, for replicating the window skin picture, and using Gaussian Blur algorithm according to default fuzzy Radius carries out Fuzzy Processing to the window skin picture that duplication obtains, and obtains full blurred picture.
3rd display module, for shown in described the preview window side menu picture, the window skin picture and The full blurred picture.
Alternatively, described device also includes:Second acquisition module, regulated value acquisition module, the first computing module and first Adjusting module (not shown)
Second acquisition module, the first Regulate signal of first edit control is acted on for obtaining and/or is acted on Second Regulate signal of second edit control.
Regulated value acquisition module, it is corresponding for obtaining the first regulated value corresponding to the first edit control and the second edit control The second regulated value.
First computing module, for the value according to default Alpha's Alpha passages, first regulated value and described second Regulated value, the value of the first Alpha passages and the value of the 2nd Alpha passages are calculated respectively.
First adjusting module, for the value of the Alpha passages of the window skin picture to be adjusted into the first Alpha The value of passage, the value of the Alpha passages of the full blurred picture is adjusted to the value of the 2nd Alpha passages.
Alternatively, described device also includes:Second computing module and the second adjusting module (not shown).
Second computing module, for after getting and being provided with instruction, according to the value of the default Alpha passages and First regulated value calculates the value of the 3rd Alpha passages, and is calculated and adjusted according to default blur radius and second regulated value Blur radius after section.
Second adjusting module, for the value of the Alpha passages of the purported skin picture to be adjusted into the 3rd Alpha The value of passage, the first intermediate picture is obtained, using Gaussian Blur algorithm according to the blur radius after the regulation to described first Intermediate picture carries out Fuzzy Processing, the purported skin picture after being handled;Or using Gaussian Blur algorithm according to the tune Blur radius after section carries out Fuzzy Processing to the purported skin picture, the second intermediate picture is obtained, among described second The value of the Alpha passages of picture is adjusted to the value of the 3rd Alpha passages, the purported skin picture after being handled;Wherein, Purported skin picture after the processing is applied to the side menu.
Alternatively, described device also includes:4th display module, the second generation module and the first add module are (in figure not Show).
4th display module, for getting the triggering corresponding to the second operational controls in skin setting interface After signal, album picture list is shown, the album picture list includes an at least album picture.
Second generation module, the selection for the target album picture in getting corresponding to the album picture list After signal, using the target album picture as local skin picture, and the preview graph of the local skin picture is generated.
First add module, interface is set for redirecting the display skin, added in the skin sets interface aobvious Show the preview graph of the local skin picture.
Alternatively, described device also includes:List acquisition module, request sending module, picture receiving module, the 3rd generation Module and the second add module (not shown).
List acquisition module, for obtaining skin list from server, the skin list is thrown the net network skin including at least one The mark and download address of skin picture.
Request sending module, sending skin download to the server according to the download address of the network skin picture please Ask, the mark of the network skin picture is carried in the skin download request.
Picture receiving module, the network skin picture sent for receiving the server.
3rd generation module, for generating the preview graph of the network skin picture.
Second add module, the preview of the network skin picture is shown for addition in setting interface in the skin Figure.
Alternatively, the application module 804, is used for:
The purported skin picture is adjusted to be adapted to skin picture with what the side menu was adapted;
Call preset interface that the adaptation skin picture is stored in into specified path;
Sent to side menu process and restart notice, to cause the side menu process restarting notice weight according to After opening, the adaptation skin picture is obtained from the specified path, then in the side menu described in loaded and displayed It is adapted to skin picture.
In summary, device provided in an embodiment of the present invention, there is provided side menu setting and replacing skin for terminal Function so that user is capable of the Show Styles of self-defined side menu, enrich side menu Show Styles.
It should be noted that the device that above-described embodiment provides, when realizing its function, only with above-mentioned each functional module Division for example, in practical application, can be completed as needed and by above-mentioned function distribution by different functional modules, The internal structure of equipment is divided into different functional modules, to complete all or part of function described above.In addition, The apparatus and method embodiment that above-described embodiment provides belongs to same design, and its specific implementation process refers to embodiment of the method, this In repeat no more.
Fig. 9 is refer to, the structural representation of the terminal provided it illustrates one embodiment of the invention.The terminal is used for real The method for exhalation menu setting skin provided in above-described embodiment is provided.Specifically:
Terminal 900 can include RF (Radio Frequency, radio frequency) circuit 910, include one or more meters The memory 920 of calculation machine readable storage medium storing program for executing, input block 930, display unit 940, sensor 950, voicefrequency circuit 960, WiFi (wireless fidelity, Wireless Fidelity) module 970, include one or the processing of more than one processing core The part such as device 980 and power supply 990.It will be understood by those skilled in the art that the terminal structure shown in Fig. 9 is not formed pair The restriction of terminal, it can include than illustrating more or less parts, either combine some parts or different part cloth Put.Wherein:
RF circuits 910 can be used for receive and send messages or communication process in, the reception and transmission of signal, especially, by base station After downlink information receives, transfer to one or more than one processor 980 is handled;In addition, it is sent to up data are related to Base station.Generally, RF circuits 910 include but is not limited to antenna, at least one amplifier, tuner, one or more oscillators, use Family identity module (SIM) card, transceiver, coupler, LNA (Low Noise Amplifier, low-noise amplifier), duplex Device etc..In addition, RF circuits 910 can also be communicated by radio communication with network and other equipment.The radio communication can make With any communication standard or agreement, and including but not limited to GSM (Global System of Mobile communication, entirely Ball mobile communcations system), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short Messaging Service, Short Message Service) etc..
Memory 920 can be used for storage software program and module, and processor 980 is stored in memory 920 by operation Software program and module, so as to perform various function application and data processing.Memory 920 can mainly include storage journey Sequence area and storage data field, wherein, storing program area can storage program area, the application program (ratio needed at least one function Such as sound-playing function, image player function) etc.;Storage data field can store uses created number according to terminal 900 According to (such as voice data, phone directory etc.) etc..In addition, memory 920 can include high-speed random access memory, can also wrap Include nonvolatile memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts. Correspondingly, memory 920 can also include Memory Controller, to provide processor 980 and input block 930 to memory 920 access.
Input block 930 can be used for the numeral or character information for receiving input, and generation is set with user and function Control relevant keyboard, mouse, action bars, optics or the input of trace ball signal.Specifically, input block 930 may include to touch Sensitive surfaces 931 and other input equipments 932.Touch sensitive surface 931 can be touch pad, touch-screen.Except touch sensitive surface 931, Input block 930 can also include other input equipments 932.Specifically, other input equipments 932 can include but is not limited to thing Manage one kind or more in keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. Kind.
Display unit 940 can be used for display by the information of user's input or be supplied to the information and terminal 900 of user Various graphical user interface, these graphical user interface can be made up of figure, text, icon, video and its any combination. Display unit 940 may include display panel 941, optionally, can use LCD (Liquid Crystal Display, liquid crystal Show device), the form such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display panel 941。
Terminal 900 may also include at least one sensor, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient light Light and shade adjust the brightness of display panel 941, proximity transducer can close display panel when terminal 900 is moved in one's ear 941 and/or backlight.As one kind of motion sensor, gravity accelerometer can detect in all directions (generally three Axle) acceleration size, size and the direction of gravity are can detect that when static, available for identification mobile phone posture application (such as Horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;As for The other sensors such as gyroscope that terminal 900 can also configure, barometer, hygrometer, thermometer, infrared ray sensor, herein not Repeat again.
Voicefrequency circuit 960, loudspeaker 961, microphone 962 can provide the COBBAIF between user and terminal 900.Audio Electric signal after the voice data received conversion can be transferred to loudspeaker 961, sound is converted to by loudspeaker 961 by circuit 960 Sound signal exports;On the other hand, the voice signal of collection is converted to electric signal by microphone 962, after being received by voicefrequency circuit 960 Voice data is converted to, then after voice data output processor 980 is handled, through RF circuits 910 to be sent to such as another end End, or voice data is exported to memory 920 further to handle.Voicefrequency circuit 960 is also possible that earphone jack, To provide the communication of peripheral hardware earphone and terminal 900.
WiFi belongs to short range wireless transmission technology, and terminal 900 can help user's transceiver electronicses by WiFi module 970 Mail, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Fig. 9 is shown WiFi module 970, but it is understood that, it is simultaneously not belonging to must be configured into for terminal 900, can exist as needed completely Do not change in the essential scope of invention and omit.
Processor 980 is the control centre of terminal 900, utilizes various interfaces and each portion of connection whole mobile phone Point, by running or performing the software program and/or module that are stored in memory 920, and call and be stored in memory 920 Interior data, the various functions and processing data of terminal 900 are performed, so as to carry out integral monitoring to mobile phone.Optionally, processor 980 may include one or more processing cores;Preferably, processor 980 can integrate application processor and modem processor, Wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor mainly handles nothing Line communicates.It is understood that above-mentioned modem processor can not also be integrated into processor 980.
Terminal 900 also includes the power supply 990 (such as battery) to all parts power supply, it is preferred that power supply can pass through electricity Management system and processor 980 are logically contiguous, so as to realize management charging, electric discharge and power consumption by power-supply management system The functions such as management.Power supply 990 can also include one or more direct current or AC power, recharging system, power supply event The random component such as barrier detection circuit, power supply changeover device or inverter, power supply status indicator.
Although being not shown, terminal 900 can also will not be repeated here including bluetooth module etc..
Specifically in the present embodiment, terminal 900 also includes memory, and at least one instruction, at least one section of program, Code set or instruction set, wherein at least one instruction, at least one section of program, code set or instruction set are stored in memory In, and be configured to by one or more than one computing device, to realize the above-mentioned method for exhalation menu setting skin In each step function.
In the exemplary embodiment, a kind of computer-readable recording medium, the computer-readable storage medium are additionally provided Be stored with least one instruction, at least one section of program, code set or instruction set in matter, at least one instruction, it is described at least One section of program, the code set or instruction set are loaded by the processor of the equipment for exhalation menu setting skin and performed to realize Each step in above method embodiment.Alternatively, above computer readable storage medium storing program for executing can be that ROM, arbitrary access are deposited Reservoir (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc..
In the exemplary embodiment, a kind of computer program product is additionally provided, when the computer program product is performed When, it is used to realize the function of each step in above method embodiment.
It should be appreciated that referenced herein " multiple " refer to two or more."and/or", description association The incidence relation of object, expression may have three kinds of relations, for example, A and/or B, can be represented:Individualism A, while A be present And B, individualism B these three situations.It is a kind of relation of "or" that character "/", which typicallys represent forward-backward correlation object,.Make herein " first ", " second " and similar word are not offered as any order, quantity or importance, and are used only to distinguish Different parts.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
The exemplary embodiment of the present invention is the foregoing is only, is not intended to limit the invention, all spirit in the present invention Within principle, any modification, equivalent substitution and improvements made etc., it should be included in the scope of the protection.

Claims (12)

  1. A kind of 1. method for exhalation menu setting skin, it is characterised in that methods described includes:
    When getting the exhalation instruction corresponding to side menu, the side menu is shown, the side menu includes the One operational controls;
    After the trigger signal corresponding to first operational controls is got, display skin sets interface, and the skin is set Putting interface includes the preview graph of at least one skin picture and at least one edit control, and each edit control is used to adjust The parameter of one dimension of the skin picture;
    Obtain the selection signal corresponding to targets preview figure;
    Purported skin picture corresponding to the targets preview figure is applied to the side menu.
  2. 2. according to the method for claim 1, it is characterised in that at least one edit control includes:First editor's control Part and the second edit control, first edit control are used for the brightness for adjusting the skin picture, second edit control For adjusting the fuzziness of the skin picture.
  3. 3. according to the method for claim 2, it is characterised in that the skin, which is set in interface, also includes the preview window, institute State the preview window be used for show showing when purported skin picture corresponding to the targets preview figure is applied into the side menu Show effect.
  4. 4. according to the method for claim 3, it is characterised in that it is described obtain corresponding to targets preview figure selection signal it Afterwards, in addition to:
    The targets preview figure or the purported skin picture are zoomed in and out, generate the window being adapted with described the preview window Mouth skin picture;
    The window skin picture is replicated, and mould is carried out to the window skin picture that duplication obtains according to default blur radius Paste processing, obtains full blurred picture;
    Side menu picture, the window skin picture and the full blurred picture are shown in described the preview window.
  5. 5. according to the method for claim 4, it is characterised in that described that side menu map is shown in described the preview window After piece, the window skin picture and the full blurred picture, in addition to:
    Obtain the first Regulate signal for acting on first edit control and/or act on the second of second edit control Regulate signal;
    Obtain the second regulated value corresponding to the first regulated value corresponding to first edit control and second edit control;
    According to the value of default Alpha Alpha passages, first regulated value and second regulated value, first is calculated respectively The value of the value of Alpha passages and the 2nd Alpha passages;
    The value of the Alpha passages of the window skin picture is adjusted to the value of the first Alpha passages, will be described complete fuzzy The value of the Alpha passages of picture is adjusted to the value of the 2nd Alpha passages.
  6. 6. according to the method for claim 5, it is characterised in that methods described also includes:
    After getting and being provided with instruction, the is calculated according to the value of the default Alpha passages and first regulated value The value of three Alpha passages, and the blur radius after regulation is calculated according to default blur radius and second regulated value;
    The value of the Alpha passages of the purported skin picture is adjusted to the value of the 3rd Alpha passages, obtained among first Picture, Fuzzy Processing, the target after being handled are carried out to first intermediate picture according to the blur radius after the regulation Skin picture;Or Fuzzy Processing is carried out to the purported skin picture according to the blur radius after the regulation, obtain second Intermediate picture, the value of the Alpha passages of second intermediate picture is adjusted to the value of the 3rd Alpha passages, obtained everywhere Purported skin picture after reason;
    Wherein, the purported skin picture after the processing is applied to the side menu.
  7. 7. according to the method described in any one of claim 1 to 6, it is characterised in that after the display skin sets interface, also Including:
    After getting corresponding to the trigger signal of the second operational controls in skin setting interface, album picture is shown List, the album picture list include an at least album picture;
    After the selection signal of the target album picture in getting corresponding to the album picture list, by the target phase Volume picture generates the preview graph of the local skin picture as local skin picture;
    Redirect the display skin and interface is set, the addition display local skin picture is pre- in the skin sets interface Look at figure.
  8. 8. according to the method described in any one of claim 1 to 6, it is characterised in that methods described also includes:
    From server obtain skin list, the skin list include at least one throw the net network skin picture mark and download ground Location;
    Skin download request is sent to the server according to the download address of the network skin picture, the skin is downloaded please Seek the middle mark for carrying the network skin picture;
    Receive the network skin picture that the server is sent;
    Generate the preview graph of the network skin picture;
    Addition shows the preview graph of the network skin picture in the skin sets interface.
  9. 9. according to the method described in any one of claim 1 to 6, it is characterised in that described by corresponding to the targets preview figure Purported skin picture is applied to the side menu, including:
    The purported skin picture is adjusted to be adapted to skin picture with what the side menu was adapted;
    Call preset interface that the adaptation skin picture is stored in into specified path;
    Sent to side menu process and restart notice, to cause the side menu process to restart notice described in basis and restart it Afterwards, the adaptation skin picture is obtained from the specified path, then the adaptation described in loaded and displayed in the side menu Skin picture.
  10. 10. a kind of device for exhalation menu setting skin, it is characterised in that described device includes:
    First display module, it is described for when getting the exhalation instruction corresponding to side menu, showing the side menu Side menu includes the first operational controls;
    Second display module, for after the trigger signal corresponding to first operational controls is got, display skin to be set Put interface, the skin sets interface to include the preview graph of at least one skin picture and at least one edit control, each Individual edit control is used for the parameter for adjusting a dimension of the skin picture;
    First acquisition module, for obtaining the selection signal corresponding to targets preview figure;
    Dermal application module, for purported skin picture corresponding to the targets preview figure to be applied into the side menu.
  11. 11. a kind of terminal, it is characterised in that the terminal includes processor and memory, is stored with least in the memory One instruction, at least one section of program, code set or instruction set, at least one instruction, at least one section of program, the generation Code collection or instruction set loaded as the processor and performed with realize as described in any one of claim 1 to 9 for exhalation menu The method that skin is set.
  12. 12. a kind of computer-readable recording medium, it is characterised in that at least one is stored with the computer-readable recording medium Bar instruction, at least one section of program, code set or instruction set, at least one instruction, at least one section of program, the code Collection or instruction set load as processor and is performed with realize as described in any one of claim 1 to 9 for exhalation menu setting skin The method of skin.
CN201710631069.8A 2017-07-28 2017-07-28 Method, device and terminal for setting skin for calling menu Active CN107436712B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710631069.8A CN107436712B (en) 2017-07-28 2017-07-28 Method, device and terminal for setting skin for calling menu

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710631069.8A CN107436712B (en) 2017-07-28 2017-07-28 Method, device and terminal for setting skin for calling menu

Publications (2)

Publication Number Publication Date
CN107436712A true CN107436712A (en) 2017-12-05
CN107436712B CN107436712B (en) 2021-02-09

Family

ID=60460191

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710631069.8A Active CN107436712B (en) 2017-07-28 2017-07-28 Method, device and terminal for setting skin for calling menu

Country Status (1)

Country Link
CN (1) CN107436712B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108804628A (en) * 2018-05-31 2018-11-13 维沃移动通信有限公司 A kind of image display method and terminal
CN109491741A (en) * 2018-10-31 2019-03-19 维沃移动通信有限公司 A kind of method and terminal switching background skin
CN110231903A (en) * 2018-03-05 2019-09-13 阿里巴巴集团控股有限公司 Parameter adjusting method and equipment
CN110472199A (en) * 2018-05-11 2019-11-19 成都野望数码科技有限公司 A kind of method and device of regulating object pattern
CN111435313A (en) * 2019-12-09 2020-07-21 杭州海康威视数字技术股份有限公司 Method and device for changing skin of software
CN116485504A (en) * 2023-06-19 2023-07-25 深圳索信达数据技术有限公司 Payment card customization method, computer device, and computer-readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101944027A (en) * 2010-09-26 2011-01-12 北京神州泰岳软件股份有限公司 User interface generation method
CN104169856A (en) * 2013-12-30 2014-11-26 华为技术有限公司 Sidebar menu display method and apparatus, and terminal
EP2937769A1 (en) * 2012-12-20 2015-10-28 NEC Corporation Terminal device, information processing method and program
US20160110054A1 (en) * 2014-10-21 2016-04-21 Cyanogen Inc. System and method for customizing a theme for modifying a look and feel of a graphical user interface
CN106131309A (en) * 2016-06-22 2016-11-16 深圳艾派网络科技股份有限公司 Skin change method, change skin device and change skin system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101944027A (en) * 2010-09-26 2011-01-12 北京神州泰岳软件股份有限公司 User interface generation method
EP2937769A1 (en) * 2012-12-20 2015-10-28 NEC Corporation Terminal device, information processing method and program
CN104169856A (en) * 2013-12-30 2014-11-26 华为技术有限公司 Sidebar menu display method and apparatus, and terminal
US20160110054A1 (en) * 2014-10-21 2016-04-21 Cyanogen Inc. System and method for customizing a theme for modifying a look and feel of a graphical user interface
CN106131309A (en) * 2016-06-22 2016-11-16 深圳艾派网络科技股份有限公司 Skin change method, change skin device and change skin system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110231903A (en) * 2018-03-05 2019-09-13 阿里巴巴集团控股有限公司 Parameter adjusting method and equipment
CN110231903B (en) * 2018-03-05 2022-05-31 斑马智行网络(香港)有限公司 Parameter adjusting method and device
CN110472199A (en) * 2018-05-11 2019-11-19 成都野望数码科技有限公司 A kind of method and device of regulating object pattern
CN110472199B (en) * 2018-05-11 2023-10-27 成都野望数码科技有限公司 Method and device for adjusting object style
CN108804628A (en) * 2018-05-31 2018-11-13 维沃移动通信有限公司 A kind of image display method and terminal
CN108804628B (en) * 2018-05-31 2021-05-07 维沃移动通信有限公司 Picture display method and terminal
CN109491741A (en) * 2018-10-31 2019-03-19 维沃移动通信有限公司 A kind of method and terminal switching background skin
CN109491741B (en) * 2018-10-31 2022-01-28 维沃移动通信有限公司 Method and terminal for switching background skin
CN111435313A (en) * 2019-12-09 2020-07-21 杭州海康威视数字技术股份有限公司 Method and device for changing skin of software
CN116485504A (en) * 2023-06-19 2023-07-25 深圳索信达数据技术有限公司 Payment card customization method, computer device, and computer-readable storage medium

Also Published As

Publication number Publication date
CN107436712B (en) 2021-02-09

Similar Documents

Publication Publication Date Title
CN107436712A (en) To breathe out the method, apparatus and terminal of menu setting skin
CN105824641B (en) Graphic code display methods and device
CN107369197A (en) Image processing method, device and equipment
CN106933525B (en) A kind of method and apparatus showing image
CN107809599A (en) A kind of light compensation method and device and mobile terminal
CN108287744A (en) Character displaying method, device and storage medium
CN106791958A (en) Position marker information generation method and device
CN109002243A (en) A kind of image parameter adjusting method and terminal device
CN109347722A (en) Interactive system, method, client and background server
CN104881844B (en) Picture combination method and device and terminal equipment
CN108073343A (en) A kind of display interface method of adjustment and mobile terminal
CN108959361B (en) Form management method and device
CN107734376A (en) The method and device that a kind of multi-medium data plays
CN108549508A (en) A kind of application icon display methods and mobile terminal
CN107845363B (en) A kind of display control method and mobile terminal
CN110944374A (en) Communication mode selection method and device, electronic equipment and medium
CN107592406A (en) Message display method, mobile terminal and the storage medium of mobile terminal
CN110209332A (en) A kind of information processing method and terminal device
CN110209245A (en) Face identification method and Related product
CN107395890A (en) A kind of method and apparatus and mobile terminal for adjusting Showing Effectiveness On Screen
CN106504303B (en) A kind of method and apparatus playing frame animation
CN107809531A (en) A kind of schedule creation method, mobile terminal
CN107103074A (en) The processing method and mobile terminal of a kind of sharing information
CN105787982B (en) A kind of method and apparatus making e-book
CN108491219A (en) A kind of update method and mobile terminal of application

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
GR01 Patent grant
GR01 Patent grant