A progress bar drawing method and system
A progress bar and progress technology, which is applied in the computer field, can solve the problems such as the inability to realize the control style customization, and achieve the effect of satisfying the beautiful interface and satisfying the beauty
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0061] Please refer to figure 1 , Embodiment 1 provided by the present invention is:
[0062] A window for preset scale controls on the GTK interface;
[0063] Intercept the drawing process of the progress bar;
[0064] dividing the window into a progress bar display area and a progress background area, and the size and shape of the progress bar display area and the preset progress graphic are the same;
[0065] Obtain the background color of the audio and video screen where the progress bar is located;
[0066] rendering the progress background area as the background color; rendering the progress bar display area as a preset first color;
[0067] According to the progress indicator icon of the progress bar, the progress bar display area is divided into a first area and a second area; the background of the first area is set as a preset first image; the background of the second area is set as Preset the second image;
[0068] If the position of the progress indicator icon ...
Embodiment 2
[0071] Please refer to figure 2 , the second embodiment of the present invention is:
[0072] The window of the proportion control is preset on the GTK interface through the preset module, and the preset window is sent to the first split module; the interception module intercepts the drawing process of the progress bar; the first split module splits the window into a progress bar display area And the progress background area, the size and shape of the progress bar display area and the preset progress graphic are the same, and the segmentation result is sent to the first rendering module; the first acquisition module acquires the background color of the audio and video picture where the progress bar is located, And send the obtained result to the first rendering module; the first rendering module is used to render the progress background area as the background color; render the progress bar display area as the preset first color; the second segmentation module according to the...
Embodiment 3
[0073] Please refer to Figure 3 to Figure 4 , Embodiment three of the present invention is:
[0074] Set a proportional control window on the GTK interface, and use the signal binding function to bind the signal of the proportional control to a custom static function. The static function is used to intercept the drawing event of the control; divide the window into a progress bar display area And the progress background area, the size and shape of the progress bar display area and the preset progress graphic are the same; obtain the background color of the audio and video screen where the progress bar is located; render the progress background area as the background color; render the progress bar The display area is the default first color;
[0075] According to the progress indicator icon of the progress bar, the progress bar display area is divided into a first area and a second area; the background of the first area is set as a preset first image; the background of the sec...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com