This application claims priority to Taiwan Application Ser. No. 99122215, filed Jul. 6, 2010, which is herein incorporated by reference.
1. Technical Field
The present invention relates to an electronic data processing method. More particularly, the present invention relates to a window opening and arranging method.
2. Description of Related Art
Computer is one of the most important inventions in 20th century. Command-line interface (CLI) and graphical user interface (GUI) are the mechanisms for interacting with a computer. In comparison with CLI, GUI becomes the mainstream technology since graphics are more intuitive to the user. In GUI technology, window plays an important role and becomes the most common kind of graphical interface.
Usually, each window on the screen corresponds to an application program interface. However, when the user feels like to open a new window to run a specific application program, the user has to search for the shortcut of the application program from the start menu or from its sub-menus, which is time-consuming and not intuitive.
Accordingly, what is needed is a window opening and arranging method that is able to open the window quickly and intuitively. The present disclosure addresses such a need.
An aspect of the present disclosure is to provide a window opening and arranging method adapted in a computer system. The method includes the steps as follow. A window on a screen of the computer system is provided. A continuous touch signal passing two sides of the window inputted from a command input module is detected. A relative position of the continuous touch signal with respect to the window is computed. A window allocation data is determined according to the relative position of the continuous touch signal. The window is split into a first window and a second window according to the window allocation data.
It is to be understood that both the foregoing general description and the following detailed description are by examples, and are intended to provide further explanation of the invention as claimed.
The invention can be more fully understood by reading the following detailed description of the embodiments, with reference made to the accompanying drawings as follows:
Reference will now be made in detail to the present embodiments of the invention, examples of which are illustrated in the accompanying drawings. Wherever possible, the same reference numbers are used in the drawings and the description to refer to the same or like parts.
Please refer to
Please refer to
Please refer to
A continuous touch signal 31 passing two sides of the window 30 inputted from the command input module 12 is detected in step 202. In the present embodiment, the command input module 12 is a mouse. Substantially, input modules with functions similar to the mouse such as a track ball or a combination of touch pad and input keys can be used as well. Accordingly, the continuous touch signal 31 is a track signal corresponding to a displacement of the mouse in the present embodiment. The processing module 14 shown in
As shown in
In another embodiment, as shown in
In an embodiment, when the processing module 14 detects the continuous touch signal 31, it further shows a track line on the window 30 according to the track signal.
In step 203, a relative position of the continuous touch signal 31 with respect to the window 30 is computed. Thus, the relative position and direction of the track on the windows can be obtained. A window allocation data 33 is determined by the processing module 14 in step 204 according to the relative position of the continuous touch signal 31 mentioned above. Then in step 205, the window 30 is split into a first window 30a and a second window 30b according to the window allocation data 33, as shown in
For example, the track stretching from the side 300 to the side 302 is commonly considered to be in a substantially vertical direction. Thus, the processing module 14 determines the window allocation data 33 according to the continuous touch signal 31 that is in the substantially vertical direction, to split the window into a first window 30a and a second window 30b, wherein the first window 30a and the second window 30b are allocated in a relative left-right order, as shown in
It's noticed that the term “substantially vertical” and the term “substantially horizontal” used in the above paragraph mean that the track may not be exactly vertical or horizontal and may have an angle slightly different from the exactly vertical or horizontal direction.
In an embodiment, the window 30 is evenly split into the first window 30a (or 30c) and the second window 30b (or 30d). In other embodiments, the window is split into the first and the second windows by a specific ratio according to the window allocation data 33, wherein the window allocation data 33 may include the dimension and the coordinates of each of the first and the second windows. It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the present invention without departing from the scope or spirit of the invention.
The operation system 16 provides the user interface 160 of the application program and the user interface 160 is displayed in the window 30. In an embodiment, the window 30 displays a first application program interface and after being split, the first window 30a displays the first application program interface and the second window 30b displays a default application program interface, as shown in
The window opening and arranging method in the present embodiment is able to detect the continuous touch signal 31 or 31′ and split the original window 30 according to the continuous touch signal 31 or 31′.
Please refer to
Please refer to
In step 403, a relative position of the continuous touch signal 51 with respect to the window 50 is computed. Thus, the relative position and direction of the track on the windows can be obtained. A window allocation data is determined in step 404 according to the relative position of the continuous touch signal 51 mentioned above.
Then in step 405, a first menu 53 is popped up, as shown in
In step 406, the computer system 1 receives a first user input command selecting an item from the first menu (not shown). The window 50 is divided into a first window 50a and a second window 50b according to the window allocation data computed in step 404, as shown in
In an embodiment, when the first user input command is not received within a predetermined time interval in step 406, a second menu is popped up to request a second user input command indicating whether to terminate the step of splitting the window 50.
The window opening and arranging method in the present embodiment further allows the user to select the content displayed by the split window. Further, when the selection command is not received, the second menu can make the user decide whether the window splitting process is to be terminated or not, providing the user a more flexible and convenient way to control the window splitting process. It's noticed that, the window opening and arranging method in the present embodiment can be adapted to the screen 10′ depicted in
Please refer to
It's noticed that the track of the continuous touch signal in the above embodiments passes the two opposite sides of the window, such as left/right sides or top/down sides of the window. In other embodiments, the track of the continuous touch signal passing two neighboring sides can be detected as well, such as the left/down sides, the right/top sides, the left/top sides and the right/down sides.
It will be apparent to those skilled in the art that various modifications and variations can be made to the structure of the present invention without departing from the scope or spirit of the invention. In view of the foregoing, it is intended that the present invention cover modifications and variations of this invention provided they fall within the scope of the following claims.
| Number | Date | Country | Kind |
|---|---|---|---|
| 99122215 | Jul 2010 | TW | national |