CN114281456A - Application window display method, computing device and storage medium - Google Patents

Application window display method, computing device and storage medium Download PDF

Info

Publication number
CN114281456A
CN114281456A CN202111578998.XA CN202111578998A CN114281456A CN 114281456 A CN114281456 A CN 114281456A CN 202111578998 A CN202111578998 A CN 202111578998A CN 114281456 A CN114281456 A CN 114281456A
Authority
CN
China
Prior art keywords
window
desktop
background
application
configuration attribute
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111578998.XA
Other languages
Chinese (zh)
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.)
Uniontech Software Technology Co Ltd
Original Assignee
Uniontech Software Technology 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 Uniontech Software Technology Co Ltd filed Critical Uniontech Software Technology Co Ltd
Priority to CN202111578998.XA priority Critical patent/CN114281456A/en
Publication of CN114281456A publication Critical patent/CN114281456A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses an application window display method, a computing device and a storage medium, and the method comprises the following steps: when a first window of a first application is drawn, a first configuration attribute of the first window to be drawn by the application is obtained, then a first desktop background of a desktop is obtained, a second configuration attribute of the first window to be drawn by the application is generated according to a background parameter of the first desktop background and the first configuration attribute, then the first desktop background is obtained according to the second configuration attribute, and the first window of the application is drawn on the desktop. According to the method and the device, the first configuration attribute of the window to be displayed by the application is obtained, and the first configuration attribute is modified according to the first desktop background of the desktop, so that the window of the application can be drawn on the desktop according to the desktop background, the speed of drawing the window by the application is increased, and the use experience of the operating system and the application of a user is improved.

Description

Application window display method, computing device and storage medium
Technical Field
The present invention relates to the field of operating systems, and in particular, to an application window display method, a computing device, and a storage medium.
Background
With the development of computer technology, people use various application programs to complete work more and more in the process of using a computer; in the process of using the application program, sometimes a window style needs to be set for the application program, so that the application program presents a personalized interface, and the application program becomes beautiful and easy to use.
In the prior art, an interface for loading an interface is usually constructed, so that all applications load the interface by themselves through the interface. When the application program loads the interface in this way, each application program needs to construct the same call logic and loads the interface according to the interface by itself, which not only results in the need to repeatedly construct codes, but also increases the overall memory overhead when the system runs.
For this reason, a new application window display method is required.
Disclosure of Invention
To this end, the present invention provides an application window display method in an attempt to solve or at least alleviate the above-existing problems.
According to an aspect of the present invention, there is provided an application window display method adapted to be executed in a computing device in which a desktop is built and one or more applications are run, the method comprising the steps of: acquiring a first configuration attribute of a first window to be drawn by an application; acquiring a first desktop background of a desktop, and generating a second configuration attribute of a first window to be drawn by an application according to a background parameter and a first configuration attribute of the first desktop background; and acquiring a first desktop background according to the second configuration attribute, and drawing a first window of the application on the desktop.
Optionally, in a method according to the present invention, a window attribute list is further stored in the computing device, and the method further includes the steps of: storing the characteristic value of the first configuration attribute in a window attribute list; generating a second configuration attribute of the window to be drawn by the application according to the background parameter of the first desktop background and the first configuration attribute comprises the following steps: judging whether a characteristic value of a first configuration attribute exists in the window attribute list or not; and if so, adding the background parameter of the first desktop background to the first configuration attribute to generate a second configuration attribute.
Optionally, in the method according to the present invention, the second configuration attribute includes a plurality of first window parameters, the obtaining a first desktop background according to the second configuration attribute, and the drawing the first window of the application on the desktop includes: judging whether each first window parameter in the second configuration attribute is valid; if each first window parameter in the second configuration attribute is valid, acquiring the first desktop background according to the second configuration attribute, and drawing the first window of the application according to the first desktop background and the plurality of first window parameters.
Optionally, in the method according to the present invention, drawing the first window of the application according to the first desktop background and the plurality of first window parameters comprises the steps of: determining the size of a window background of a first window according to the first window parameter; and drawing the first window of the application according to the size of the window background of the first window and the background of the first desktop.
Optionally, in the method according to the present invention, further comprising the step of: when an adjusting instruction for adjusting the window of the application is received, acquiring a third configuration attribute of a second window to be drawn by the application; acquiring a first desktop background of the desktop, and generating a fourth configuration attribute of a second window to be drawn by the application according to the background parameter and the third configuration attribute of the first desktop background; and drawing a second window of the application on the desktop according to the fourth configuration attribute.
Optionally, in the method according to the present invention, the fourth configuration attribute includes a plurality of second window parameters, and drawing the second window of the application on the desktop according to the fourth configuration attribute includes: determining the window background size of the second window according to the second window parameter; and drawing the second window of the application according to the window background size of the second window and the background of the first desktop.
Optionally, in the method according to the present invention, further comprising the step of: when the desktop background of the desktop is changed from a first desktop background to a second desktop background, generating a fifth configuration attribute according to the background parameter of the second desktop background and the second configuration attribute for drawing the first window; and drawing a third window of the application on the desktop according to the fifth configuration attribute.
Optionally, in the method according to the present invention, the fifth configuration attribute includes a plurality of third window parameters, and drawing the third window of the application on the desktop according to the fifth configuration attribute includes: determining the size of the window background of the third window according to the third window parameter; and drawing the third window of the application according to the size of the window background of the third window and the second window background.
According to another aspect of the present invention, there is provided a computing device comprising: one or more processors; a memory; and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for performing the application window display method according to the present invention.
According to still another aspect of the present invention, there is provided a computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a computing device, cause the computing device to perform an application window display method according to the present invention.
The invention discloses an application window display method which is suitable for being executed in computing equipment. The method comprises the steps of acquiring a first configuration attribute of a first window to be drawn by an application when the first window of the first application is drawn, then acquiring a first desktop background of the desktop, generating a second configuration attribute of the first window to be drawn by the application according to a background parameter of the first desktop background and the first configuration attribute, then acquiring the first desktop background according to the second configuration attribute, and drawing the first window of the application on the desktop. According to the method and the device, the first configuration attribute of the window to be displayed by the application is obtained, and the first configuration attribute is modified according to the first desktop background of the desktop, so that the window of the application can be drawn on the desktop according to the desktop background, the speed of drawing the window by the application is increased, and the use experience of the operating system and the application of a user is improved.
Drawings
To the accomplishment of the foregoing and related ends, certain illustrative aspects are described herein in connection with the following description and the annexed drawings, which are indicative of various ways in which the principles disclosed herein may be practiced, and all aspects and equivalents thereof are intended to be within the scope of the claimed subject matter. The above and other objects, features and advantages of the present disclosure will become more apparent from the following detailed description when read in conjunction with the accompanying drawings. Throughout this disclosure, like reference numerals generally refer to like parts or elements.
FIG. 1 illustrates a schematic diagram of running applications and an operating system in a computing device according to an exemplary embodiment of the invention;
FIG. 2 illustrates a block diagram of a computing device 200, according to an exemplary embodiment of the invention; and
FIG. 3 illustrates a flowchart of an application window display method 300 according to an exemplary embodiment of the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art. Like reference numerals generally refer to like parts or elements.
FIG. 1 is a diagram illustrating an application and operating system running in a computing device according to an exemplary embodiment of the invention. As shown in fig. 1, the computing device 200 runs the operating system 140, and runs the applications 111 and 112 based on the operating system 140, the number of applications run in the computing device shown in fig. 1 is only exemplary, and the invention does not limit the number and kinds of applications run in the computing device.
Also included in the computing device 200 are a window manager 120 and an interface rendering unit 130. The interface drawing unit 130 includes a custom style module 131, a native style module 132, and a style drawing module 133. The operating system 140 acquires the configuration attribute of the application 111 or 112 through the window manager 120 and modifies the configuration attribute of the application 111 or 112 through the style drawing module 133. The custom style module 131 and the native style module 132 provide a window pointer that modifies the configuration attributes, the window pointer being provided by the custom style module 131 when the window of the application is first rendered, the subsequent application being added to the native style module 132, the window pointer being provided by the native style module 132 when the window of the application is not first rendered.
The window manager 120 may be implemented as dde-kwin window manager, the interface drawing unit 130 may be implemented as dtk (deep tool kit), a depth tool suite, the custom style module 131 may be implemented as dtkweight library, the native style module 132 may be implemented as dtkgui library, and the style drawing module 133 may be implemented as qt5 platform-plugs library. The invention is not limited to the specific implementation of each unit and module.
Also included in window manager 120 is special effects plug-in module 121. The special effect plug-in module 121 includes one or more textures, and selects one as a preset texture, and when the window background is drawn, the preset texture is added to the desktop background, so as to obtain the desktop background added with the preset texture. The method can be used for hardware acceleration when the preset texture is added to the desktop background and the desktop background added with the preset texture is obtained. According to an embodiment of the present invention, the computing device further includes a graphics card, and when performing hardware acceleration, the OpenGL in the graphics card is called to perform hardware acceleration. The special effect plug-in module 121 may be implemented as an effect plug-in module, and the specific implementation manner of the special effect plug-in module 121 is not limited in the present invention.
The special effects plug-in module 121 is further adapted to be invoked by the operating system 140 to store the feature values of the first configuration attribute in the window attribute list in the window manager. The style drawing module 133 is further adapted to be invoked by the operating system 140, determine whether a feature value of the first configuration attribute exists in the window attribute list, and if so, add the background parameter of the first desktop background to the first configuration attribute to generate the second configuration attribute.
The style drawing module 133 is further adapted to be invoked by the operating system 140 to determine whether each window parameter in the configuration attribute is valid when the operating system 140 draws a window.
FIG. 2 illustrates a block diagram of a computing device 200, according to an exemplary embodiment of the invention. As shown in FIG. 2, in a basic configuration 202, a computing device 200 typically includes a system memory 206 and one or more processors 204. A memory bus 208 may be used for communication between the processor 204 and the system memory 206.
Depending on the desired configuration, the processor 204 may be any type of processing, including but not limited to: a microprocessor (μ P), a microcontroller (μ C), a Digital Signal Processor (DSP), or any combination thereof. The processor 204 may include one or more levels of cache, such as a level one cache 210 and a level two cache 212, a processor core 214, and registers 216. Example processor cores 214 may include Arithmetic Logic Units (ALUs), Floating Point Units (FPUs), digital signal processing cores (DSP cores), or any combination thereof. The example memory controller 218 may be used with the processor 204, or in some implementations the memory controller 218 may be an internal part of the processor 204.
Depending on the desired configuration, system memory 206 may be any type of memory, including but not limited to: volatile memory (such as RAM), non-volatile memory (such as ROM, flash memory, etc.), or any combination thereof. System memory 206 may include an operating system 220, one or more programs 222, and program data 228. In some embodiments, the program 222 may be arranged to execute the instructions 223 of the method 300 according to the invention on an operating system by one or more processors 204 using the program data 228.
Computing device 200 may also include a storage interface bus 234. The storage interface bus 234 enables communication from the storage devices 232 (e.g., removable storage 236 and non-removable storage 238) to the basic configuration 202 via the bus/interface controller 230. Operating system 220, programs 222, and at least a portion of data 224 can be stored on removable storage 236 and/or non-removable storage 238, and loaded into system memory 206 via storage interface bus 234 and executed by one or more processors 204 when computing device 200 is powered on or programs 222 are to be executed.
Computing device 200 may also include an interface bus 240 that facilitates communication from various interface devices (e.g., output devices 242, peripheral interfaces 244, and communication devices 246) to the basic configuration 202 via the bus/interface controller 230. The example output device 242 includes a graphics processing unit 248 and an audio processing unit 250. They may be configured to facilitate communication with various external devices, such as a display or speakers, via one or more a/V ports 252. Example peripheral interfaces 244 can include a serial interface controller 254 and a parallel interface controller 256, which can be configured to facilitate communications with external devices such as input devices (e.g., keyboard, mouse, pen, voice input device, touch input device) or other peripherals (e.g., printer, scanner, etc.) via one or more I/O ports 258. An example communication device 246 may include a network controller 260, which may be arranged to communicate with one or more other computing devices 200 over a network communication link via one or more communication ports 264.
A network communication link may be one example of a communication medium. Communication media may typically be embodied by computer readable instructions, data structures, program modules, and may include any information delivery media, such as carrier waves or other transport mechanisms, in a modulated data signal. A "modulated data signal" may be a signal that has one or more of its data set or its changes made in such a manner as to encode information in the signal. By way of non-limiting example, communication media may include wired media such as a wired network or private-wired network, and various wireless media such as acoustic, Radio Frequency (RF), microwave, Infrared (IR), or other wireless media. The term computer readable media as used herein may include both storage media and communication media.
In a computing device 200 according to the present invention, the program 222 comprises program instructions of the application window display method 300 that may direct the processor 204 to perform some of the steps of the application window display method 300 operating in the computing device 200 of the present invention such that various portions of the computing device 200 enable simultaneous management of files by performing the application window display method 300 of the present invention.
Computing device 200 may be implemented as a server, e.g., a file server, a database, a server, an application server, etc., which may be, for example, a Personal Digital Assistant (PDA), a wireless web-browsing device, an application-specific device, or a hybrid device that include any of the above functions. May be implemented as a personal computer including both desktop and notebook computer configurations, and in some embodiments, the computing device 200 is configured to apply the window display method 300.
FIG. 3 illustrates a flowchart of an application window display method 300 according to an exemplary embodiment of the invention. The application window display method 300 is suitable for running in a computing device that includes internal memory, is built with a desktop, and runs one or more applications. Multiple desktops can be built into a computing device, each desktop can be used to display a window of an application and be provided with a desktop background, i.e., wallpaper. The desktop background of the desktop can be replaced according to the needs, and the desktop background of each desktop can be set according to the needs; the invention does not limit the number of the desktops constructed in the computing equipment, the desktops can be realized as virtual desktops, and are not limited by the display equipment connected with the computing equipment, and the desktops displayed on the display equipment can be switched in various ways in the running process of the computing equipment.
The application may be implemented as a custom application or a system application, and the invention is not limited as to the type or nature of the application running on the computing device. And any running application in the computing equipment can display the application window on the desktop according to the application window display method in the invention.
In order to set the window of the application in a personalized way, and enable the application not to set the window by itself, and the window logic is not repeatedly set and constructed when a plurality of applications are used, the invention sets the window background of the window displayed by the application in a related way according to the desktop to be displayed by the application, and sets the implementation function of the application, so that the window and the desktop of the application use the same background and form the same theme with the desktop.
The computing device also runs an operating system, and the operating system can be realized as a linux system, a windows system and the like. The application window display method is further adapted to be executed in an operating system by a kernel of the operating system.
In the application window display method, step S310 is first executed: a first configuration attribute of a first window to be drawn by an application is obtained. The application sets first configuration attributes of the first window, wherein the first configuration attributes comprise a permission attribute, a scaling attribute, a filling attribute and a size attribute.
In the first configuration attribute, the authority attribute specifies that the first application does not draw the first window by itself, and the operating system draws the first window according to the desktop to be displayed by the first application. The authority attribute can be specifically set as: setAttribute (Qt:: WA _ NoBackground).
The zooming attribute specifies the zooming mode of the desktop background when the window background of the first window is drawn according to the desktop background, and the zooming mode comprises zooming according to the resolution of a screen and zooming according to the size of a window; the zoom attribute may be set via the parameter WallpaperScaleMode mode.
The filling attribute specifies a filling mode of the desktop background when the window background of the first window is drawn according to the desktop background, and the filling mode comprises proportional filling and uniform filling; the aspect ratio of the picture as the desktop background is kept when the picture is filled in proportion, and the aspect ratio of the picture as the desktop background is not limited when the picture is uniformly filled; the fill property may be set by the parameter wallpaperfillmodefmode.
The size attribute specifies the size of the first window to be rendered by the first application, including the length and width of the first window, etc. The size attribute may be used as an initial size of the first window, and the size of the first window may be freely adjusted after the first window is displayed on the desktop.
Subsequently, step S320 is executed to obtain a first desktop background of the desktop, and generate a second configuration attribute of the first window to be drawn by the application according to the background parameter of the first desktop background and the first configuration attribute. In order to draw a window on a desktop, a first window is drawn according to a first desktop background of the desktop, and background parameters of the first desktop background are stored in a first configuration attribute to serve as a newly added background attribute. The second configuration attribute includes the first configuration attribute and the context attribute. The computing device also comprises an external memory, and the background parameter of the first desktop background is a storage position of the first desktop background in the external memory.
According to an embodiment of the present invention, a window attribute list is further stored in the computing device, the window attribute list records window attributes that the computing device supports drawing, and after the configuration attributes of the window are stored in the window attribute list, the window can be drawn according to the configuration attributes and the configuration attributes can be modified. Specifically, during storage, the feature value of the first configuration attribute is stored in the window attribute list, that is, the configuration attribute is stored in the window attribute list.
Generating a second configuration attribute of the window to be drawn by the application according to the background parameter of the first desktop background and the first configuration attribute comprises the following steps: and judging whether the characteristic value of the first configuration attribute exists in the window attribute list, if so, adding the background parameter of the first desktop background to the first configuration attribute to generate a second configuration attribute.
And if the characteristic value of the first configuration attribute does not exist in the window attribute list, the first configuration attribute cannot be modified, the first configuration attribute of the application is obtained again, and the first configuration attribute is stored in the window attribute list.
According to one embodiment of the invention, after the second configuration attribute is generated, the second configuration attribute is stored in the internal memory. The second configuration attribute is stored in the internal memory, so that the configuration attribute of the window to be drawn can be directly obtained from the memory when the window of the application is drawn, the configuration attribute does not need to be obtained from the application every time, and the speed of drawing the window of the application is improved.
Furthermore, when the parameters of the desktop are modified or the window is changed, for example, when the desktop background of the desktop is changed or the size of the window is changed, the configuration attributes can be directly obtained from the internal memory, the configuration attributes are modified, and the desktop background is redrawn according to the modified configuration attributes, so that the drawn window is redrawn quickly, and the window is modified.
Finally, step S330 is executed, a first desktop background is obtained according to the second configuration attribute, and a first window of the application is drawn on the desktop. The second configuration attribute may be retrieved from the internal memory when the second configuration attribute is needed.
The second configuration attribute comprises a background attribute, and the first configuration attribute specifically comprises a background attribute, a permission attribute, a zoom attribute, a fill attribute and a size attribute.
The second configuration attribute comprises a plurality of first window parameters, and the background attribute, the permission attribute, the scaling attribute, the filling attribute and the size attribute are all the first window parameters in the second configuration attribute.
According to an embodiment of the present invention, before drawing the first window, it is further determined whether each first window parameter in the second configuration attribute is valid, and it is specifically determined whether a background attribute, a permission attribute, a zoom attribute, a fill attribute, and a size attribute in the second configuration attribute are all configured, if each first window parameter in the second configuration attribute has a specific value, the first window is drawn normally, and if the window cannot be drawn normally, the attribute is configured to be reconfigured.
If each first window parameter in the second configuration attribute is valid, then the first desktop background is obtained according to the second configuration attribute, specifically, the first window can be drawn by the operating system according to the permission attribute, and then the storage position of the first desktop background in the external memory is determined according to the background attribute.
The first desktop background is then retrieved from the external memory according to the storage location. When a first window of an application is drawn according to a first desktop background and a plurality of first window parameters, the size of the window background of the first window is determined according to the first window parameters, specifically according to a scaling attribute, a filling attribute and a size attribute, and when the first desktop background is determined to be used as the window background of the first window, the processing mode of the first desktop background is required, including the scaling mode, the filling mode and the size of the window background obtained by processing.
And finally, drawing the first window of the application according to the size of the window background of the first window and the background of the first desktop. Specifically, adding a preset texture to the first desktop background, and drawing the first desktop background added with the texture into a window background of a first window according to the size of the window background; and then, drawing a plurality of components required to be displayed by the first window based on the window background of the first window to obtain the first window. When the window background is drawn, a preset texture needs to be added to the desktop background serving as the window background. The preset texture is a special style rule added to the window background, and can be preset. The preset texture can be modified, and after modification, the first window needs to be drawn again according to the modified preset texture.
The invention does not limit the drawing position of the first window, and if the first window needs to be drawn on other desktops, the first window can be drawn by newly building other desktops or on other existing desktops.
According to one embodiment of the invention, when an adjustment instruction for adjusting the window of the application is received, a third configuration attribute of a second window to be drawn by the application is obtained. The adjustment instruction may be triggered by a user for adjusting a window of an application, may change a size of the window, and the like. The third configuration attribute may be obtained by modifying according to the first configuration attribute, for example, by modifying a size attribute in the first configuration attribute.
And then, acquiring a first desktop background of the desktop, and generating a fourth configuration attribute of the second window to be drawn by the application according to the background parameter and the third configuration attribute of the first desktop background. And when the fourth configuration attribute is generated, adding a storage position of the first desktop background in the external memory as the background attribute of the fourth configuration attribute in the third configuration attribute to obtain the fourth configuration attribute.
The fourth configuration attribute may then be stored in the internal memory for drawing the second window according to the fourth configuration attribute. The fourth configuration attribute includes a plurality of second window parameters: a background attribute, a permission attribute, a zoom attribute, a fill attribute, and a size attribute.
And finally, acquiring a fourth configuration attribute from the internal memory, and drawing a second window of the application on the desktop according to the fourth configuration attribute. When a second window of the application is drawn on the desktop according to the fourth configuration attribute, acquiring a first desktop background from an external memory according to a background attribute in a second window parameter in the second window, and determining the window background size of the second window according to a scaling attribute, a filling attribute and a size attribute in the second window parameter; and finally, drawing the second window of the application according to the window background size of the second window and the background of the first desktop.
According to one embodiment of the invention, when the desktop background of the desktop is changed from the first desktop background to the second desktop background, the fifth configuration attribute is generated according to the background parameter of the second desktop background and the second configuration attribute for drawing the first window. And when the fifth configuration attribute is generated, modifying the background attribute in the second configuration attribute to a background parameter of the second desktop background, namely the storage position of the second desktop background in the external memory, so as to obtain the fifth configuration attribute.
The fifth configuration attribute may then be stored in an internal memory. And finally, acquiring a fifth configuration attribute from the internal memory, and drawing a third window of the application on the desktop according to the fifth configuration attribute. The fifth configuration attribute includes a plurality of third window parameters: a background attribute, a permission attribute, a zoom attribute, a fill attribute, and a size attribute.
And when the third window of the application is drawn, acquiring a second desktop background from the external memory according to the background attribute, determining the size of the window background of the third window according to the scaling attribute, the filling attribute and the size attribute in the first window parameter, and then drawing the third window of the application according to the size of the window background of the third window and the second window background.
According to one embodiment of the invention, when a user uses an operating system and an application, desktop display options are provided for the user, the desktop display options comprise a special effect mode and a common mode, and when the user selects the special effect mode, the window of the application is displayed according to the application window display method provided by the invention.
The invention discloses an application window display method which is suitable for being executed in computing equipment. The method comprises the steps of acquiring a first configuration attribute of a first window to be drawn by an application when the first window of the first application is drawn, then acquiring a first desktop background of the desktop, generating a second configuration attribute of the first window to be drawn by the application according to a background parameter of the first desktop background and the first configuration attribute, then acquiring the first desktop background according to the second configuration attribute, and drawing the first window of the application on the desktop. According to the method and the device, the first configuration attribute of the window to be displayed by the application is obtained, and the first configuration attribute is modified according to the first desktop background of the desktop, so that the window of the application can be drawn on the desktop according to the desktop background, the speed of drawing the window by the application is increased, and the use experience of the operating system and the application of a user is improved. In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects.
Those skilled in the art will appreciate that the modules or units or groups of devices in the examples disclosed herein may be arranged in a device as described in this embodiment, or alternatively may be located in one or more devices different from the devices in this example. The modules in the foregoing examples may be combined into one module or may be further divided into multiple sub-modules.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. Modules or units or groups in embodiments may be combined into one module or unit or group and may furthermore be divided into sub-modules or sub-units or sub-groups. All of the features disclosed in this specification, and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except that at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification may be replaced by an alternative feature serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments.
Furthermore, some of the described embodiments are described herein as a method or combination of method elements that can be performed by a processor of a computer system or by other means of performing the described functions. A processor having the necessary instructions for carrying out the method or method elements thus forms a means for carrying out the method or method elements. Further, the elements of the apparatus embodiments described herein are examples of the following apparatus: the apparatus is used to implement the functions performed by the elements for the purpose of carrying out the invention.
The various techniques described herein may be implemented in connection with hardware or software or, alternatively, with a combination of both. Thus, the methods and apparatus of the present invention, or certain aspects or portions thereof, may take the form of program code (i.e., instructions) embodied in tangible media, such as floppy diskettes, CD-ROMs, hard drives, or any other machine-readable storage medium, wherein, when the program is loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing the invention.
In the case of program code execution on programmable computers, the computing device will generally include a processor, a storage medium readable by the processor (including volatile and non-volatile memory and/or storage elements), at least one input device, and at least one output device. Wherein the memory is configured to store program code; the processor is configured to execute the application window display method of the present invention according to instructions in the program code stored in the memory.
By way of example, and not limitation, computer readable media may comprise computer storage media and communication media. Computer-readable media includes both computer storage media and communication media. Computer storage media store information such as computer readable instructions, data structures, program modules or other data. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. Combinations of any of the above are also included within the scope of computer readable media.
As used herein, unless otherwise specified the use of the ordinal adjectives "first", "second", "third", etc., to describe a common object, merely indicate that different instances of like objects are being referred to, and are not intended to imply that the objects so described must be in a given sequence, either temporally, spatially, in ranking, or in any other manner.
While the invention has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of this description, will appreciate that other embodiments can be devised which do not depart from the scope of the invention as described herein. Furthermore, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter. Accordingly, many modifications and variations will be apparent to practitioners skilled in this art. The disclosure of the present invention is intended to be illustrative, but not limiting, of the scope of the invention.

Claims (10)

1. An application window display method adapted to be executed in a computing device having a desktop built therein and one or more applications running thereon, the method comprising the steps of:
acquiring a first configuration attribute of a first window to be drawn by the application;
acquiring a first desktop background of the desktop, and generating a second configuration attribute of a first window to be drawn by the application according to a background parameter and a first configuration attribute of the first desktop background;
and acquiring a first desktop background according to the second configuration attribute, and drawing a first window of the application on the desktop.
2. The method of claim 1, wherein the computing device further has stored therein a list of window attributes, the method further comprising the steps of:
storing the characteristic value of the first configuration attribute in the window attribute list;
the step of generating a second configuration attribute of the window to be drawn by the application according to the background parameter and the first configuration attribute of the first desktop background comprises the following steps:
judging whether the characteristic value of the first configuration attribute exists in the window attribute list or not;
and if so, adding the background parameter of the first desktop background to the first configuration attribute to generate a second configuration attribute.
3. The method of claim 1 or 2, wherein the second configuration attribute comprises a plurality of first window parameters, and the step of obtaining a first desktop background according to the second configuration attribute and drawing a first window of the application on the desktop comprises the steps of:
judging whether each first window parameter in the second configuration attribute is valid;
if each first window parameter in the second configuration attribute is valid, acquiring a first desktop background according to the second configuration attribute, and drawing the first window of the application according to the first desktop background and the plurality of first window parameters.
4. The method of claim 3, wherein said drawing a first window of said application in accordance with said first desktop background and a plurality of first window parameters comprises the steps of:
determining the size of a window background of the first window according to the first window parameter;
and drawing the first window of the application according to the size of the window background of the first window and the first desktop background.
5. The method according to any one of claims 1-4, wherein the method further comprises the step of:
when an adjusting instruction for adjusting the window of the application is received, acquiring a third configuration attribute of a second window to be drawn by the application;
acquiring a first desktop background of the desktop, and generating a fourth configuration attribute of a second window to be drawn by the application according to a background parameter and a third configuration attribute of the first desktop background;
and drawing a second window of the application on the desktop according to the fourth configuration attribute.
6. The method of claim 5, wherein the fourth configuration attribute comprises a plurality of second window parameters, and wherein drawing the second window of the application on the desktop according to the fourth configuration attribute comprises:
determining the window background size of the second window according to the second window parameter;
and drawing the second window of the application according to the window background size of the second window and the first desktop background.
7. The method according to any one of claims 1-4, wherein the method further comprises the step of:
when the desktop background of the desktop is changed from a first desktop background to a second desktop background, generating a fifth configuration attribute according to the background parameter of the second desktop background and a second configuration attribute for drawing the first window;
and drawing a third window of the application on the desktop according to the fifth configuration attribute.
8. The method of claim 7, wherein the fifth configuration attribute comprises a plurality of third window parameters, and wherein drawing a third window of the application on the desktop according to the fifth configuration attribute comprises:
determining the size of the window background of the third window according to the third window parameter;
and drawing the third window of the application according to the size of the window background of the third window and the second window background.
9. A computing device, comprising:
one or more processors;
a memory; and
one or more apparatuses comprising instructions for performing the method of any of claims 1-8.
10. A computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a computing device, cause the computing device to perform the method of any of claims 1-8.
CN202111578998.XA 2021-12-22 2021-12-22 Application window display method, computing device and storage medium Pending CN114281456A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111578998.XA CN114281456A (en) 2021-12-22 2021-12-22 Application window display method, computing device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111578998.XA CN114281456A (en) 2021-12-22 2021-12-22 Application window display method, computing device and storage medium

Publications (1)

Publication Number Publication Date
CN114281456A true CN114281456A (en) 2022-04-05

Family

ID=80874252

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111578998.XA Pending CN114281456A (en) 2021-12-22 2021-12-22 Application window display method, computing device and storage medium

Country Status (1)

Country Link
CN (1) CN114281456A (en)

Similar Documents

Publication Publication Date Title
US9715750B2 (en) System and method for layering using tile-based renderers
JP2010504559A (en) Glyph rendering and encoding
EP3137993B1 (en) Combining compute tasks for a graphics processing unit
JP6820160B2 (en) Programs and systems that render images
WO2023197762A1 (en) Image rendering method and apparatus, electronic device, computer-readable storage medium, and computer program product
US20230386431A1 (en) System and method for causing graphical information to be rendered
CN114880072A (en) Application window display method of virtual machine, computing equipment and storage medium
KR20130097886A (en) Apparatus and method for rendering
CN111460342B (en) Page rendering display method and device, electronic equipment and computer storage medium
CN114281456A (en) Application window display method, computing device and storage medium
CN114510307B (en) Dynamic wallpaper implementation method, computing device and storage medium
CN108351888B (en) Generating deferrable data streams
CN114281457A (en) Application window display method, computing device and storage medium
CN113885758A (en) Virtual screen generation method, computing device and storage medium
US9448982B2 (en) Immediate independent rasterization
CN113138820B (en) Video data processing method, device, computing equipment and readable storage medium
CN113127123B (en) Window effect generation method and computing device
JP5842029B2 (en) Information processing support apparatus, information processing apparatus, and information processing support program for caching image data
CN114780069B (en) Opening method and device for open type graphic library rendering and computing equipment
CN113504861B (en) Desktop management method and device and computing equipment
CN112380829B (en) Document generation method and device
US20240153172A1 (en) Automatically generating axes for data visualizations including data bound objects
CN118193875A (en) Page loading method and device, electronic equipment and storage medium
CN115618147A (en) Page updating method and device, computing equipment and storage medium
CN115756400A (en) Control drawing method, computing device and storage medium

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