WO2018103418A1 - Method and apparatus for generating application icon - Google Patents

Method and apparatus for generating application icon Download PDF

Info

Publication number
WO2018103418A1
WO2018103418A1 PCT/CN2017/103291 CN2017103291W WO2018103418A1 WO 2018103418 A1 WO2018103418 A1 WO 2018103418A1 CN 2017103291 W CN2017103291 W CN 2017103291W WO 2018103418 A1 WO2018103418 A1 WO 2018103418A1
Authority
WO
WIPO (PCT)
Prior art keywords
current
application
application icon
background image
color
Prior art date
Application number
PCT/CN2017/103291
Other languages
French (fr)
Chinese (zh)
Inventor
陶林
Original Assignee
广州视源电子科技股份有限公司
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 广州视源电子科技股份有限公司 filed Critical 广州视源电子科技股份有限公司
Publication of WO2018103418A1 publication Critical patent/WO2018103418A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • the embodiments of the present invention relate to the field of terminal technologies, and in particular, to a method and an apparatus for generating an application icon.
  • Application software is generally designed with multiple themes at the design stage, each theme corresponding to a different theme color.
  • the application icons of the software are generally drawn by the user interface designer one by one. Since the software generally has multiple themes, even if all the icons under each theme are different in color, but the styles are exactly the same, the user interface designer still has to draw multiple sets corresponding to different themes, but the colors are different, but the styles are exactly the same. Application icon.
  • the embodiments of the present invention provide a method and an apparatus for generating an application icon, which overcomes the technical defects in the prior art that multiple sets of application icons that are different in color but identical in style are required to be corresponding to different theme colors.
  • an embodiment of the present invention provides a method for generating an application icon, including:
  • An application icon is generated by superimposing a preset hollow application flag on the current background image.
  • the acquiring a current theme color, and generating a current background image corresponding to the current theme color includes:
  • the obtaining the current theme color comprises:
  • Re-rendering the current background image according to the current theme color including:
  • the method further includes:
  • the application icon is displayed on a button control associated with the corresponding application.
  • the current background picture is the same size as the application flag.
  • an embodiment of the present invention provides an apparatus for generating an application icon, including:
  • a background image generating module configured to acquire a current theme color, and generate a current background image corresponding to the current theme color
  • An application icon generating module is configured to superimpose a preset hollow application flag on the current background image to generate an application icon.
  • the background image generating module includes:
  • a theme color obtaining unit configured to acquire the current theme color
  • a background picture drawing unit configured to redraw the current background picture according to the current theme color.
  • the theme color acquiring unit includes:
  • a color code acquisition subunit configured to acquire a hexadecimal color code corresponding to the current theme color
  • a background picture redrawing subunit configured to redraw the current background picture according to the hexadecimal color code and a preset size of the current background picture.
  • the method further includes:
  • the application icon display module is configured to display the application icon on the button control associated with the corresponding application after the preset hollowed-out application flag is superimposed on the current background image to generate the application icon.
  • the current background picture is the same size as the application flag.
  • the method and device for generating an application icon generates a current background image corresponding to a current theme color by acquiring a current theme color, and then superimposing a preset hollow application flag on the current background image to generate an application icon.
  • FIG. 1 is a flowchart of a method for generating an application icon according to Embodiment 1 of the present invention
  • FIG. 1b is a schematic diagram of a preset open application flag and a current background image superimposed to generate an application icon according to Embodiment 1 of the present invention
  • FIG. 2 is a flowchart of a method for generating an application icon according to Embodiment 2 of the present invention
  • FIG. 3 is a structural diagram of an apparatus for generating an application icon according to Embodiment 3 of the present invention.
  • Embodiment 1a is a flowchart of a method for generating an application icon according to Embodiment 1 of the present invention.
  • the method in this embodiment may be implemented by an application icon generating device, and the device may be implemented by hardware and/or software, and Generally, it can be integrated into the terminal and used together with the application software in the terminal.
  • the method of this embodiment specifically includes:
  • Step 110 Acquire a current theme color, and generate a current background image corresponding to the current theme color.
  • the software is generally designed with a plurality of different themes, and the theme color corresponding to each theme is generally different from the theme color corresponding to other topics, and the user is in the soft state.
  • the theme of the software is switched according to factors such as its own preferences, the surrounding environment, or the mood at the time.
  • the current theme color needs to be obtained according to the current theme, where the current theme color specifically refers to the color corresponding to the current theme, and the typical color may be Yes: theme colors such as yellow, red, purple or green.
  • the background image specifically refers to a color matching rule in which the overall color is consistent with the current theme color or conforms to the color, and the size corresponds to the size of the application logo of the software, and is used to generate a picture of the application icon required by the current theme.
  • the generating manner of the background image corresponding to the current theme color may specifically be: generating a generated code of the background image, changing the color of the background image in the code to the current theme color, and generating a current background image according to the changed code. That is to say, in the embodiment, the background picture is not saved in the software, but is generated when used, so that the software installation package and the occupied storage space can be reduced.
  • Step 120 Superimpose a preset hollow application flag on the current background image to generate an application icon.
  • the preset hollow application flag specifically refers to a picture corresponding to the size and style of the application icon, and the part that needs to be changed according to different the theme is a hollow picture.
  • the color of the hollow portion of the application logo becomes the same as the background image, thereby obtaining the desired application icon. That is to say, by superimposing the preset hollow application logo on the background image whose color is consistent with the theme color, an application icon whose color is consistent with the current theme color can be obtained, and even after changing the theme, the above method can be used simply. Quickly get an app icon that matches the color of the changed theme.
  • the application flag specifically refers to a program event combination associated with the content presented by the application flag, and generates a picture of the button control. That is to say, the application logo is a picture that is displayed on the screen when the application is running, so that the user can perform a touch operation.
  • a program event specifically refers to a set of code that can implement a complete operation.
  • the application icons required by the software are generally manually drawn by the designer, and are directly called during the use of the software, even if The application icons that are identical in style but only have different colors need to be drawn one by one, but in this embodiment, it is only necessary to draw one time corresponding to the size and style of the application icon, and the color needs to be changed according to different themes.
  • the part is a hollow application mark, and then the application icons corresponding to different themes are superimposed by the background pictures of different colors, which greatly reduces the workload of the designer.
  • FIG. 1b where 101 is a background picture, wherein a fill slash indicates that the current theme color has been filled in the background image 101; 102 is a preset stenciled application flag, and the application flag 102 is The circle formed by the two circles is hollow, and the rest is not hollow. After the preset hollow application flag 102 is superimposed on the background image 101, an application icon 103 is generated, and the portion of the application icon 103 filled with the oblique line is the portion displayed as the current theme color, and the remaining portion of the color and the application flag 102 the same.
  • the size of the application mark may be the same as the size of the application icon, and may be larger or smaller than the size of the application icon. This embodiment does not limit this.
  • the size of the application logo may be the same as the size of the application icon by overall enlargement or reduction, but at the same time, the ratio of the length and width of the application logo to the length of the application icon and The ratio of the widths is the same, otherwise the size of the application logo will not be the same as the size of the application icon by the overall enlargement or reduction.
  • the size of the background image may be the same as the size of the application logo, or may be larger or smaller than the size of the application logo, but regardless of the size of the background image, the application logo and the back must be guaranteed.
  • the color of all the hollowed parts in the application logo can be changed to the same color as the background image. Since the size of the application icons is not the same, the size of the application logo corresponding to the application icon may not be exactly the same, so if the size of the background image is unique, then the size of the background image must satisfy the hollowing out of all application marks. The color of the part becomes the same color as the background image, so that the size of the background image may be larger than the size of the smaller application logo.
  • the superimposed image may be clipped according to the size of the application logo after being superimposed, and then enlarged or reduced to obtain the desired application icon.
  • the size of the background image may not be unique, and may be changed according to the size of the application logo.
  • the generation manner of the background image corresponding to the current theme color may be changed to the generated code of the background image.
  • the color of the background image in the code is changed to the current theme color
  • the size of the background image is changed to the size of the application icon
  • the current background image is generated according to the changed code.
  • the method for generating an application icon provided by the embodiment of the present invention generates a current background image corresponding to the current theme color by acquiring the current theme color, and then superimposing the preset hollow application flag on the current background image to generate an application icon, thereby overcoming the In the prior art, it is required to draw multiple sets of application icons with different colors but identical styles corresponding to different theme colors, thereby realizing a large number of repetitive labors for reducing the application icon drawing personnel, and improving the working efficiency of the application icon drawing personnel. At the same time, the development cost of the software is reduced.
  • FIG. 2 is a flowchart of a method for generating an application icon according to Embodiment 2 of the present invention.
  • This embodiment is optimized based on the above embodiment.
  • the current theme color is obtained and generated.
  • the current background image corresponding to the current theme color is optimized to: obtain the current theme color; redraw the current background image according to the current theme color.
  • the method may further include: displaying the application icon on the button control associated with the corresponding application.
  • the current background image and the application flag are optimized to be: the current background image is the same size as the application logo.
  • the method in this embodiment specifically includes:
  • Step 210 Acquire a current theme color.
  • the manner of obtaining the current theme color may be specifically obtaining a hexadecimal color code corresponding to the current theme color.
  • Step 220 Repaint the current background image according to the current theme color.
  • the current background image needs to be redrawn according to the obtained current theme color, and the overall color of the redrawn background image should be consistent with the acquired theme color, and the size should be determined according to actual conditions. .
  • the drawing manner is specifically to call the background image generating code, and the part of the code used to represent the color of the background image is changed to the hexadecimal color code, and the code for indicating the background image size may be retained according to actual conditions. Or change, and finally generate a current background image based on the changed code.
  • the size of the current background image may specifically be the original rule in the code generation code that continues to use the background image
  • the inch can also be changed according to the size of the application mark, which is not limited in this embodiment.
  • the generated code of the background image it is simple, convenient, and practical to use the hex code to represent the color of the background image.
  • Step 230 Superimpose a preset hollow application flag on the current background image to generate an application icon.
  • Step 240 Display an application icon on a button control associated with the corresponding application.
  • the application icon is generated, it is displayed on the button control associated with the corresponding application, and the theme is further replaced, so that the color of the application icon of the software display interface is consistent with the current theme color, and at the same time, During the use of the software, the user can simply and conveniently touch the application icon to cause the software to perform operations corresponding to the content indicated by the application icon.
  • the method for generating an application icon by acquiring the current theme color, re-rendering the current background image according to the current theme color, and then superimposing the preset hollow application flag on the current background image to generate an application icon, and finally,
  • the application icon is displayed on the button control associated with the corresponding application, which overcomes the technical defects in the prior art that the application icons of different colors but the same styles are drawn corresponding to different theme colors, and a large number of application icons are reduced. Drawing people's repetitive work, improving the efficiency of application icon drawing staff, and reducing the development cost of software.
  • FIG. 3 is a structural diagram of an apparatus for generating an application icon according to Embodiment 3 of the present invention.
  • the device for generating an application icon of the embodiment may be used to execute the method for generating an application icon according to any of the above embodiments.
  • the generating device of the application icon can be implemented by hardware and/or software and integrated in the terminal, such as a smart phone, and used in conjunction with the application software in the terminal.
  • the apparatus includes: a background image generating module 301 and an application icon generating module 302. among them:
  • a background image generating module 301 configured to acquire a current theme color, and generate a current background image corresponding to the current theme color
  • the application icon generating module 302 is configured to superimpose the preset hollow application flag on the current background image to generate an application icon.
  • the device for generating an application icon generates a current background image corresponding to the current theme color by acquiring the current theme color, and then superimposing the preset hollow application flag on the current background image to generate an application icon, thereby overcoming the
  • it is required to draw multiple sets of application icons with different colors but identical styles corresponding to different theme colors, thereby realizing a large number of repetitive labors for reducing the application icon drawing personnel, and improving the working efficiency of the application icon drawing personnel.
  • the development cost of the software is reduced.
  • the background image generating module may include:
  • a theme color obtaining unit for acquiring a current theme color
  • a background image drawing unit for repainting the current background image according to the current theme color.
  • the theme color obtaining unit may include:
  • the color code obtaining subunit is configured to obtain a hexadecimal color code corresponding to the current theme color
  • a background image redrawing subunit for repainting the current background image according to the hexadecimal color code and the size of the preset current background image.
  • the method may further include:
  • the application icon display module is configured to display the application icon on the button control associated with the corresponding application after the preset hollowed-out application flag is superimposed on the current background image to generate the application icon.
  • the current background picture is the same size as the application flag.
  • the device for generating an application icon provided by the embodiment of the present invention can be used to execute a method for generating an application icon provided by any embodiment of the present invention, and has a corresponding function module to achieve the same beneficial effects.
  • the various modules or steps of the invention described above can be implemented by a server as described above.
  • the embodiments of the present invention may be implemented by a program executable by a computer device, so that they may be stored in a storage device and executed by a processor, and the program may be stored in a computer readable storage medium.
  • the above mentioned storage medium may be a read only memory, a magnetic disk or an optical disk, etc.; or they may be separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof may be fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.

Abstract

Disclosed are a method and apparatus for generating an application icon. The method comprises: acquiring a current theme colour, and generating a current background picture corresponding to the current theme colour; and superposing a pre-set hollowed-out application mark on the current background picture to generate an application icon. The technical solution in the embodiments of the present invention overcomes the technical defect in the prior art that multiple sets of application icons, which differ from each other only in colours and have completely identical patterns, need to be drawn correspondingly to different theme colours, greatly reduces repeated work of the application icon drawing personnel, improves the working efficiency of the application icon drawing personnel, and at the same time reduces software development costs.

Description

应用图标的生成方法和装置Method and device for generating application icons 技术领域Technical field
本发明实施例涉及终端技术领域,尤其涉及一种应用图标的生成方法和装置。The embodiments of the present invention relate to the field of terminal technologies, and in particular, to a method and an apparatus for generating an application icon.
背景技术Background technique
应用软件,尤其是手机应用软件,在设计阶段一般都会设计有多个主题,每个主题对应不同的主题颜色。Application software, especially mobile application software, is generally designed with multiple themes at the design stage, each theme corresponding to a different theme color.
在软件的开发过程中,软件的应用图标一般都由用户界面设计师一一进行手工绘制。由于软件一般都具有多个主题,即便每个主题下所有图标只是颜色各不相同、但样式完全相同,用户界面设计师也还是要对应不同的主题绘制多套只是颜色不同、但样式完全相同的应用图标。In the software development process, the application icons of the software are generally drawn by the user interface designer one by one. Since the software generally has multiple themes, even if all the icons under each theme are different in color, but the styles are exactly the same, the user interface designer still has to draw multiple sets corresponding to different themes, but the colors are different, but the styles are exactly the same. Application icon.
由于应用图标都是由用户界面设计师手工进行单个制作的,耗时较长,工作量较大,为了对应不同的主题颜色,绘制多套只是颜色不同、但样式完全相同的应用图标,进行了大量的重复性劳动,大大较低了用户界面设计师的工作效率,同时,也增加了软件开发的人工成本。Since the application icons are manually produced by the user interface designer, it takes a long time and requires a large amount of work. In order to correspond to different theme colors, multiple sets of application icons with different colors but identical styles are drawn. A large amount of repetitive labor greatly reduces the efficiency of the user interface designer, and at the same time increases the labor cost of software development.
发明内容Summary of the invention
有鉴于此,本发明实施例提供了一种应用图标的生成方法和装置,克服了现有技术中需要对应不同的主题颜色绘制多套只是颜色不同、但样式完全相同的应用图标的技术缺陷。 In view of this, the embodiments of the present invention provide a method and an apparatus for generating an application icon, which overcomes the technical defects in the prior art that multiple sets of application icons that are different in color but identical in style are required to be corresponding to different theme colors.
在第一方面,本发明实施例提供了一种应用图标的生成方法,包括:In a first aspect, an embodiment of the present invention provides a method for generating an application icon, including:
获取当前主题颜色,生成与所述当前主题颜色对应的当前背景图片;Obtaining a current theme color, and generating a current background image corresponding to the current theme color;
将预设的镂空的应用标志叠加到所述当前背景图片上生成应用图标。An application icon is generated by superimposing a preset hollow application flag on the current background image.
在上述方法中,优选的是,所述获取当前主题颜色,生成与所述当前主题颜色对应的当前背景图片,包括:In the above method, preferably, the acquiring a current theme color, and generating a current background image corresponding to the current theme color, includes:
获取所述当前主题颜色;Obtaining the current theme color;
根据所述当前主题颜色重新绘制所述当前背景图片。Repainting the current background picture according to the current theme color.
在上述方法中,优选的是,所述获取当前主题颜色,包括:In the above method, it is preferred that the obtaining the current theme color comprises:
获取所述当前主题颜色对应的十六进制颜色码;Obtaining a hexadecimal color code corresponding to the current theme color;
所述根据所述当前主题颜色重新绘制所述当前背景图片,包括:Re-rendering the current background image according to the current theme color, including:
根据所述十六进制颜色码和预设的所述当前背景图片的尺寸重新绘制所述当前背景图片。Re-rendering the current background picture according to the hexadecimal color code and a preset size of the current background picture.
在上述方法中,优选的是,所述将预设的镂空的应用标志叠加到所述当前背景图片上生成应用图标之后,还包括:In the above method, after the superimposing the preset hollow application flag on the current background image to generate the application icon, the method further includes:
将所述应用图标显示到对应的应用关联的按钮控件上。The application icon is displayed on a button control associated with the corresponding application.
在上述方法中,优选的是,所述当前背景图片与所述应用标志的尺寸相同。In the above method, preferably, the current background picture is the same size as the application flag.
在第二方面,本发明实施例提供了一种应用图标的生成装置,包括:In a second aspect, an embodiment of the present invention provides an apparatus for generating an application icon, including:
背景图片生成模块,用于获取当前主题颜色,生成与所述当前主题颜色对应的当前背景图片;a background image generating module, configured to acquire a current theme color, and generate a current background image corresponding to the current theme color;
应用图标生成模块,用于将预设的镂空的应用标志叠加到所述当前背景图片上生成应用图标。An application icon generating module is configured to superimpose a preset hollow application flag on the current background image to generate an application icon.
在上述装置中,优选的是,所述背景图片生成模块包括:In the above apparatus, preferably, the background image generating module includes:
主题颜色获取单元,用于获取所述当前主题颜色; a theme color obtaining unit, configured to acquire the current theme color;
背景图片绘制单元,用于根据所述当前主题颜色重新绘制所述当前背景图片。And a background picture drawing unit, configured to redraw the current background picture according to the current theme color.
在上述装置中,优选的是,所述主题颜色获取单元包括:In the above apparatus, preferably, the theme color acquiring unit includes:
颜色码获取子单元,用于获取所述当前主题颜色对应的十六进制颜色码;a color code acquisition subunit, configured to acquire a hexadecimal color code corresponding to the current theme color;
所述背景图片绘制单元包括:The background picture drawing unit includes:
背景图片重绘子单元,用于根据所述十六进制颜色码和预设的所述当前背景图片的尺寸重新绘制所述当前背景图片。a background picture redrawing subunit, configured to redraw the current background picture according to the hexadecimal color code and a preset size of the current background picture.
在上述装置中,优选的是,还包括:In the above device, preferably, the method further includes:
应用图标显示模块,用于在将预设的镂空的应用标志叠加到所述当前背景图片上生成应用图标之后,将所述应用图标显示到对应的应用关联的按钮控件上。The application icon display module is configured to display the application icon on the button control associated with the corresponding application after the preset hollowed-out application flag is superimposed on the current background image to generate the application icon.
在上述装置中,优选的是,所述当前背景图片与所述应用标志的尺寸相同。In the above apparatus, preferably, the current background picture is the same size as the application flag.
本发明实施例提供的应用图标的生成方法和装置,通过获取当前主题颜色,生成与当前主题颜色对应的当前背景图片,然后将预设的镂空的应用标志叠加到当前背景图片上生成应用图标,克服了现有技术中需要对应不同的主题颜色绘制多套只是颜色不同、但样式完全相同的应用图标的技术缺陷,实现了大量减少应用图标绘制人员的重复性劳动,提高应用图标绘制人员的工作效率,同时,降低了软件的开发成本。The method and device for generating an application icon according to an embodiment of the present invention generates a current background image corresponding to a current theme color by acquiring a current theme color, and then superimposing a preset hollow application flag on the current background image to generate an application icon. Overcoming the technical defects in the prior art that need to draw multiple sets of application icons with different colors but identical styles corresponding to different theme colors, realizes a lot of repetitive work of reducing the application icon drawing personnel, and improves the work of the application icon drawing personnel. Efficiency, at the same time, reduces software development costs.
附图说明DRAWINGS
图1a是本发明实施例一提供的一种应用图标的生成方法的流程图;FIG. 1 is a flowchart of a method for generating an application icon according to Embodiment 1 of the present invention; FIG.
图1b是本发明实施例一提供的预设的镂空的应用标志与当前背景图片叠加生成应用图标的示意图; FIG. 1b is a schematic diagram of a preset open application flag and a current background image superimposed to generate an application icon according to Embodiment 1 of the present invention; FIG.
图2是本发明实施例二提供的一种应用图标的生成方法的流程图;2 is a flowchart of a method for generating an application icon according to Embodiment 2 of the present invention;
图3是本发明实施例三提供的一种应用图标的生成装置的结构图。FIG. 3 is a structural diagram of an apparatus for generating an application icon according to Embodiment 3 of the present invention.
具体实施方式detailed description
为了使本发明的目的、技术方案和优点更加清楚,下面结合附图对本发明具体实施例作进一步的详细描述。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。In order to make the objects, technical solutions and advantages of the present invention more comprehensible, the embodiments of the present invention are further described in detail below. It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部内容。在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各项操作(或步骤)描述成顺序的处理,但是其中的许多操作可以被并行地、并发地或者同时实施。此外,各项操作的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。It should also be noted that, for ease of description, only some, but not all, of the present invention are shown in the drawings. Before discussing the exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as a process or method depicted as a flowchart. Although the flowcharts describe various operations (or steps) as a sequential process, many of the operations can be implemented in parallel, concurrently or concurrently. In addition, the order of operations can be rearranged. The process may be terminated when its operation is completed, but may also have additional steps not included in the figures. The processing may correspond to methods, functions, procedures, subroutines, subroutines, and the like.
实施例一Embodiment 1
图1a为本发明实施例一提供的一种应用图标的生成方法的流程图,本实施例的方法可以由应用图标的生成装置来执行,该装置可通过硬件和/或软件的方式实现,并一般可集成于终端中,与终端中的应用软件配合使用。本实施例的方法具体包括:1a is a flowchart of a method for generating an application icon according to Embodiment 1 of the present invention. The method in this embodiment may be implemented by an application icon generating device, and the device may be implemented by hardware and/or software, and Generally, it can be integrated into the terminal and used together with the application software in the terminal. The method of this embodiment specifically includes:
步骤110、获取当前主题颜色,生成与当前主题颜色对应的当前背景图片。Step 110: Acquire a current theme color, and generate a current background image corresponding to the current theme color.
本领域技术人员可以理解的是,软件一般都会设计有多个不同的主题,每个主题所对应的主题颜色一般与其他主题所对应的主题颜色不同,用户在对软 件进行操作时,会依据自身的喜好、周围环境或当时的心情等因素切换软件的主题。It will be understood by those skilled in the art that the software is generally designed with a plurality of different themes, and the theme color corresponding to each theme is generally different from the theme color corresponding to other topics, and the user is in the soft state. When the device is operated, the theme of the software is switched according to factors such as its own preferences, the surrounding environment, or the mood at the time.
在本实施例中,当用户打开软件或在软件的使用过程中切换主题时,都需要依据当前的主题获取当前主题颜色,其中,当前主题颜色具体是指当前主题所对应的颜色,典型的可以是:黄色、红色、紫色或绿色等主题颜色。In this embodiment, when the user opens the software or switches the theme during the use of the software, the current theme color needs to be obtained according to the current theme, where the current theme color specifically refers to the color corresponding to the current theme, and the typical color may be Yes: theme colors such as yellow, red, purple or green.
在本实施例中,在获取当前主题颜色之后,需要生成与当前主题颜色对应的背景图片。其中,背景图片具体是指整体颜色与当前主题颜色一致或符合色彩学的颜色搭配规律,尺寸与软件的应用标志的尺寸相对应的,用于生成当前主题所需的应用图标的图片。与当前主题颜色对应的背景图片的生成方式具体可以是调用背景图片的生成代码,将所述代码中的背景图片的颜色改为当前主题颜色,依据更改后的代码生成当前背景图片等。也就是说,在本实施例中,背景图片是不保存在软件中的,而是使用时现生成的,这样可以减小软件的安装包和占用的存储空间。In this embodiment, after acquiring the current theme color, it is necessary to generate a background image corresponding to the current theme color. The background image specifically refers to a color matching rule in which the overall color is consistent with the current theme color or conforms to the color, and the size corresponds to the size of the application logo of the software, and is used to generate a picture of the application icon required by the current theme. The generating manner of the background image corresponding to the current theme color may specifically be: generating a generated code of the background image, changing the color of the background image in the code to the current theme color, and generating a current background image according to the changed code. That is to say, in the embodiment, the background picture is not saved in the software, but is generated when used, so that the software installation package and the occupied storage space can be reduced.
步骤120、将预设的镂空的应用标志叠加到当前背景图片上生成应用图标。Step 120: Superimpose a preset hollow application flag on the current background image to generate an application icon.
在本实施例中,预设的镂空的应用标志具体是指与应用图标的尺寸以及样式相对应的,需要依据不同的主题而改变颜色的部位为镂空的图片。将预设的镂空的应用标志叠加到当前背景图片上之后,所述应用标志的镂空部分的颜色变为与所述背景图片一致,进而得到所需的应用图标。也就是说,通过将预设的镂空的应用标志叠加到颜色与主题颜色一致的背景图片上后,可以得到颜色与当前主题颜色一致的应用图标,即便是更改主题后,也可以使用上述方法简单、快捷地得到与更改后的主题颜色一致的应用图标。其中,应用标志具体是指用于与该应用标志所呈现内容相关联的程序事件组合,生成按钮控件的图片, 也就是说应用标志是应用软件运行时,显示在屏幕中,以便用户进行点触操作的图片。其中,程序事件具体是指一组可以实现完整操作的代码。In this embodiment, the preset hollow application flag specifically refers to a picture corresponding to the size and style of the application icon, and the part that needs to be changed according to different the theme is a hollow picture. After superimposing the preset hollow application flag on the current background image, the color of the hollow portion of the application logo becomes the same as the background image, thereby obtaining the desired application icon. That is to say, by superimposing the preset hollow application logo on the background image whose color is consistent with the theme color, an application icon whose color is consistent with the current theme color can be obtained, and even after changing the theme, the above method can be used simply. Quickly get an app icon that matches the color of the changed theme. Wherein, the application flag specifically refers to a program event combination associated with the content presented by the application flag, and generates a picture of the button control. That is to say, the application logo is a picture that is displayed on the screen when the application is running, so that the user can perform a touch operation. Among them, a program event specifically refers to a set of code that can implement a complete operation.
本领域的技术人员可以理解的是,在现有技术中,在软件的开发过程中,软件所需的应用图标一般都是由设计人员手工进行绘制的,在软件的使用过程中直接调用,即便是样式完全相同只是颜色不同的应用图标都是需要一一进行绘制的,但是在本实施例中,只需绘制一遍与应用图标的尺寸以及样式相对应的,需要依据不同的主题而改变颜色的部位为镂空的应用标志,然后通过与不同颜色的背景图片相叠加得到对应不同主题的应用图标,大大减少了设计人员的工作量。It can be understood by those skilled in the art that in the prior art, during the development of the software, the application icons required by the software are generally manually drawn by the designer, and are directly called during the use of the software, even if The application icons that are identical in style but only have different colors need to be drawn one by one, but in this embodiment, it is only necessary to draw one time corresponding to the size and style of the application icon, and the color needs to be changed according to different themes. The part is a hollow application mark, and then the application icons corresponding to different themes are superimposed by the background pictures of different colors, which greatly reduces the workload of the designer.
在一个具体的例子中,如图1b所示,其中,101为背景图片,其中填充斜线表示背景图片101中已填充当前主题颜色;102为预设的镂空的应用标志,该应用标志102中两个圆圈所形成的圆环处为镂空的,其余部分均不是镂空的。当预设的镂空的应用标志102叠加到背景图片101上后,生成了应用图标103,应用图标103中用斜线填充的部分就是显示为当前主题颜色的部分,其余部分的颜色与应用标志102相同。In a specific example, as shown in FIG. 1b, where 101 is a background picture, wherein a fill slash indicates that the current theme color has been filled in the background image 101; 102 is a preset stenciled application flag, and the application flag 102 is The circle formed by the two circles is hollow, and the rest is not hollow. After the preset hollow application flag 102 is superimposed on the background image 101, an application icon 103 is generated, and the portion of the application icon 103 filled with the oblique line is the portion displayed as the current theme color, and the remaining portion of the color and the application flag 102 the same.
另外,关于应用标志和背景图片的尺寸。在本实施例中,应用标志的尺寸可以与应用图标的尺寸相同,还可以大于或小于应用图标的尺寸,本实施例对此不进行限制。当应用标志与应用图标的尺寸不相同时,可以通过整体放大或缩小的方式使得应用标志的尺寸与应用图标的尺寸相同,但是同时需要保证应用标志的长度和宽度的比例与应用图标的长度和宽度的比例相同,否则将无法通过整体放大或缩小的方式使得应用标志的尺寸与应用图标的尺寸相同。Also, regarding the size of the application logo and background image. In this embodiment, the size of the application mark may be the same as the size of the application icon, and may be larger or smaller than the size of the application icon. This embodiment does not limit this. When the application logo is not the same size as the application icon, the size of the application logo may be the same as the size of the application icon by overall enlargement or reduction, but at the same time, the ratio of the length and width of the application logo to the length of the application icon and The ratio of the widths is the same, otherwise the size of the application logo will not be the same as the size of the application icon by the overall enlargement or reduction.
进一步地,背景图片的尺寸可以与应用标志的尺寸相同,也可以大于或小于应用标志的尺寸,但是无论背景图片的尺寸如何,必须要保证应用标志与背 景图片叠加后,应用标志中所有镂空的部分的颜色都可以变成与背景图片一致的颜色。由于应用图标的尺寸不尽相同,所以与应用图标对应的应用标志的尺寸也不可能完全相同,所以如果背景图片的尺寸唯一的话,那么背景图片的尺寸必须满足叠加后可以使得所有应用标志的镂空部分的颜色变成与背景图片一致的颜色,这样一来,背景图片的尺寸就有可能会大于尺寸较小的应用标志的尺寸。当背景图片的尺寸大于应用标志的尺寸时,可以在两者叠加后依据应用标志的尺寸对叠加后的图片进行剪裁,然后进行放大或缩小,最终得到所需的应用图标。另外,背景图片的尺寸也可以不唯一,可以依据应用标志的尺寸进行相应变化,这样的话,在步骤S110中,与当前主题颜色对应的背景图片的生成方式可以变化为调用背景图片的生成代码,将所述代码中的背景图片的颜色改为当前主题颜色,将背景图片的尺寸改变为应用图标的尺寸,依据更改后的代码生成当前背景图片。Further, the size of the background image may be the same as the size of the application logo, or may be larger or smaller than the size of the application logo, but regardless of the size of the background image, the application logo and the back must be guaranteed. After the scene image is superimposed, the color of all the hollowed parts in the application logo can be changed to the same color as the background image. Since the size of the application icons is not the same, the size of the application logo corresponding to the application icon may not be exactly the same, so if the size of the background image is unique, then the size of the background image must satisfy the hollowing out of all application marks. The color of the part becomes the same color as the background image, so that the size of the background image may be larger than the size of the smaller application logo. When the size of the background image is larger than the size of the application logo, the superimposed image may be clipped according to the size of the application logo after being superimposed, and then enlarged or reduced to obtain the desired application icon. In addition, the size of the background image may not be unique, and may be changed according to the size of the application logo. In this case, in step S110, the generation manner of the background image corresponding to the current theme color may be changed to the generated code of the background image. The color of the background image in the code is changed to the current theme color, the size of the background image is changed to the size of the application icon, and the current background image is generated according to the changed code.
本发明实施例提供的应用图标的生成方法,通过获取当前主题颜色,生成与当前主题颜色对应的当前背景图片,然后将预设的镂空的应用标志叠加到当前背景图片上生成应用图标,克服了现有技术中需要对应不同的主题颜色绘制多套只是颜色不同、但样式完全相同的应用图标的技术缺陷,实现了大量减少应用图标绘制人员的重复性劳动,提高应用图标绘制人员的工作效率,同时,降低了软件的开发成本。The method for generating an application icon provided by the embodiment of the present invention generates a current background image corresponding to the current theme color by acquiring the current theme color, and then superimposing the preset hollow application flag on the current background image to generate an application icon, thereby overcoming the In the prior art, it is required to draw multiple sets of application icons with different colors but identical styles corresponding to different theme colors, thereby realizing a large number of repetitive labors for reducing the application icon drawing personnel, and improving the working efficiency of the application icon drawing personnel. At the same time, the development cost of the software is reduced.
实施例二Embodiment 2
图2是本发明实施例二提供的一种应用图标的生成方法的流程图。本实施例以上述实施例为基础进行优化,在本实施例中,将获取当前主题颜色,生成 与当前主题颜色对应的当前背景图片优化为:获取当前主题颜色;根据当前主题颜色重新绘制当前背景图片。FIG. 2 is a flowchart of a method for generating an application icon according to Embodiment 2 of the present invention. This embodiment is optimized based on the above embodiment. In this embodiment, the current theme color is obtained and generated. The current background image corresponding to the current theme color is optimized to: obtain the current theme color; redraw the current background image according to the current theme color.
进一步地,在将预设的镂空的应用标志叠加到当前背景图片上生成应用图标之后,还可以包括:将应用图标显示到对应的应用关联的按钮控件上。Further, after the preset short-cut application flag is superimposed on the current background image to generate the application icon, the method may further include: displaying the application icon on the button control associated with the corresponding application.
在本实施例中,将当前背景图片和应用标志优化为:当前背景图片与应用标志的尺寸相同。In this embodiment, the current background image and the application flag are optimized to be: the current background image is the same size as the application logo.
相应的,本实施例的方法具体包括:Correspondingly, the method in this embodiment specifically includes:
步骤210、获取当前主题颜色。Step 210: Acquire a current theme color.
在本实施例中,获取当前主题颜色的方式具体可以是获取当前主题颜色对应的十六进制颜色码等。In this embodiment, the manner of obtaining the current theme color may be specifically obtaining a hexadecimal color code corresponding to the current theme color.
本领域技术人员可以理解的是,在程序代码中,可以使用十六进制的代码表示不同的颜色。It will be understood by those skilled in the art that in the program code, hexadecimal codes can be used to represent different colors.
步骤220、根据当前主题颜色重新绘制当前背景图片。Step 220: Repaint the current background image according to the current theme color.
在本实施例中,在获取当前主题颜色后,需要依据所获取的当前主题颜色重新绘制当前背景图片,重新绘制的背景图片的整体颜色应与获取的主题颜色一致,尺寸应依据实际情况进行确定。In this embodiment, after obtaining the current theme color, the current background image needs to be redrawn according to the obtained current theme color, and the overall color of the redrawn background image should be consistent with the acquired theme color, and the size should be determined according to actual conditions. .
在本实施例中,当获取当前主题颜色的方式具体为获取当前主题颜色对应的十六进制颜色码时,在获取当前主题颜色对应的十六进制颜色码后,需要根据当前主题颜色对应的十六进制颜色码和当前背景图片的尺寸重新绘制当前背景图片。其中,绘制的方式具体为调用背景图片生成代码,将所述代码中用于表示背景图片颜色的部分改为所述十六进制颜色码,用于表示背景图片尺寸的代码可以依据实际情况保留或更改,最后依据更改后的代码生成当前背景图片。其中,当前背景图片的尺寸具体可以是继续使用背景图片生成代码中的原有尺 寸,还可以是依据应用标志的尺寸进行更改,本实施例对此不进行限制。在背景图片的生成代码中,使用十六进制代码表示背景图片的颜色较为简单、方便以及实用。In this embodiment, when the current theme color is obtained by acquiring the hexadecimal color code corresponding to the current theme color, after obtaining the hexadecimal color code corresponding to the current theme color, it is required to correspond to the current theme color. Re-draw the current background image by the hexadecimal color code and the size of the current background image. Wherein, the drawing manner is specifically to call the background image generating code, and the part of the code used to represent the color of the background image is changed to the hexadecimal color code, and the code for indicating the background image size may be retained according to actual conditions. Or change, and finally generate a current background image based on the changed code. Wherein, the size of the current background image may specifically be the original rule in the code generation code that continues to use the background image The inch can also be changed according to the size of the application mark, which is not limited in this embodiment. In the generated code of the background image, it is simple, convenient, and practical to use the hex code to represent the color of the background image.
步骤230、将预设的镂空的应用标志叠加到当前背景图片上生成应用图标。Step 230: Superimpose a preset hollow application flag on the current background image to generate an application icon.
步骤240、将应用图标显示到对应的应用关联的按钮控件上。Step 240: Display an application icon on a button control associated with the corresponding application.
在本实施例中,应用图标在生成之后,就会显示到对应的应用关联的按钮控件上,进一步完成主题的更换,使得软件显示界面的应用图标的颜色与当前主题颜色一致,同时,也便于用户在使用软件过程中,可以简单、方便地通过点触应用图标进而使软件进行与应用图标所示内容相应的操作。In this embodiment, after the application icon is generated, it is displayed on the button control associated with the corresponding application, and the theme is further replaced, so that the color of the application icon of the software display interface is consistent with the current theme color, and at the same time, During the use of the software, the user can simply and conveniently touch the application icon to cause the software to perform operations corresponding to the content indicated by the application icon.
本发明实施例提供的应用图标的生成方法,通过获取当前主题颜色,根据当前主题颜色重新绘制当前背景图片,然后,将预设的镂空的应用标志叠加到当前背景图片上生成应用图标,最后,将应用图标显示到对应的应用关联的按钮控件上,克服了现有技术中需要对应不同的主题颜色绘制多套只是颜色不同、但样式完全相同的应用图标的技术缺陷,实现了大量减少应用图标绘制人员的重复性劳动,提高应用图标绘制人员的工作效率,同时,降低了软件的开发成本。The method for generating an application icon according to an embodiment of the present invention, by acquiring the current theme color, re-rendering the current background image according to the current theme color, and then superimposing the preset hollow application flag on the current background image to generate an application icon, and finally, The application icon is displayed on the button control associated with the corresponding application, which overcomes the technical defects in the prior art that the application icons of different colors but the same styles are drawn corresponding to different theme colors, and a large number of application icons are reduced. Drawing people's repetitive work, improving the efficiency of application icon drawing staff, and reducing the development cost of software.
实施例三Embodiment 3
图3是本发明实施例三提供的一种应用图标的生成装置的结构图。本实施例的应用图标的生成装置可用于执行上述任意实施例所述的应用图标的生成方法。该应用图标的生成装置可通过硬件和/或软件的方式实现,并集成于终端中,例如智能手机,与终端中的应用软件配合使用。 FIG. 3 is a structural diagram of an apparatus for generating an application icon according to Embodiment 3 of the present invention. The device for generating an application icon of the embodiment may be used to execute the method for generating an application icon according to any of the above embodiments. The generating device of the application icon can be implemented by hardware and/or software and integrated in the terminal, such as a smart phone, and used in conjunction with the application software in the terminal.
如图3所示,所述装置包括:背景图片生成模块301以及应用图标生成模块302。其中:As shown in FIG. 3, the apparatus includes: a background image generating module 301 and an application icon generating module 302. among them:
背景图片生成模块301,用于获取当前主题颜色,生成与当前主题颜色对应的当前背景图片;a background image generating module 301, configured to acquire a current theme color, and generate a current background image corresponding to the current theme color;
应用图标生成模块302,用于将预设的镂空的应用标志叠加到当前背景图片上生成应用图标。The application icon generating module 302 is configured to superimpose the preset hollow application flag on the current background image to generate an application icon.
本发明实施例提供的应用图标的生成装置,通过获取当前主题颜色,生成与当前主题颜色对应的当前背景图片,然后将预设的镂空的应用标志叠加到当前背景图片上生成应用图标,克服了现有技术中需要对应不同的主题颜色绘制多套只是颜色不同、但样式完全相同的应用图标的技术缺陷,实现了大量减少应用图标绘制人员的重复性劳动,提高应用图标绘制人员的工作效率,同时,降低了软件的开发成本。The device for generating an application icon according to the embodiment of the present invention generates a current background image corresponding to the current theme color by acquiring the current theme color, and then superimposing the preset hollow application flag on the current background image to generate an application icon, thereby overcoming the In the prior art, it is required to draw multiple sets of application icons with different colors but identical styles corresponding to different theme colors, thereby realizing a large number of repetitive labors for reducing the application icon drawing personnel, and improving the working efficiency of the application icon drawing personnel. At the same time, the development cost of the software is reduced.
在上述各实施例的基础上,背景图片生成模块可以包括:Based on the foregoing embodiments, the background image generating module may include:
主题颜色获取单元,用于获取当前主题颜色;a theme color obtaining unit for acquiring a current theme color;
背景图片绘制单元,用于根据当前主题颜色重新绘制当前背景图片。A background image drawing unit for repainting the current background image according to the current theme color.
在上述各实施例的基础上,主题颜色获取单元可以包括:Based on the foregoing embodiments, the theme color obtaining unit may include:
颜色码获取子单元,用于获取当前主题颜色对应的十六进制颜色码;The color code obtaining subunit is configured to obtain a hexadecimal color code corresponding to the current theme color;
背景图片绘制单元包括:The background picture drawing unit includes:
背景图片重绘子单元,用于根据十六进制颜色码和预设的当前背景图片的尺寸重新绘制当前背景图片。A background image redrawing subunit for repainting the current background image according to the hexadecimal color code and the size of the preset current background image.
在上述各实施例的基础上,还可以包括:Based on the foregoing embodiments, the method may further include:
应用图标显示模块,用于在将预设的镂空的应用标志叠加到所述当前背景图片上生成应用图标之后,将应用图标显示到对应的应用关联的按钮控件上。 The application icon display module is configured to display the application icon on the button control associated with the corresponding application after the preset hollowed-out application flag is superimposed on the current background image to generate the application icon.
在上述各实施例的基础上,当前背景图片与应用标志的尺寸相同。Based on the above embodiments, the current background picture is the same size as the application flag.
本发明实施例所提供的应用图标的生成装置可用于执行本发明任意实施例提供的应用图标的生成方法,具备相应的功能模块,实现相同的有益效果。The device for generating an application icon provided by the embodiment of the present invention can be used to execute a method for generating an application icon provided by any embodiment of the present invention, and has a corresponding function module to achieve the same beneficial effects.
显然,本领域技术人员应该明白,上述的本发明的各模块或各步骤可以通过如上所述的服务器实施。可选地,本发明实施例可以用计算机装置可执行的程序来实现,从而可以将它们存储在存储装置中由处理器来执行,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等;或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件的结合。It will be apparent to those skilled in the art that the various modules or steps of the invention described above can be implemented by a server as described above. Optionally, the embodiments of the present invention may be implemented by a program executable by a computer device, so that they may be stored in a storage device and executed by a processor, and the program may be stored in a computer readable storage medium. The above mentioned storage medium may be a read only memory, a magnetic disk or an optical disk, etc.; or they may be separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof may be fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例,并不用于限制本发明,对于本领域技术人员而言,本发明可以有各种改动和变化。凡在本发明的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 The above description is only a preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalents, improvements, etc. made within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims (10)

  1. 一种应用图标的生成方法,其特征在于,包括:A method for generating an application icon, comprising:
    获取当前主题颜色,生成与所述当前主题颜色对应的当前背景图片;Obtaining a current theme color, and generating a current background image corresponding to the current theme color;
    将预设的镂空的应用标志叠加到所述当前背景图片上生成应用图标。An application icon is generated by superimposing a preset hollow application flag on the current background image.
  2. 根据权利要求1所述的方法,其特征在于,所述获取当前主题颜色,生成与所述当前主题颜色对应的当前背景图片,包括:The method according to claim 1, wherein the acquiring a current theme color and generating a current background image corresponding to the current theme color comprises:
    获取所述当前主题颜色;Obtaining the current theme color;
    根据所述当前主题颜色重新绘制所述当前背景图片。Repainting the current background picture according to the current theme color.
  3. 根据权利要求2所述的方法,其特征在于,所述获取当前主题颜色,包括:The method according to claim 2, wherein the obtaining the current theme color comprises:
    获取所述当前主题颜色对应的十六进制颜色码;Obtaining a hexadecimal color code corresponding to the current theme color;
    所述根据所述当前主题颜色重新绘制所述当前背景图片,包括:Re-rendering the current background image according to the current theme color, including:
    根据所述十六进制颜色码和预设的所述当前背景图片的尺寸重新绘制所述当前背景图片。Re-rendering the current background picture according to the hexadecimal color code and a preset size of the current background picture.
  4. 根据权利要求1所述的方法,其特征在于,所述将预设的镂空的应用标志叠加到所述当前背景图片上生成应用图标之后,还包括:The method according to claim 1, wherein the superimposing the preset hollow application flag on the current background image to generate an application icon further includes:
    将所述应用图标显示到对应的应用关联的按钮控件上。The application icon is displayed on a button control associated with the corresponding application.
  5. 根据权利要求1所述的方法,其特征在于,所述当前背景图片与所述应用标志的尺寸相同。The method of claim 1 wherein said current background picture is the same size as said application flag.
  6. 一种应用图标的生成装置,其特征在于,包括:An apparatus for generating an application icon, comprising:
    背景图片生成模块,用于获取当前主题颜色,生成与所述当前主题颜色对应的当前背景图片;a background image generating module, configured to acquire a current theme color, and generate a current background image corresponding to the current theme color;
    应用图标生成模块,用于将预设的镂空的应用标志叠加到所述当前背景图片上生成应用图标。 An application icon generating module is configured to superimpose a preset hollow application flag on the current background image to generate an application icon.
  7. 根据权利要求6所述的装置,其特征在于,所述背景图片生成模块包括:The device according to claim 6, wherein the background image generating module comprises:
    主题颜色获取单元,用于获取所述当前主题颜色;a theme color obtaining unit, configured to acquire the current theme color;
    背景图片绘制单元,用于根据所述当前主题颜色重新绘制所述当前背景图片。And a background picture drawing unit, configured to redraw the current background picture according to the current theme color.
  8. 根据权利要求7所述的装置,其特征在于,所述主题颜色获取单元包括:The device according to claim 7, wherein the theme color obtaining unit comprises:
    颜色码获取子单元,用于获取所述当前主题颜色对应的十六进制颜色码;a color code acquisition subunit, configured to acquire a hexadecimal color code corresponding to the current theme color;
    所述背景图片绘制单元包括:The background picture drawing unit includes:
    背景图片重绘子单元,用于根据所述十六进制颜色码和预设的所述当前背景图片的尺寸重新绘制所述当前背景图片。a background picture redrawing subunit, configured to redraw the current background picture according to the hexadecimal color code and a preset size of the current background picture.
  9. 根据权利要求6所述的装置,其特征在于,还包括:The device according to claim 6, further comprising:
    应用图标显示模块,用于在将预设的镂空的应用标志叠加到所述当前背景图片上生成应用图标之后,将所述应用图标显示到对应的应用关联的按钮控件上。The application icon display module is configured to display the application icon on the button control associated with the corresponding application after the preset hollowed-out application flag is superimposed on the current background image to generate the application icon.
  10. 根据权利要求6所述的装置,其特征在于,所述当前背景图片与所述应用标志的尺寸相同。 The apparatus of claim 6 wherein said current background picture is the same size as said application flag.
PCT/CN2017/103291 2016-12-05 2017-09-25 Method and apparatus for generating application icon WO2018103418A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201611104085.3A CN106775688A (en) 2016-12-05 2016-12-05 The generation method and device of application icon
CN201611104085.3 2016-12-05

Publications (1)

Publication Number Publication Date
WO2018103418A1 true WO2018103418A1 (en) 2018-06-14

Family

ID=58878559

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/103291 WO2018103418A1 (en) 2016-12-05 2017-09-25 Method and apparatus for generating application icon

Country Status (2)

Country Link
CN (1) CN106775688A (en)
WO (1) WO2018103418A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113034631A (en) * 2019-12-24 2021-06-25 华为技术有限公司 Method and device for generating theme icon and computer equipment

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106775688A (en) * 2016-12-05 2017-05-31 广州视源电子科技股份有限公司 The generation method and device of application icon
CN107741992B (en) * 2017-11-03 2021-12-10 广州视源电子科技股份有限公司 Network storage method and device for conference records, intelligent tablet and storage medium
CN109240689B (en) * 2018-08-15 2022-08-09 腾讯科技(深圳)有限公司 Application icon generation method, device, server and medium
CN109831584A (en) * 2019-01-30 2019-05-31 努比亚技术有限公司 Application icon adaptation processing method, storage medium and mobile terminal
CN111061414A (en) * 2019-11-28 2020-04-24 北京奇艺世纪科技有限公司 Skin replacement method and device, electronic equipment and readable storage medium
CN114721567B (en) * 2022-06-08 2022-11-22 荣耀终端有限公司 Desktop display method and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103076943A (en) * 2012-12-27 2013-05-01 北京小米科技有限责任公司 Icon conversion method and icon conversion device
CN105117226A (en) * 2015-08-24 2015-12-02 江西好帮手电子科技有限公司 Android system HMI based user-defined icon realization method and system
CN106775688A (en) * 2016-12-05 2017-05-31 广州视源电子科技股份有限公司 The generation method and device of application icon

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101080095B (en) * 2007-04-20 2011-02-16 腾讯科技(深圳)有限公司 A subject interaction system and method of mobile phone
CN102938863B (en) * 2012-11-27 2016-08-17 乐视致新电子科技(天津)有限公司 Intelligent television icon theme replacement method based on android system and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103076943A (en) * 2012-12-27 2013-05-01 北京小米科技有限责任公司 Icon conversion method and icon conversion device
CN105117226A (en) * 2015-08-24 2015-12-02 江西好帮手电子科技有限公司 Android system HMI based user-defined icon realization method and system
CN106775688A (en) * 2016-12-05 2017-05-31 广州视源电子科技股份有限公司 The generation method and device of application icon

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113034631A (en) * 2019-12-24 2021-06-25 华为技术有限公司 Method and device for generating theme icon and computer equipment
EP4068214A4 (en) * 2019-12-24 2023-06-07 Petal Cloud Technology Co., Ltd. Theme icon generation method and apparatus therefor, and computer device

Also Published As

Publication number Publication date
CN106775688A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
WO2018103418A1 (en) Method and apparatus for generating application icon
JP6038171B2 (en) User interface device
US8103972B2 (en) Operator control unit and method for assigning an on-screen display to a softkey button
JP2005235198A (en) Gui program
WO2015184736A1 (en) Method and terminal for transforming background picture of touchscreen device
CN109445891B (en) Picture configuration and display method, device and computer readable storage medium
JP2014032529A (en) Plc system, drawing editor device thereof, and programmable display
WO2016107229A1 (en) Icon displaying method and device, and computer storage medium
US20200118305A1 (en) Automatic line drawing coloring program, automatic line drawing coloring apparatus, and graphical user interface program
CN107729099A (en) Background method of adjustment and its system
CN106251382B (en) Method and system for realizing picture style switching, camera rendering and theme updating
CN107122153B (en) Automobile instrument image display method
CN106528161B (en) Terminal device, page display processing device and method
CN105183492A (en) Forming method and forming device of individualized dialog box
JP5883936B2 (en) Programmable controller system
WO2016082564A1 (en) Method, device, and storage medium for displaying wallpapers
JP6095743B2 (en) Support device, program
JP6207694B2 (en) Programmable display, program
KR20160057845A (en) Computer implemented method for processing image filter
US20160284050A1 (en) Display apparatus and display method thereof
WO2013060069A1 (en) Display method and device
KR101196985B1 (en) Method for displating an user interface picture in potable terminal
KR20160066969A (en) Method for displaying graphic user infterface screen and an electronic device thereof
CN106445510B (en) A kind of control method and device of application program
US20040113918A1 (en) CAD apparatus and output processing method for CAD apparatus

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17878546

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17878546

Country of ref document: EP

Kind code of ref document: A1