Window setting method and device

A window and window size technology, applied in the field of communication, can solve problems such as increasing the difficulty of the program, and achieve the effect of simple structure, easy operation, and avoiding discomfort

Inactive Publication Date: 2016-10-12
LETV HLDG BEIJING CO LTD +1
View PDF6 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this method will increase the difficulty of the program, and cannot fundamentally solve the problem of remaining pixels on the edge of the display area

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
  • Window setting method and device
  • Window setting method and device
  • Window setting method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in further detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

[0039] figure 1 It is a schematic flowchart of an embodiment of a method for setting a window disclosed in the present invention. As shown in the figure, in an embodiment of a method for setting a window disclosed in the present invention, it includes:

[0040] S10. Calculate the window size of the window according to the size of the display area and the window layout.

[0041] The display area refers to the area planned to display the window, specifically the selected partial area in the preset display interface; the window layout refers to the setting method and size ratio of the window, for example, the settings for each row and each column The number of windows, the size of each window or the size set according to a...

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 discloses a window setting method and device. The method comprises following steps: calculating the size of a window according to the size of a display region and window layout; determining whether any residual pixel in the window according to the window layout and the window size in the display region; eliminating residual pixels in the display region if residual pixel exists in order to obtain an actual display region; and setting the window in the actual display region based on the window size according to window layout.The window setting method and device have following beneficial effects: a series of problems for a new window induced by residual pixels by pre-calculating the presence of residual pixel, utilizing residual pixels in the display region as the display window of the actual display region such that the window can perfectly cover the display region without residual pixel; the method is operated easily and conveniently; only by adding few amount of sentences, all kinds of application environments can be compatible; and the problem that residual pixel exists in the edge of the display region is avoided.

Description

technical field [0001] The present invention relates to the technical field of communication, in particular to a method and device for setting a window. Background technique [0002] When making the visual interface of the software, it is necessary to set the display mode of the window through the control. In many window setting scenarios, it is necessary to adjust the size of the window according to the specific size of the display screen (pixel resolution) to adapt to different display devices; for example, a software is usually divided into a mobile phone version and a tablet version, and the Screen resolutions are usually different, and even different models of mobile phones have different screen resolutions. If you use a unified method to set the display mode of the window, you can simplify the program statement, reduce the workload, and facilitate later maintenance. [0003] When a window is displayed in a display area of ​​different sizes according to a certain ratio...

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/44G06F3/0481
CPCG06F3/0481G06F8/34
Inventor 郦龙
Owner LETV HLDG BEIJING CO LTD
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