Implementation method for control of slider

An implementation method and sliding bar technology, applied in the field of communication, can solve problems such as difficult maintenance and low programming efficiency, and achieve the effect of simple interface

Inactive Publication Date: 2011-04-13
KONKA GROUP
View PDF4 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The existing, based on the embedded GUI graphics library that supports FrameBuffer, because the embedded GUI graphics library that supports FrameBuffer directly operates on Framebuffer, there are no basic graphics controls such as windows, labels, edit boxes, buttons, etc., the programming efficiency is low, and maintenance difficulty

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Implementation method for control of slider
  • Implementation method for control of slider
  • Implementation method for control of slider

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The present invention is based on the Linux system, supports the embedded GUI graphics library of FrameBuffer, and realizes the sliding bar control for visually displaying the GUI window interface of multi-page data operation, and when the user uses buttons to view multi-page data records, the position of the current record is displayed information.

[0022] After the system is started, the user enters the GUI window interface with multiple pages of data operations, and creates a slider control. When the user uses the up and down arrow keys on the remote control, move the cursor (focus) to a new record, and calculate the percentage of the current record in the entire record according to a certain algorithm. position in the bar, draw the position of the slider and the slider.

[0023] In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides an implementation method for a control of a slider, which comprises the following steps: a) creating and loading the control of the slider into a parent window; b) calculating the relative position of a sliding block in the slider according to operation information received by the parent window of the slider; and c) setting the relative value of the position of the sliding block into the control of the slider, calculating the coordinate of a starting point of the sliding block according to the set position value of the sliding block, and re-drawing the control of the slider. In the implementation method, when a user implements interactive operation, the control of the slider can send a message to the parent window, the relative position value of the sliding block is modified, and then the control of the slider re-draws the whole slider according to the position value of the sliding block after modification till the display of the relative position of the current record in the whole records. By adopting the implementation method, the user can conveniently and intuitively see the position of the record of the current operation, judge whether the records occur in front and behind the position, and conveniently determine whether a corresponding key can be moved continuously or not for checking the related record. The interface of the control of the slider is simple, attractive and elegant.

Description

technical field [0001] The invention relates to the technical field of communications, in particular to a method for realizing a slide bar control. Background technique [0002] Slider controls are one of the most commonly used controls in PCs. Generally speaking, it is composed of a slider, a slider and an optional scale, and the user can display the corresponding value in the corresponding control by moving the slider. Usually, there must be a label control or an edit box control near the slide control to display the corresponding value. Slide controls are widely used in applications, as can be seen in the properties of the desktop. But it's rare on embedded GUIs. [0003] The existing, based on the embedded GUI graphics library that supports FrameBuffer, because the embedded GUI graphics library that supports FrameBuffer directly operates on Framebuffer, there are no basic graphics controls such as windows, labels, edit boxes, buttons, etc., the programming efficiency ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/44
Inventor 南习清
Owner KONKA GROUP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products