CN1306387C - The rendering method of the toolbar of the application - Google Patents
The rendering method of the toolbar of the application Download PDFInfo
- Publication number
- CN1306387C CN1306387C CNB2004100004066A CN200410000406A CN1306387C CN 1306387 C CN1306387 C CN 1306387C CN B2004100004066 A CNB2004100004066 A CN B2004100004066A CN 200410000406 A CN200410000406 A CN 200410000406A CN 1306387 C CN1306387 C CN 1306387C
- Authority
- CN
- China
- Prior art keywords
- toolbar
- height
- length
- active window
- space distance
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 17
- 238000009877 rendering Methods 0.000 title 1
- 238000010586 diagram Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
本发明涉及一种应用程序的工具列的呈现方法,当桌面上的活动窗口有标题栏时,判断其标题栏的大小是否可以容置工具栏,如果可以则将工具栏移动至标题栏的位置,否则判断活动窗口以外的空间是否可以容置工具栏,如果可以则将工具列移动至该空间,并将工具栏紧贴于活动窗口的边缘,否则缩小工具栏成一个图标,并置入工作列右方的图标区。
The present invention relates to a method for presenting a toolbar of an application program. When an active window on a desktop has a title bar, it is determined whether the size of the title bar can accommodate the toolbar. If so, the toolbar is moved to the position of the title bar. Otherwise, it is determined whether the space outside the active window can accommodate the toolbar. If so, the toolbar is moved to the space and the toolbar is closely attached to the edge of the active window. Otherwise, the toolbar is reduced to an icon and placed in the icon area on the right side of the taskbar.
Description
技术领域technical field
本发明涉及一种有关于应用程序的工具栏的呈现方法,特别涉及结合一活动窗口呈现该工具栏的方法。The invention relates to a method for presenting a toolbar related to an application program, in particular to a method for presenting the toolbar in conjunction with an active window.
背景技术Background technique
一般来说,窗口操作系统上可同时激活多个应用程序,大部分的应用程序大多以窗口型态的方式呈现,各窗口分别并列或是重叠于桌面上。当使用者要使用其中某一个应用程序时,可以将应用程序的窗口最大化,以方便操作。而暂时不会使用到的应用程序,可将其窗口最小化缩入工作列中,以免妨碍其它应用程序的操作,当要使用该应用程序时,再将其窗口还原至桌面上。Generally speaking, multiple application programs can be activated on the window operating system at the same time, most of the application programs are presented in the form of windows, and each window is juxtaposed or overlapped on the desktop. When the user wants to use one of the application programs, the window of the application program can be maximized to facilitate operation. For applications that will not be used temporarily, their windows can be minimized and shrunk into the work column, so as not to hinder the operation of other applications. When the application is to be used, its window can be restored to the desktop.
应用程序除了以窗口的方式呈现之外,还可以工具栏形式呈现。目前市面上以工具栏形式呈现的应用程序相当广泛,诸如输入法、翻译软件、及快捷工具栏...等。一般工具栏呈现的方式多半是:固定在桌面的四周、固定桌面上某一位置、或浮动显示于桌面上。而且,工具栏通常显示在桌面的最上层,让使用者不必将工具栏切换成为活动窗口,就能直接执行工具栏的应用程序,达到使用上的便利。但是,也由于工具栏是显示在桌面的最上层,所以常常会遮住其它窗口的内容,妨碍使用者接收其所显示的信息,造成操作上的不方便。因而,当使用者暂时不会使用该工具栏应用程序时,反而会觉得它是个累赘而将它关闭,等需要使用时再开启,如此使工具栏直接使用的优势丧失殆尽。In addition to being presented as a window, the application program can also be presented as a toolbar. Currently, there are a wide range of application programs in the form of toolbars on the market, such as input methods, translation software, and shortcut toolbars, etc. Generally, toolbars are presented in the following ways: fixed around the desktop, fixed at a certain position on the desktop, or floating on the desktop. Moreover, the toolbar is usually displayed on the top layer of the desktop, so that the user can directly execute the application program of the toolbar without switching the toolbar into an active window, thereby achieving convenience in use. However, also because the toolbar is displayed on the top layer of the desktop, it often covers the contents of other windows, hinders the user from receiving the displayed information, and causes inconvenience in operation. Therefore, when the user will not use the toolbar application for the time being, he will feel that it is a burden and close it, and then open it when he needs to use it, so that the advantage of the toolbar's direct use is lost.
大部分以工具栏形式呈现的应用程序,由于该应用程序必须经常使用,故以工具栏形式呈现在桌面最上层,方便使用者随时使用,也因为其出现于桌面的最上层,因此常有遮住其它窗口内容的情形。Most of the application programs presented in the form of toolbars, because the application programs must be used frequently, are presented in the form of toolbars on the top of the desktop, which is convenient for users to use at any time, and because they appear on the top of the desktop, they are often hidden. The case of saving the contents of other windows.
发明内容Contents of the invention
本发明的目的在于提供一种工具栏的呈现方法,让工具栏能够自动移动到合适的位置,而不会遮住使用中的窗口,且工具栏切换成非活动窗口时,还可将工具栏以半透明显示,避免遮住下层窗口的内容。The purpose of the present invention is to provide a method for presenting a toolbar, so that the toolbar can be automatically moved to a suitable position without covering the window in use, and when the toolbar is switched to an inactive window, the toolbar can also be Displayed semi-transparently to avoid obscuring the contents of the underlying window.
本发明所提出的工具栏的呈现方法,包含有下列步骤:The presentation method of the toolbar proposed by the present invention includes the following steps:
首先,设置一时间间隔,并根据此时间间隔定时地搜寻正在使用的窗口或显示于桌面最上层的窗口(简称为活动窗口);判断活动窗口是否有一标题栏,当活动窗口有标题栏时,判断其标题栏的大小是否可以容置工具栏,计算该工具栏的长度和高度;计算该标题栏的长度和高度;判断该标题栏的长度和高度大于该工具栏的长度和高度将工具栏移动至标题栏的位置,标题栏的长度和高度不大于该工具栏的长度和高度执行下列步骤;计算活动窗口与邻近窗口之间的空间距离,从中选择一个最大的空间距离(或依照活动窗口的上、下、左及右任意的顺序选择一个空间距离),将工具栏移动至该空间距离,并将工具栏紧贴于活动窗口的边缘。此外,当工具栏切换成非活动窗口时,还可将工具栏以半透明显示,即使工具栏遮住下层窗口,使用者仍可看见下层窗口的内容,而不会妨碍使用者对于信息的接收。另外,当桌面上无法容置工具栏时或使用者暂时不会使用该工具栏的应用程序时,还可以将工具栏缩至工作列右方的图标区。First, set a time interval, and regularly search for the window in use or the window displayed on the top layer of the desktop (referred to as the active window) according to this time interval; judge whether the active window has a title bar, and when the active window has a title bar, Determine whether the size of the title bar can accommodate the toolbar, calculate the length and height of the toolbar; calculate the length and height of the title bar; determine that the length and height of the title bar are greater than the length and height of the toolbar Move to the position of the title bar, and the length and height of the title bar are not greater than the length and height of the toolbar. Perform the following steps; calculate the space distance between the active window and adjacent windows, and choose a maximum space distance (or according to the active window Select a space distance in any order of top, bottom, left and right), move the toolbar to the space distance, and stick the toolbar to the edge of the active window. In addition, when the toolbar is switched to an inactive window, the toolbar can also be displayed translucently, even if the toolbar covers the lower window, the user can still see the content of the lower window without hindering the user's reception of information . In addition, when the toolbar cannot be accommodated on the desktop or the user will not use the application program of the toolbar temporarily, the toolbar can also be shrunk to the icon area on the right of the taskbar.
有关本发明具体可行的实施方式,就配合附图说明如下。Concrete and feasible implementation modes of the present invention are described as follows with reference to the accompanying drawings.
附图说明Description of drawings
图1至图5本发明所提出的应用程序的工具栏的呈现方法的示意图;1 to 5 are schematic diagrams of the presentation method of the toolbar of the application program proposed by the present invention;
图6为本发明所提出的应用程序的工具栏的呈现方法的流程图;FIG. 6 is a flowchart of a method for presenting a toolbar of an application program proposed by the present invention;
图7为本发明所提出的活动窗口具有一标题栏时的流程图;及Fig. 7 is a flow chart when the active window proposed by the present invention has a title bar; and
图8为本发明所提出的活动窗口与邻近窗口之间具有一空间距离时的流程图。FIG. 8 is a flow chart of the present invention when there is a space distance between the active window and adjacent windows.
附图标记说明Explanation of reference signs
10 工具栏 20 图示区 30 桌面10 Toolbar 20 Graphics Area 30 Desktop
52 活动窗口 54 标题栏 55 下层窗口 56 邻近窗口52 Active Window 54 Title Bar 55 Lower Window 56 Adjacent Window
步骤100 设置一时间间隔,并根据该时间间隔定时搜寻活动窗口
步骤110 当标题栏可以容置工具栏时,工具栏移动至标题栏
步骤120 当活动窗口以外的空间可以容置工具栏时,工具栏移动至该空间并紧贴活动窗口
步骤200 计算工具栏的长度与高度
步骤210 计算标题栏的长度与高度
步骤220 判断标题栏的长度与高度是否大于工具栏的长度与高度
步骤230 工具栏移动至标题栏
步骤240 判断空间距离是否可以容置工具栏
步骤300 计算空间距离的长度与高度
步骤310 判断空间距离的长度与高度是否大于工具栏的长度与高度
步骤320 工具栏移动至空间距离并紧贴活动窗口
步骤330 判断空间距离的高度与长度是否大于工具栏的长度与高度
步骤340 工具栏旋转九十度移动至空间距离并紧贴活动窗口
步骤350 工具栏缩入图标区
具体实施方式Detailed ways
图1至图5为本发明的应用程序的工具栏的呈现方法的示意图,并以窗口操作系统的工作环境为例,分别作如下的说明:Fig. 1 to Fig. 5 are the schematic diagrams of the presentation method of the tool bar of the application program of the present invention, and take the working environment of the window operating system as an example, respectively make the following explanations:
如图1所示,本发明的应用程序的工具栏10,每隔一段时间会自动搜寻桌面30最上层的应用程序的窗口,称之为活动窗口52,当活动窗口52具有标题栏54时,执行下列步骤:计算工具栏10的长度与高度;计算该标题栏54的长度与高度;当标题栏54的长度与高度大于工具栏10的长度与高度时,将工具栏10移动至标题栏54后半段的位置。为了避免工具栏10会遮住活动窗口52的标题,可设定标题栏54的长度必须大于工具栏10的长度一个预定值或预定比例,才将工具栏10移动至标题栏54后半段的位置。As shown in Figure 1, the toolbar 10 of the application program of the present invention can automatically search for the window of the application program on the top of the desktop 30 every once in a while, which is called an active window 52. When the active window 52 has a title bar 54, Carry out following steps: calculate the length and height of toolbar 10; Calculate the length and height of this title bar 54; When the length and height of title bar 54 are greater than the length and height of tool bar 10, tool bar 10 is moved to title bar 54 position in the second half. In order to avoid that the toolbar 10 can cover the title of the active window 52, it can be set that the length of the title bar 54 must be greater than a predetermined value or a predetermined ratio of the length of the toolbar 10 before the toolbar 10 is moved to the second half of the title bar 54. Location.
如图2所示,当活动窗口52没有标题栏54时,或标题栏54的面积无法容置工具栏10时,则搜寻活动窗口与邻近窗口56之间是否具有一个空间距离,而空间距离为活动窗口的上、下、左、右与邻近窗口56之间相距的区块。并执行下列步骤:首先,计算空间距离的长度与高度,并选取一个最大的空间距离(或依照活动窗口的上、下、左及右任意的顺序选择一个空间距离);判断空间距离的长度与高度大于工具栏10的长度与高度时,将工具栏10移动至空间距离并紧贴该活动窗口52。As shown in Figure 2, when the active window 52 does not have a title bar 54, or when the area of the title bar 54 cannot accommodate the tool bar 10, then search whether there is a space distance between the active window and the adjacent window 56, and the space distance is Blocks between the top, bottom, left, and right of the active window and the distance between adjacent windows 56 . And perform the following steps: first, calculate the length and height of the space distance, and choose a maximum space distance (or select a space distance according to the order of the top, bottom, left and right of the active window); judge the length and height of the space distance When the height is greater than the length and height of the toolbar 10 , the toolbar 10 is moved to a spatial distance and close to the active window 52 .
如图3所示,当判断空间距离的高度与长度大于工具栏10的长度与高度时,将工具栏10旋转90度,并移动工具栏10至空间距离且紧贴活动窗口52。As shown in FIG. 3 , when it is judged that the height and length of the space distance are greater than the length and height of the toolbar 10 , the toolbar 10 is rotated 90 degrees, and the toolbar 10 is moved to the space distance and close to the active window 52 .
此外,如图4所示,当切换不同的工作窗口时,工具栏10会有遮住下层窗口55的可能,此时可将工具栏10以半透明显示,即使工具栏10遮住下层窗口55,使用者仍可看见下层窗口55的内容,而不会妨碍使用者对于信息的接收。In addition, as shown in Figure 4, when switching between different working windows, the toolbar 10 may cover the lower window 55. At this time, the toolbar 10 can be displayed translucently, even if the toolbar 10 covers the lower window 55. , the user can still see the contents of the lower window 55 without hindering the user from receiving information.
另外,如图5所示,当桌面30上没有活动窗口52或使用者暂时不会使用该工具栏10的应用程序时,还可以将工具栏10最小化成一个图标,并将该图标置入图示区20。In addition, as shown in Figure 5, when there is no active window 52 on the desktop 30 or the user will not use the application program of the toolbar 10 for the time being, the toolbar 10 can also be minimized into an icon, and the icon can be placed in the figure. display area 20.
图6为本发明的应用程序的工具栏的呈现方法的流程图,请参考图6,并作说明如下:首先,设置一个时间间隔,并根据此时间间隔定时地搜寻活动窗口(步骤100);当活动窗口的标题栏的大小可以容置工具栏时,将工具栏移动至标题栏,否则执行下列步骤(步骤110);计算活动窗口与邻近窗口之间的空间距离,将工具栏移动至空间距离,并将工具栏紧贴于活动窗口的边缘(步骤120)。Fig. 6 is the flow chart of the presenting method of the toolbar of the application program of the present invention, please refer to Fig. 6, and be described as follows: first, set a time interval, and search active window regularly according to this time interval (step 100); When the size of the title bar of the active window can accommodate the tool bar, the tool bar is moved to the title bar, otherwise the following steps are performed (step 110); the space distance between the active window and the adjacent window is calculated, and the tool bar is moved to the space distance, and attach the toolbar to the edge of the active window (step 120).
图7为本发明的活动窗口具有一标题栏时的流程图,请参考图7,并作说明如下:首先,计算工具栏的长度与高度(步骤200);计算标题栏的长度与高度(步骤210);判断标题栏的长度与高度是否大于工具栏的长度与高度时(步骤220);如果是的话则将工具栏移动至标题栏(步骤230);否则判断活动窗口与邻近窗口之间的空间距离是否可以容置工具栏(步骤240)。Fig. 7 is the flow chart when the active window of the present invention has a title bar, please refer to Fig. 7, and explain as follows: first, calculate the length and height (step 200) of tool bar; Calculate the length and height (step 200) of title bar 210); When judging whether the length of the title bar and the height are greater than the length and the height of the toolbar (step 220); if so, the toolbar is moved to the title bar (step 230); otherwise, judge the distance between the active window and the adjacent window Whether the space distance can accommodate the toolbar (step 240).
图8为本发明的活动窗口与邻近窗口之间具有一空间距离时的流程图,请参考图7,并作说明如下:首先,计算空间距离的长度与高度(步骤300);判断空间距离的长度与高度是否大于工具栏的长度与高度(步骤310);如果是的话则工具栏移动至空间距离并紧贴活动窗口(步骤320);否则判断空间距离的高度与长度是否大于工具栏的长度与高度(步骤330);如果是的话则工具栏旋转九十度移动至空间距离并紧贴活动窗口(步骤340);否则工具栏缩入窗口操作系统的图标区(步骤350)。Fig. 8 is the flow chart when there is a space distance between active window and adjacent window of the present invention, please refer to Fig. 7, and make explanation as follows: first, calculate the length and the height (step 300) of space distance; Judgment space distance Whether the length and height are greater than the length and height of the toolbar (step 310); if so, the toolbar moves to the space distance and is close to the active window (step 320); otherwise, it is judged whether the height and the length of the space distance are greater than the length of the toolbar and height (step 330); if yes, the toolbar rotates ninety degrees and moves to the space distance and is close to the active window (step 340); otherwise, the toolbar shrinks into the icon area of the window operating system (step 350).
以上所述仅为本发明其中的较佳实施例而已,并非用来限定本发明的实施范围;凡依本发明申请专利范围所作的等效变化与修饰,皆为本发明专利范围所涵盖。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the implementation scope of the present invention; all equivalent changes and modifications made according to the patent scope of the present invention are covered by the patent scope of the present invention.
Claims (4)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB2004100004066A CN1306387C (en) | 2004-01-12 | 2004-01-12 | The rendering method of the toolbar of the application |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB2004100004066A CN1306387C (en) | 2004-01-12 | 2004-01-12 | The rendering method of the toolbar of the application |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1641561A CN1641561A (en) | 2005-07-20 |
| CN1306387C true CN1306387C (en) | 2007-03-21 |
Family
ID=34866748
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB2004100004066A Expired - Fee Related CN1306387C (en) | 2004-01-12 | 2004-01-12 | The rendering method of the toolbar of the application |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1306387C (en) |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN100589076C (en) * | 2007-01-17 | 2010-02-10 | 华硕电脑股份有限公司 | Method and computer system for presenting program graphical interface in window title column |
| TW201227488A (en) * | 2010-12-29 | 2012-07-01 | Acer Inc | Method for customizing window and electronic device |
| CN102622220B (en) * | 2011-06-14 | 2015-10-28 | 小米科技有限责任公司 | A kind of plug-in interface placement method of mobile terminal |
| CN103257854B (en) * | 2012-02-21 | 2018-07-27 | 腾讯科技(深圳)有限公司 | A kind of dock management method and equipment based on the switching of more desktops |
| CN102707884B (en) * | 2012-05-02 | 2015-02-25 | 华为终端有限公司 | Interactive tool display method, interactive data acquiring method and terminal |
| CN103617036B (en) * | 2013-11-27 | 2017-11-14 | 小米科技有限责任公司 | A kind of method, apparatus and terminal device for showing plug-in unit |
| US10895970B2 (en) | 2018-06-13 | 2021-01-19 | Microsoft Technology Licensing, Llc | Display control to implement a control bar |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5588105A (en) * | 1992-11-16 | 1996-12-24 | Apple Computer, Inc. | Status bar for application windows |
| US5590264A (en) * | 1991-04-10 | 1996-12-31 | International Business Machines Corporation | Method and apparatus for graphic association of user dialog displays with primary applications in a data processing system |
| JPH1021039A (en) * | 1996-07-05 | 1998-01-23 | Kobe Nippon Denki Software Kk | Message window display system |
-
2004
- 2004-01-12 CN CNB2004100004066A patent/CN1306387C/en not_active Expired - Fee Related
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US5590264A (en) * | 1991-04-10 | 1996-12-31 | International Business Machines Corporation | Method and apparatus for graphic association of user dialog displays with primary applications in a data processing system |
| US5588105A (en) * | 1992-11-16 | 1996-12-24 | Apple Computer, Inc. | Status bar for application windows |
| JPH1021039A (en) * | 1996-07-05 | 1998-01-23 | Kobe Nippon Denki Software Kk | Message window display system |
Also Published As
| Publication number | Publication date |
|---|---|
| CN1641561A (en) | 2005-07-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CA2604763C (en) | System and method for providing a window management mode | |
| JP3478172B2 (en) | Multi-window display system and window display and deletion method | |
| US8302026B2 (en) | Multi-panel user interface | |
| US9201564B2 (en) | System and method for visually browsing of open windows | |
| CN100343790C (en) | Display device and method for managing virtual work area thereof | |
| US6326978B1 (en) | Display method for selectively rotating windows on a computer display | |
| EP2508986B1 (en) | Backing store memory management for rendering scrollable webpage subregions | |
| CN1267809C (en) | On-screen transparent keyboard interface | |
| US20030179243A1 (en) | Information-processing apparatus with virtual display function and display control method for use in the apparatus | |
| CN1201936A (en) | Digital map display scrolling method, digital map display scrolling device, and storage device for storing digital map display scrolling program | |
| JP2003345488A (en) | Method for displaying a non-uniform graphic image representing a display object on a display surface and method for updating display of a graphic image representing a display object on the display surface | |
| EP1860536A2 (en) | Touch screen device and method of selecting files thereon | |
| US20140101535A1 (en) | Multi-display apparatus and method of controlling display thereof | |
| US20060294475A1 (en) | System and method for controlling the opacity of multiple windows while browsing | |
| US20140157163A1 (en) | Split-screen user interface | |
| CN101076774A (en) | Real-time incremental scaling method | |
| CN1306387C (en) | The rendering method of the toolbar of the application | |
| US20100058227A1 (en) | Internal scroll activation and cursor adornment | |
| CN1922896A (en) | Method and device for automatically selecting a frame for display | |
| CN1957320A (en) | Navigation method, electronic device, user interface and computer program product | |
| JPH0876960A (en) | Window system | |
| WO2010111385A1 (en) | Virtual input tools | |
| KR20140064717A (en) | Task-based address bar and tabs scaling | |
| US20140089795A1 (en) | Generating a user interface | |
| CN1821959A (en) | Methods for user interface controlling system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| C17 | Cessation of patent right | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20070321 Termination date: 20120112 |