CN113608659A - Multi-window adjusting method, readable storage medium and electronic device - Google Patents

Multi-window adjusting method, readable storage medium and electronic device Download PDF

Info

Publication number
CN113608659A
CN113608659A CN202110932953.1A CN202110932953A CN113608659A CN 113608659 A CN113608659 A CN 113608659A CN 202110932953 A CN202110932953 A CN 202110932953A CN 113608659 A CN113608659 A CN 113608659A
Authority
CN
China
Prior art keywords
window
viewport
total
scroll bar
position data
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
CN202110932953.1A
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.)
Beijing Zen Ai Technology Co ltd
Original Assignee
Beijing Zen Ai 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 Beijing Zen Ai Technology Co ltd filed Critical Beijing Zen Ai Technology Co ltd
Priority to CN202110932953.1A priority Critical patent/CN113608659A/en
Publication of CN113608659A publication Critical patent/CN113608659A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • G06F3/04855Interaction with scrollbars
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a multi-window adjusting method, a readable storage medium and electronic equipment. The multi-window adjusting method of the embodiment of the invention generates a total window, draws each window on the total window, obtains the position data of the scroll bar, and moves the total window according to the position data of the scroll bar, so that the local part of the total window is displayed. Therefore, the problems that the number of windows is large, the display size of each window is too small, and the monitoring of a user on the windows is not facilitated are solved.

Description

Multi-window adjusting method, readable storage medium and electronic device
Technical Field
The invention relates to the technical field of computers, in particular to a multi-window adjusting method, a readable storage medium and electronic equipment.
Background
In the prior art, the size of the display device is limited. According to the needs of a user, a plurality of windows are often required to be opened, and the user needs to drag one or more windows concerned currently to the display area of the display device one by one. If the user needs to pay attention to more windows, each window needs to be reduced according to the size of the display device so that each window can be located in the display area. When there are many display windows, the size of each window is usually too small to be viewed by the user in order to place each window in the display area of the display device.
Disclosure of Invention
In view of the foregoing prior art, an object of the embodiments of the present invention is to provide a multi-window adjusting method, a readable storage medium, and an electronic device.
In a first aspect, an embodiment of the present invention provides a multi-window adjustment method, including
Generating a total window, and drawing each window on the total window; and
acquiring position data of a scroll bar, and moving a main window according to the position data of the scroll bar so that a part of the main window is displayed.
According to some embodiments of the present invention, the obtaining of the position data of the scroll bar and the moving of the general window according to the position data of the scroll bar so that the part of the general window is displayed includes:
creating a viewport, a size of the viewport being smaller than a size of the total window; and
moving a global window in accordance with the positional data of the scrollbar such that a portion of the global window is displayed in the viewport.
According to some embodiments of the invention, the multi-window adjustment method further comprises:
creating a first preview window of the main window according to the main window; and
creating a second preview window of the viewport in accordance with the viewport;
wherein the second preview window changes relative to the first preview window following a change in the positional data of the scrollbar.
According to some embodiments of the invention, the drawing the windows on the total window further comprises:
acquiring window information of each window and signal source information pre-associated in the window; and
and drawing each window on the total window according to the window information of each window and the signal source information pre-associated in the window.
According to some embodiments of the invention, the drawing the windows on the total window comprises:
drawing the appearance of each window according to the window information of each window; and
and drawing the video stream in each window according to the signal source information in each window.
According to some embodiments of the invention, the window information comprises coordinates of an upper left vertex of the window, a width of the window, and a height of the window, and the rendering the appearance of the window according to the window information comprises:
and drawing the appearance of the window according to the coordinates of the top left vertex of the window, the width of the window and the height of the window.
According to some embodiments of the invention, the rendering the video stream within the window according to the signal source information within the window comprises:
acquiring an image frame of a signal source according to the signal source information; and
rendering the image frame as a video stream within a window.
According to some embodiments of the invention, the obtaining of the position data of the scroll bar comprises:
acquiring position data of the scroll bar in the horizontal direction; and/or
And acquiring position data of the scroll bar in the vertical direction.
According to some embodiments of the invention, the generating an overall window comprises generating an overall window according to a predetermined aspect ratio.
In a second aspect, an embodiment of the present invention provides a readable storage medium for storing computer program instructions, including: the computer program instructions, when executed by a processor, implement a multi-window adjustment method as described in one of the above.
In a third aspect, an embodiment of the present invention provides an electronic device, including a memory and a processor, including: the one or more computer program instructions are executable by the processor to implement a multi-window adjustment method as claimed in any one of the above.
According to the technical scheme of the embodiment of the invention, the total window is generated, each window is drawn on the total window, the position data of the scroll bar is obtained, and the total window is moved according to the position data of the scroll bar, so that the local part of the total window is displayed. Therefore, the problems that the number of windows is large, the display size of each window is too small, and the monitoring of a user on the windows is not facilitated are solved.
Drawings
The above and other objects, features and advantages of the present invention will become more apparent from the following description of the embodiments of the present invention with reference to the accompanying drawings, in which:
FIG. 1 is a flow diagram of a multi-window adjustment method according to some embodiments of the invention;
FIG. 2 is a schematic illustration of a summary window according to some embodiments of the inventions;
FIG. 3 is a schematic diagram of a viewport in accordance with some embodiments of the invention;
FIG. 4 is a schematic illustration of a scrollbar according to some embodiments of the invention;
FIG. 5 is a schematic illustration of a scrollbar according to some embodiments of the invention;
FIG. 6 is a schematic illustration of a scrollbar according to some embodiments of the invention;
FIG. 7 is a schematic illustration of a preview window according to some embodiments of the present invention;
FIG. 8 is a schematic diagram of a multi-window adjustment apparatus according to some embodiments of the invention;
fig. 9 is a schematic diagram of an electronic device of an embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention.
Further, those of ordinary skill in the art will appreciate that the drawings provided herein are for illustrative purposes and are not necessarily drawn to scale.
Unless the context clearly requires otherwise, throughout the description, the words "comprise", "comprising", and the like are to be construed in an inclusive sense as opposed to an exclusive or exhaustive sense; that is, what is meant is "including, but not limited to".
In the description of the present invention, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In addition, in the description of the present invention, "a plurality" means two or more unless otherwise specified.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
FIG. 1 is a flow diagram of a multi-window adjustment method according to some embodiments of the invention.
Referring to fig. 1, a flowchart of a multi-window adjustment method according to an embodiment of the present invention includes steps 100 and 200.
Step 100, generating a total window, and drawing each window on the total window.
In an embodiment of the present invention, the summary window is the entire content available for display.
Since the physical display device size is fixed, when there are many windows on the total window, each window is very small in order to monitor multiple windows simultaneously. According to some embodiments of the invention, the size of the total window is larger than the size of the physical display device. Such that when there are many windows in an embodiment of the present invention, a portion of the total window is displayed such that each window can be presented on the physical display device in a user-friendly size.
According to some embodiments of the present invention, an overall window may be generated according to a predetermined aspect ratio. For example, the generated total window may be a total window having a height greater than a width; or, the generated total window is a total window with a width larger than a height; alternatively, the total window generated is one of equal height and width. In an embodiment of the present invention, the height may represent a dimension of the overall window in a vertical direction, and the width may represent a dimension of the overall window in a horizontal direction.
According to some embodiments of the present invention, the shape of the overall window is not limited to a rectangle, and the shape of the overall window may be other shapes, for example, a regular shape or an irregular shape.
According to some embodiments of the present invention, the drawing of each window on the total window includes two substeps, step 110 and step 120.
And step 110, acquiring window information of each window and signal source information pre-associated in the window.
According to some embodiments of the invention, the window information includes an upper left vertex coordinate of the window, a width of the window, and a height of the window.
The position of the window and the size of the window can be determined on the total window according to the window information. For example, the window is first positioned on the overall window based on the top left vertex coordinates, and the size of the window is determined based on the width of the window and the height of the window. When the total window includes a plurality of windows, the window information further includes a window map layer value. Therefore, when the shielding condition exists between the windows, the stacking sequence or the shielding condition of the windows is determined according to the window map layer value.
In the multi-window adjusting method of the embodiment of the invention, pre-associated signal source information in the window is obtained. In some embodiments of the invention, the signal source information comprises a signal source identification. In some embodiments of the present invention, the signal source information further includes a signal source address, a port number, or a signal source type. The signal source Address in the embodiment of the present invention may be an IP Address (Internet Protocol Address).
In some embodiments of the present invention, the signal source may be a local signal source or a remote signal source.
And step 120, drawing each window on the total window.
Step 120 comprises two substeps, step 121 and step 122, respectively.
And 121, drawing the appearance of each window according to the window information of each window.
Specifically, the appearance of each window is drawn on the total window according to the window information. According to some embodiments of the present invention, the window information of each window may be obtained by receiving data input by a user, that is, the window information of each window is specified by the user, for example, the coordinates of the top left vertex of each window, the width of each window, and the height of each window are specified by the user, and then the appearance of each window is drawn on the total window according to the window information specified by the user.
According to some embodiments of the invention, the window information for each window may also be obtained over a network. That is, the window information of each window is obtained through the network, and the appearance of each window is drawn on the total window according to the obtained window information of each window. The network may be a local area network or a wide area network.
According to some embodiments of the present invention, window information for each window is obtained in real time over a network.
And step 122, drawing the video stream in each window according to the signal source information in each window.
Step 122 includes two substeps, step 1221 and step 1222, respectively.
And 1221, acquiring an image frame of the signal source according to the signal source information.
Specifically, in each window, an image frame of the signal source is acquired according to the signal source information of the window.
Step 1222, render the image frame as a video stream within a window.
Specifically, the image frames of the signal source are rendered as a video stream within a window.
According to some embodiments of the invention, the rendering of the appearance of each window in step 121 and the rendering of the video stream within each window in step 122 may be real-time rendering. That is, in each update period, the appearance of each window is redrawn according to the window information, and the video stream in each window is redrawn according to the signal source information in each window.
According to some embodiments of the invention, drawing the appearance of each window in step 121 may redraw the window appearance only when the window information changes. That is, when the window position is changed, the window size is adjusted, and the layer value of the window is changed, the window appearance is redrawn. At this point, the rendering of the video stream within the window by step 122 remains in real-time.
Step 200, obtaining position data of a scroll bar, and moving a main window according to the position data of the scroll bar, so that a part of the main window is displayed.
According to some embodiments of the invention, the scrollbar comprises a slider. The slider of the embodiment of the invention can respond to the dragging of the user, so that the position data of the scroll bar of the embodiment of the invention is changed.
According to some embodiments of the invention, the position data of the scroll bar may also come from voice input, somatosensory sensors, and the like.
Step 200 includes two substeps, step 210 and step 220, respectively.
Step 210, creating a viewport, wherein the size of the viewport is smaller than the size of the total window.
According to some embodiments of the invention, the size of the viewport may be determined according to the size of the physical display device. Those skilled in the art will appreciate that the manner in which the viewport is created can be determined in conjunction with the development environment. Creating a viewport may be creating an entity as a viewport. The embodiment of the present invention may also refer to creating the viewport to determine a display area as the viewport without creating any entity, for example, obtaining the size of the physical display device, and using all or part of the physical display device as the viewport. For the case where a part of the physical display device is used as the viewport, the size of the viewport of the embodiment of the present invention may be set to set a region smaller than or equal to the size of the physical display device as the viewport. According to some embodiments of the invention, the viewport is bound (or associated) with the global window. Since the size of the viewport is smaller than that of the porthole, the viewport is a visible region, and a region outside the viewport is an invisible region, and correspondingly, a part of the porthole inside the viewport is visible, and a part of the porthole outside the viewport is invisible. In order to determine the portion of the user that needs to pay special attention to the user, the embodiment of the present invention sets the scroll bar, and changes the relative position of the viewport and the main window according to the position data generated by dragging the scroll bar by the user, thereby adjusting the content displayed in the viewport (i.e. the content displayed in the viewport is a part of the main window) according to the user's needs, as described in step 220 below.
Step 220, moving a main window according to the position data of the scroll bar, so that a part of the main window is displayed in the viewport.
According to some embodiments of the invention, the viewport location is fixed. That is, the view port of the embodiment of the present invention is located in a fixed area of the physical display device. The moving direction of the sliding block of the embodiment of the invention can be opposite to the moving direction of the main window; in other embodiments the direction of movement of the slider may be the same as the direction of movement of the overall window. That is, in some embodiments of the present invention, the position data of the scroll bar is obtained by dragging the slider, and the position data of the scroll bar is linked with the moving direction of the main window and the displacement of the main window. In some embodiments of the invention, in order to have a part of the porthole window displayed, the visible area may be set as a portion where the viewport overlaps with the porthole window.
According to some embodiments of the invention, the total window position is fixed. The moving direction of the slider is the same as the moving direction of the viewport; or the direction of slider movement is opposite to the viewport movement direction. That is, in some embodiments of the present invention, the scroll bar position data is obtained by dragging the slider, and the scroll bar position data is linked with the moving direction of the viewport and the displacement of the viewport. Meanwhile, the moving range of the viewport is limited within the boundary of the main window, and the visible area is set as the part of the viewport which is overlapped with the main window, so that the part of the main window can be displayed.
According to some embodiments of the invention, a slider is used to control the movement of the global window or viewport in the horizontal direction.
According to some embodiments of the invention, a slider is used to control movement of the global window or viewport in a vertical direction.
There are at least two situations for the updating of the viewport of embodiments of the present invention.
In case one, the scroll bar data changes, the viewport is updated. That is, the user in case one drags the slider on the scroll bar, resulting in a change in the scroll bar data, and the viewport is updated.
In case two, the viewport is updated when the scroll bar data has not changed but each window is updated. The updating of each window comprises updating of a signal source in the window and updating of window information. That is, the user in case two does not drag the slider on the scroll bar, but the viewport of the embodiment of the present invention is still updated, thereby facilitating the user's monitoring of the window that needs attention.
FIG. 2 is a schematic illustration of a total window according to some embodiments of the inventions.
As shown in FIG. 2, the summary window 100 is the entire content available for display. One or more windows may be created on the overall window 100. For example, window 101, window 102, window 103, and window 104 are created on top of the overall window 100. It should be understood that the number of windows in the embodiment of the present invention is not limited to 4, and a corresponding number of windows may be created according to the use case. For example, the corresponding window is created according to the number of signal sources.
According to some embodiments of the present invention, the signal source may be a local or remote application or a local or remote device. The equipment comprises electronic equipment such as a mobile phone, a tablet computer, a multimedia player, wearable equipment and a personal computer.
According to some embodiments of the present invention, the windows may be arranged in a tiled arrangement, in a stacked arrangement, in a spaced arrangement, and in an irregular arrangement. The positions of the windows and the positional relationship between the windows can be obtained in step 121, and are not described herein again.
According to some embodiments of the invention, the size of the windows may be the same or may be completely different. The size of the window can also be obtained in step 121, which is not described herein again.
Fig. 3 is a schematic diagram of a viewport in accordance with some embodiments of the invention.
The size of the viewport is smaller than the total window. The viewport is used to display a portion of the global window. The content of the viewport is presented on a physical display device.
Referring to fig. 3, fig. 3 is the content currently displayed by the viewport. That is, only window 101 and window 102 are currently displayed in viewport 200. In an embodiment of the invention, the content displayed by the viewport is specified by a user. For example, in some embodiments of the present invention, a user dragging a slider can change the position data of the scrollbar such that the position of the overview window changes, and thus, the content displayed by the viewport correspondingly changes. For specific operations, reference may be made to the step 220, which is not described herein again.
FIG. 4 is a schematic illustration of a scrollbar according to some embodiments of the invention.
Referring to fig. 4, a scroll bar 300 of an embodiment of the present invention includes a slider 301.
The user drags the slider 301 and the position data of the scroll bar 300 is correspondingly changed.
In the embodiment of the invention, the position data of the scroll bar can be set to be linked with the moving direction of the main window and the displacement of the main window; the scrollbar position data can also be set in linkage with the direction of movement of the viewport and the displacement of the viewport. For specific operations, reference may be made to the step 220, which is not described herein again.
FIG. 5 is a schematic illustration of a scrollbar according to some embodiments of the invention.
Referring to fig. 5, the scroll bar 310 of the embodiment of the present invention may also be arranged in the direction shown in fig. 5, which includes a slider 311. In connection with fig. 4, the horizontal direction of the global window or viewport can be controlled by the scroll bar 300 shown in fig. 4. The vertical direction of the global window or viewport is controlled by a scroll bar 310 shown in fig. 5.
FIG. 6 is a schematic diagram of a scrollbar according to some embodiments of the invention.
Referring to fig. 6, the scroll bar 320 of the embodiment of the present invention includes a slider 321 capable of controlling both the horizontal direction and the vertical direction.
FIG. 7 is a schematic illustration of a preview window according to some embodiments of the present invention.
The preview window of the present embodiment includes a first preview window 110 and a second preview window 210.
Specifically, the preview window may be obtained by step 300 and step 400.
Step 300, creating a first preview window of the main window according to the main window.
Specifically, the first preview window 110 is a thumbnail of the overview window 100 shown in fig. 2.
Step 400, create a second preview window of the viewport from the viewport.
In particular, the second preview window 210 is a thumbnail of the viewport 200 as shown in FIG. 3. Wherein the second preview window 210 changes with respect to the first preview window 110 following the change of the position data of the scroll bar. The specific implementation method can link the position of the first preview window 110 with the position of the main window 100; similarly, the position of the second preview window 210 is linked with the position of the viewport 200.
According to some embodiments of the present invention, the scroll bar and the preview window shown in fig. 6 may be combined into one control, thereby reducing the space usage. For example, the scroll bar 320 and the first preview window 110 are merged; at the same time, the slider 321 and the second preview window 210 are merged. The reference numerals of fig. 7 of the embodiment of the present invention are followed by the incorporated reference numerals. That is, dragging the second preview window 210 changes the position data of the scroll bar, and accordingly, the display content of the viewport changes, and the second preview window 210 is updated.
FIG. 8 is a schematic diagram of a multi-window adjustment apparatus according to some embodiments of the invention.
The multi-window adjusting apparatus of the embodiment of the present invention includes a generating device 10 and a calculating device 20.
The generating means 10 is used for generating a total window and drawing each window on the total window.
The computing means 20 is arranged to obtain position data of the scroll bar and to move the main window in dependence of the position data of the scroll bar such that a part of the main window is displayed.
Fig. 9 is a schematic diagram of an electronic device of an embodiment of the invention.
The multi-window adjusting method according to the embodiment of the present invention may be executed by the general electronic device 9, and when the multi-window adjusting method according to the embodiment of the present invention is executed by the general electronic device 9, the electronic device 9 includes a general hardware structure including at least the processor 91 and the memory 92. The processor 91 and the memory 92 are connected by a bus 93. The memory 92 is adapted to store instructions or programs of a multi-window adjustment method executable by the processor 91. The processor 91 may be a stand-alone microprocessor or may be a collection of one or more microprocessors. Thus, the processor 91 executes the multi-window method as an embodiment of the present invention by executing the instructions of the multi-window adjustment method stored by the memory 92 to implement processing of windows and control of a physical display control device (e.g., the display controller 94). The bus 93 connects the above components together, and also connects the above components to the display controller 94 and the IO controller 96. Input/output (I/O) devices 95 may be a mouse, keyboard, modem, network interface, touch input device, motion sensing input device, printer, and other devices known in the art. Typically, the input/output devices 95 are coupled to the system through an input/output (I/O) controller 96.
It will be apparent to those skilled in the art that embodiments of the present application may provide a multi-window adjustment method, apparatus (device) or computer program product. Thus, the multi-window adjustment of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may employ one or more computer-readable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein to implement the multi-window adjustment method.
The present application is described with reference to flowchart illustrations of multi-window adjustment methods, apparatus (devices) and computer program products according to embodiments of the application. It will be understood that each flow in the flow diagrams can be implemented by computer program instructions.
The electronic device of the embodiment of the present invention may include a processor of a general purpose computer, a special purpose computer, an embedded processor, or other programmable data processing device, and the processor of the general purpose computer, the special purpose computer, the embedded processor, or other programmable data processing device may execute the multi-window adjusting method of the embodiment of the present invention.
Another embodiment of the invention relates to a non-transitory readable storage medium storing a computer-readable program for causing a computer to perform an embodiment of some or all of the above methods.
That is, as will be understood by those skilled in the art, all or part of the steps in the method for implementing the embodiments described above may be accomplished by specifying the relevant hardware through a program, where the program is stored in a readable storage medium and includes several instructions to enable a device (which may be a single chip, a chip, etc.) or a processor (processor) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned readable storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (11)

1. A multi-window adjusting method is characterized in that the multi-window adjusting method comprises the following steps:
generating a total window, and drawing each window on the total window; and
acquiring position data of a scroll bar, and moving a main window according to the position data of the scroll bar so that a part of the main window is displayed.
2. The multi-window adjusting method according to claim 1, wherein the obtaining of the position data of the scroll bar and the moving of the main window according to the position data of the scroll bar so that the part of the main window is displayed comprises:
creating a viewport, a size of the viewport being smaller than a size of the total window; and
moving a global window in accordance with the positional data of the scrollbar such that a portion of the global window is displayed in the viewport.
3. The multi-window adjustment method according to claim 2, further comprising:
creating a first preview window of the main window according to the main window; and
creating a second preview window of the viewport in accordance with the viewport;
wherein the second preview window changes relative to the first preview window following a change in the positional data of the scrollbar.
4. The multi-window adjustment method according to claim 1, wherein said drawing each window on the total window comprises:
acquiring window information of each window and signal source information pre-associated in the window; and
generating a total window, and drawing the windows on the total window.
5. The multi-window adjustment method of claim 4, wherein the generating a total window and drawing each window on the total window comprises:
drawing the appearance of each window according to the window information of each window; and
and drawing the video stream in each window according to the signal source information in each window.
6. The multi-window adjustment method according to claim 5, wherein the window information includes coordinates of top-left vertex of the window, a width of the window, and a height of the window, and the drawing the appearance of the window according to the window information includes:
and drawing the appearance of the window according to the coordinates of the top left vertex of the window, the width of the window and the height of the window.
7. The multi-window adjustment method of claim 5, wherein the rendering the video stream in the window according to the signal source information in the window comprises:
acquiring an image frame of a signal source according to the signal source information; and
rendering the image frame as a video stream within a window.
8. The multi-window adjustment method according to claim 1, wherein said obtaining position data of the scroll bar comprises:
acquiring position data of the scroll bar in the horizontal direction; and/or
And acquiring position data of the scroll bar in the vertical direction.
9. The multi-window adjustment method of claim 1, wherein said generating an overall window comprises generating an overall window according to a predetermined aspect ratio.
10. A computer readable storage medium storing computer program instructions which, when executed by a processor, implement a multi-window adjustment method as claimed in any one of claims 1-9.
11. An electronic device comprising a memory and a processor, wherein the memory is configured to store one or more computer program instructions, wherein the one or more computer program instructions are executed by the processor to implement the multi-window adjustment method of any one of claims 1-9.
CN202110932953.1A 2021-08-13 2021-08-13 Multi-window adjusting method, readable storage medium and electronic device Pending CN113608659A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110932953.1A CN113608659A (en) 2021-08-13 2021-08-13 Multi-window adjusting method, readable storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110932953.1A CN113608659A (en) 2021-08-13 2021-08-13 Multi-window adjusting method, readable storage medium and electronic device

Publications (1)

Publication Number Publication Date
CN113608659A true CN113608659A (en) 2021-11-05

Family

ID=78308570

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110932953.1A Pending CN113608659A (en) 2021-08-13 2021-08-13 Multi-window adjusting method, readable storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN113608659A (en)

Similar Documents

Publication Publication Date Title
US9437038B1 (en) Simulating three-dimensional views using depth relationships among planes of content
US10346013B2 (en) Manipulating graphical objects
US9940013B2 (en) Display device for controlling displaying of a window and method of controlling the same
US9224237B2 (en) Simulating three-dimensional views using planes of content
US10460014B2 (en) Scrolling in large hosted data set
US9792268B2 (en) Zoomable web-based wall with natural user interface
US10101891B1 (en) Computer-assisted image cropping
WO2017063324A1 (en) Window displaying method and mobile terminal
EP2814000B1 (en) Image processing apparatus, image processing method, and program
KR20170041219A (en) Hover-based interaction with rendered content
US10678410B2 (en) Browser-based image processing
WO2016145832A1 (en) Method of operating terminal and device utilizing same
JP3705826B2 (en) Virtual three-dimensional window display control method
US10373363B2 (en) Systems and methods for visually creating and editing scrolling actions
US20110035701A1 (en) Focal point zoom
JP2010026327A (en) Device and method for controlling display device, and computer program
CN109298806B (en) Remote quick interface interaction method and device based on object recognition
US11003340B2 (en) Display device
JP2017501479A (en) Display page elements
KR20160084629A (en) Content display method and electronic device implementing the same
JP2007512610A (en) How to visualize a pointer during a conversation
JP6339550B2 (en) Terminal program, terminal device, and terminal control method
US20140075376A1 (en) Display control apparatus, storage medium, display control system, and display method
CN109766530B (en) Method and device for generating chart frame, storage medium and electronic equipment
CN113608659A (en) Multi-window adjusting method, readable storage medium and electronic device

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