[go: up one dir, main page]

TW201237730A - Method of adjusting windows and electronic device using same - Google Patents

Method of adjusting windows and electronic device using same Download PDF

Info

Publication number
TW201237730A
TW201237730A TW100108117A TW100108117A TW201237730A TW 201237730 A TW201237730 A TW 201237730A TW 100108117 A TW100108117 A TW 100108117A TW 100108117 A TW100108117 A TW 100108117A TW 201237730 A TW201237730 A TW 201237730A
Authority
TW
Taiwan
Prior art keywords
window
vertices
current
screen
display
Prior art date
Application number
TW100108117A
Other languages
Chinese (zh)
Inventor
Ning Wang
Original Assignee
Hon Hai Prec Ind 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 Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Publication of TW201237730A publication Critical patent/TW201237730A/en

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

A method of adjusting windows and an electronic device using the same are provided. The method of adjusting windows comprises following steps: recording coordinates of four vertices of a screen; recording coordinates of four vertices of a present window as displaying parameters of the present window; detecting whether a extending function of the present window is activated; obtaining a extending direction of the present window; recreating a new displaying parameters according to the extending direction of the present window, the coordinates of four vertices of the screen and the displaying parameters of the present window; drawing a new present window according to the new displaying parameters.

Description

201237730 六、發明說明: 【發明所屬之技術領域】 [0001] 本發明涉及一種顯示介面的視窗調整方法及使用該方法 的電子裝置’尤其是涉及—種根據視窗的位置調整視窗 大小的方法及使用該方法的電子裝置。 【先前技術] • [0002]近年來,數位電子產品的操作系統一般是以圖形用戶介 面來顯示,換言之,操作系統中的每一個應用程式’至 少可以有一個相對應的視窗介面,用以提供使用者進行 I 操作,此操作系統也稱為“圖形化操作系統”或“視窗 操作系統”’例如:Windows操作系統、M&c操作系統等 [0003]在一般情況下,應用程式(例如:IE流覽器等)的操作介 面通常都是以視窗形式顯示於螢幕上,且其視窗的右上 角一般設置有最小化按鈕、最大化按鈕(或還原按鈕)和 關閉按鈕。最小化按鈕直接將視窗隱藏起來,最大化按 〇 鈕則直接將視窗擴大覆蓋整個螢幕,關閉按鈕直接將視 窗關掉。隨著顯示器尺寸不斷的增大及寬屏顯示器(例如 :1 600x1200解析度的22寸顯示器)的推出,在同一螢幕 上顯示兩個或多個應用程式視窗的顯示模式已被用戶廣 為使用。 [0004] 然而,先前技術中,基本上所有的應用程式視窗對於其 視窗的調整按鈕只有最小化、最大化(或還原)功能按 鈕的情況。並且一般情況下,大部分的視窗剛打開時, 視窗處於完全覆蓋顯示幕或者位於顯示幕的中間位置。 100108117 表單編號A0101 第3頁/共30頁 1002013769-0 201237730 當同一螢幕上開啟兩個或多個應用程式視窗時,絕大部 [0005] 分的視窗會相互重疊,用戶需要通過滑鼠拖拽這些應用 程式視窗的邊框以調整視窗的位置和大小。顯然,這種 通過拖拽應用程式視窗的邊框來實現視窗的調整的方式 不便於用戶操作且耗費時間,給用戶帶來不便。 【發明内容】 有鑑於此,提供一種操作較為便捷的視窗調整方法實為 必要。 [0006] 進一步,提供一種使用該視窗調整方法的電子裝置亦實 為必要。 [0007] 一種視窗調整方法,該方法包括: [0008] 記錄螢幕的四個頂點的座標值; [0009] 實時記錄當前視窗的四個頂點的座標值,該當前視窗的 四個頂點的座標值作為當前顯示參數; [0010] 偵測視窗擴展功能是否被觸發; [0011] 判斷當前視窗的擴展方向; [0012] 根據該當前視窗的擴展方向、該螢幕的四個頂點的座標 值和該當前顯示參數,重新生成新的當前顯示參數; [0013] 根據該新的當前顯示參數,繪製新的當前視窗。 [0014] 一種使用該視窗調整方法的電子裝置,該電子裝置包括 顯示裝置、資料處理裝置及輸入裝置,該資料處理裝置 包括處理器和存儲器,該存儲器存儲視窗調整系統,該 100108117 視窗調整系統包括: 表單編號A0101 第4頁/共30頁 1002013769-0 201237730 [0015] 視窗管理模組,其用於管理在該顯示裝置的螢幕上顯示 的視窗,該視窗管理模組包括: [0016] 座標檢測單元,其用於生成該顯示裝置的螢幕的四個頂 點的座標值,並且實時記錄當前視窗的四個頂點的座標 值以作為當前顯示參數; [0017] 記錄單元,其用於存儲每一開啟的視窗的當前顯示參數 ;及 [0018] 視窗繪製單元,其用於繪製新的當前視窗,及 Ο [0019] 視窗擴展模組,其用於對該當前視窗做定向最大化擴展 ,該視窗擴展模組包括: [0020] 觸發偵測單元,其用於實時偵測該視窗擴展模組是否被 觸發,當該視窗擴展模組被觸發時產生一觸發信號; [0021] 擴展方向判斷單元,其用於根據該觸發信號判斷該當前 視窗的擴展方向;及 q [0022] 座標更新單元,其用於根據該當前視窗的擴展方向、該 顯示裝置的螢幕的四個頂點的座標值和該當前顯示參數 生成新的當前顯示參數,並將該新的當前顯示參數輸出 至該記錄單元,使該記錄單元將原存儲的該當前顯示參 數更新為該新的當前顯示參數, [0023] 其中,該處理器調用該視窗調整系統,以調整每一開啟 的視窗,並將調整後的視窗通過該顯示裝置的螢幕顯示 〇 [0024] 相較於先前技術,使用本發明視窗調整方法可以較為便 100108117 表單編號A0101 第5頁/共30頁 1002013769-0 201237730 摘1地*調整視窗’並不需要用戶通過拖拽應用程式視窗的 邊框來調整視窗。因此,使用本發明視窗調整方法可以 —定程度減少用戶的操作時間。 【實施方式】 [0025] 運订應用本發明視窗調整方法的視窗調整系統的電子裝 置可以為計算機、遊戲機等任何顯示應用程式視窗的電 子裳置’本實施方式以計算機為例進行說明。 [0026] I* ^ a ε,, >兄’其為運行應用本實施例視窗調整方法的視窗 調整系統的電子裝置一較佳示意圖。其中,該電子裝置 為。十异機系統10。計算機系統10包括顯示裝置100、資料 處理裝置200、以及輸入裝置300。 [〇〇27]顯不裝置100用於將資料以圖形化方式顯示,其可為顯示 模組 '陰極射線管(CRT)顯示器、液晶顯示器(LCD)或發 光—極體(LED)顯示幕等顯示設備。顯示裝置100包括— 螢幕1 2 0。魅哲,Λ ^ 货幕ΐ2〇為顯示裝覃1〇〇的圖像j顯示區域。螢 =120具有解析度,螢幕12轉解難通常根據在寬度和 向度上顯示沾‘士Α 的晝素數目來描述,例如1 280x1 024表示勞 2〇包含寬度上的1 280個晝素以及高度上的1〇24個畫 [0028] 100108117 2處理I置2QQ用於將資料進行處理,其包括處理器 牙存儲器220。存儲器22〇用於存儲資 用於處理存儲右六抑 ^210 220用於卢在存储器220中的資料。具體地,存健器 :存健各種應用程式432及視窗調整系 理器21〇調用 UU ^ 式似對_^ 线,以线蝴整各種應用程 表單編號A010l ®,並將生成或調整後的視窗通過顯示裝 第6頁/共30頁 ~ 1002013769-0 201237730 置100的螢幕120顯示。 [0029] 輸入裝置300可供使用者在資料處理裝置200中操作資料 ,其可為鍵盤或滑鼠等輸入設備。滑鼠在顯示裝置100的 螢幕120上以光標的形式表示。使用者可以通過滑鼠光標 發出觸發指令。 [0030] 顯示裝置100與資料處理裝置200可通過相應的傳輸介質 進行資料信號的交互傳輸。輸入裝置300可通過相應的輸 入/輸出(I/O)介面與資料處理裝置200連接。 [0031] 請參見圖2,其為應用本實施例視窗調整方法的視窗調整 系統一較佳實施方式示意圖。視窗調整系統400的各模組 均在處理器210上運行而得以實現。視窗調整系統400用 於生成相應的視窗,並根據使用者的操作對當前視窗500 做調整。視窗調整系統400包括視窗管理模組410、視窗 擴展模組420。其中,視窗管理模組410、視窗擴展模組 420均作為軟體元件存儲在存儲器220中,並且通過處理 器210來處理以實現每個軟體元件的功能。 [0032] 視窗管理模組410用於管理在螢幕120上顯示的視窗,其 中,螢幕上可以同時顯示多個視窗,而使用者當前操作 的視窗在本實施方式中稱之為當前視窗500。 [0033] 為方便描述,本實施方式在螢幕120上顯示一個視窗,而 該視窗即為當前視窗500。請配合參見圖3,其為當前視 窗500的第一狀態,即調整前狀態的示意圖。 [0034] 本實施方式螢幕120及當前視窗500皆為矩形結構,將螢 幕120左下角的頂點、左上角的頂點、右上角的頂點及右 100108117 表單編號A0101 第7頁/共30頁 1002013769-0 201237730 下角的頂點分別定義為A點、B點、C點及D點。對應地’ 將當前視窗5 0 0左下角的頂點、左上角的頂點、右上角的 頂點及右下角的頂點分別定義為A’點、B’點、C’點及 D’點。 [0035] [0036] [0037] [0038] 當前視窗500包括邊框510、標題欄520、設置於標題欄 520上功能按鈕530及内容區域540。邊框510可供用戶使 用滑鼠光標操作而改變視窗的大小。本實施方式中,功 能按鈕530是視窗擴展模組420以圖標形式表示的觸發介 面。功能按鈕530包括對應擴展功能的方向指示按鈕,如 向左擴展功能按鈕531、向右擴展功能按鈕532、向上擴 展功能按鈕533及向下擴展功能按鈕534 〇内容區域540 可顯示應用程式432的相關資訊。 請再次參見圖2,視窗管理模組410包括座標檢測單元412 、記錄單元414及視窗繪製單元416。 座標檢測單元412用於獲取顯示教::置_1 的參數,根據顯 示裝置100的參數生成與其餐幕120相應的四個頂點的座 標值,並且即時獲取當前視窗50四個頂點的座標值以 作為當前視窗500的當前顯示參數存儲於記錄單元414中 。其中,該顯示裝置1〇〇的參數包括顯示裝置1〇〇的解析 度專。例如,對於解析度為1280x1024的顯示裝置1〇〇, 則其螢幕120左下角的頂點A、左下角的頂點b、右上角的 頂點C及右下角的頂點D的座標值可分別分配為(〇,〇)、 (0, 1024)、( 1280, 1 024)及( 1 280, 0)。 記鲦單元414用於存儲每一開啟的視窗的當前顯示參數。 100108117 I單編號A0101 第8頁/共30頁 1002013769-0 201237730 [0039] [0040] [0041] Ο [0042] 〇 [0043] [0044] 視由纷製單元41 6用於根據當前視窗5〇〇的當前顯示參數 綠製當前視窗5〇〇。 在本實施方式中,視窗擴展模組42〇可以是獨立程式。在 其他變更實施方式中’視窗擴展模組42〇可以集成於視窗 管理模組41〇中。 現窗擴展模組420用於根據使用者的操作對當前視窗5〇〇 做調整。即’當其被觸發時實現當前視窗5〇〇沿默認分界 線在指定方向(例如,向左、向右、向上或向下)對應區 域做擴展。具體地’祝寅擴展模組42〇根據指定的擴展方 向,以與該擴展方向分別垂直的當前視裒5〇〇的二侧邊中 遠離該擴展方向的一侧邊所在的直線為默認分界線,將 螢幕劃分為按照該擴展方向順序排布的第一顯示區和第 二顯示區’使擴展後的當前視窗5〇〇完全覆蓋螢幕12〇的 第二顯示區’但不佔用第—顯示區。 視窗擴展模組420包括觸發偵測單元422、擴展方向判斷 單元424、及座標更新單元426。 觸發债測單元422用於即時偵測視窗擴展模組42〇是否被 觸發。具體地’觸發偵測單元422通過接收輸入裝置300 發出的觸發指令而得知視窗擴展模組42〇被觸發。例如’ 當使用者通過滑鼠游標點擊當前視窗5〇〇的功能按鈕53〇 時,觸發偵測單元422接收觸發指令並且將產生的觸發信 號發送至擴展方向判斷單元424,其中,觸發信號可為二 進位數值(例如,0000、〇〇〇]_、〇〇1〇、。 擴展方向判斷單元424用於根據接收到的觸發信號判斷當 100108117 表單編號Α0101 第9頁/共30頁 1002013769-0 201237730 前視窗500的擴展方向。具體地,擴展方向判斷單元424 通過分析接收到的觸發信號而得知當前視窗500的擴展方 向,並將當前視窗500的擴展方向發送至座標更新單元 426。例如,觸發信號0000可表示向左擴展,觸發信號 000 1可表示向右擴展,觸發信號0010可表示向上擴展, 觸發信號0011可表示向下擴展。 [0045] 座標更新單元426用於根據當前視窗500的擴展方向及記 錄的螢幕120四個頂點的座標值及當前視窗500的當前顯 示參數生成當前視窗的新顯示參數。其中,本實施方式 定義根據當前視窗500的擴展方向,以與該擴展方向分別 垂直的當前視窗500的二側邊中遠離該第一方向的一側邊 所在的直線為默認分界線,將螢幕120劃分為按照該擴展 方向順序排布的第一顯示區和第二顯示區。具體地,座 標更新單元將當前視窗500的四個頂點的座標值更新為螢 幕120的第二顯示區的四個頂點的座標值以作為當前視窗 500的新顯示參數,並將當前視窗500的該新顯示參數輸 出至視窗管理模組410的記錄單元414以作為當前視窗 500的當前顯示參數。 [0046] 應用程式模組430為多個應用程式432的集合,每一應用 程式432對應一視窗。當每一應用程式432被安裝時,其 可以向視窗管理模組410註冊,視窗管理模組410為該應 用程式432對應的視窗分配一識別字及一默認的顯示參數 作為當前顯示參數,並且將該識別字及該當前顯示參數 作為一條記錄登記於記錄單元414中。 [0047] 請參見圖4,其為本發明視窗調整方法的方法流程圖。 100108117 表單編號A0101 第10頁/共30頁 1002013769-0 201237730 [0048] 通過步驟SOI,記錄螢幕120的四個頂點的座標值。 [0049] 請配合參見圖3,如圖所示,根據螢幕解析度將螢幕 定義為一個座標平面,例如,本實施方式中,可以將勞 幕12 0的下侧邊定義為X軸,左側邊定義為γ軸,下側邊與 左側邊的交點(即螢幕12 0的左下角的頂點)定義為原點。 [0050]201237730 VI. Description of the Invention: [Technical Field] The present invention relates to a window adjustment method for a display interface and an electronic device using the same, and more particularly to a method and a method for adjusting a window size according to a position of a window An electronic device of the method. [Prior Art] • [0002] In recent years, the operating system of digital electronic products is generally displayed by a graphical user interface. In other words, each application in the operating system can have at least one corresponding window interface for providing The user performs an I operation. This operating system is also called "graphical operating system" or "window operating system". For example: Windows operating system, M&c operating system, etc. [0003] In general, applications (for example: The operation interface of the IE browser, etc. is usually displayed on the screen in the form of a window, and the upper right corner of the window is generally provided with a minimize button, a maximize button (or a restore button), and a close button. The Minimize button directly hides the window. Maximize the 〇 button to expand the window directly over the entire screen, and close the button to close the view window. As display sizes continue to increase and widescreen displays (eg, 1600x1200 resolution 22-inch displays) are introduced, the display mode for displaying two or more application windows on the same screen has been widely used by users. [0004] However, in the prior art, basically all of the application windows have only minimized, maximized (or restored) function buttons for the adjustment buttons of their windows. And in general, when most of the windows are just opened, the window is completely covered by the display screen or in the middle of the display screen. 100108117 Form No. A0101 Page 3 of 30 1002013769-0 201237730 When two or more application windows are open on the same screen, the windows of most [0005] points overlap each other. Users need to drag and drop by mouse. The borders of these application windows to adjust the position and size of the window. Obviously, this way of adjusting the window by dragging the border of the application window is not convenient for the user to operate and time consuming, which brings inconvenience to the user. SUMMARY OF THE INVENTION In view of the above, it is necessary to provide a window adjustment method that is relatively convenient to operate. Further, it is also necessary to provide an electronic device using the window adjustment method. [0007] A window adjustment method, the method comprising: [0008] recording a coordinate value of four vertices of a screen; [0009] recording a coordinate value of four vertices of a current window in real time, and a coordinate value of four vertices of the current window As the current display parameter; [0010] detecting whether the window extension function is triggered; [0011] determining the extension direction of the current window; [0012] according to the extension direction of the current window, the coordinate values of the four vertices of the screen, and the current Display parameters, regenerate new current display parameters; [0013] Draw a new current window based on the new current display parameters. [0014] An electronic device using the window adjustment method, the electronic device includes a display device, a data processing device, and an input device, the data processing device includes a processor and a memory, the memory storage window adjustment system, the 100108117 window adjustment system includes : Form No. A0101 Page 4 / Total 30 Page 1002013769-0 201237730 [0015] A window management module for managing a window displayed on a screen of the display device, the window management module comprising: [0016] coordinate detection a unit for generating coordinate values of four vertices of the screen of the display device, and recording coordinate values of four vertices of the current window as current display parameters in real time; [0017] a recording unit for storing each opening Current display parameters of the window; and [0018] a window drawing unit for drawing a new current window, and [0019] a window expansion module for maximizing the orientation of the current window, the window expansion The module includes: [0020] a trigger detecting unit, configured to detect in real time whether the window expansion module is triggered, when a triggering signal is generated when the window expansion module is triggered; [0021] an extension direction determining unit for determining an extension direction of the current window according to the trigger signal; and q [0022] a coordinate updating unit for using the current The expansion direction of the window, the coordinate value of the four vertices of the screen of the display device, and the current display parameter generate a new current display parameter, and output the new current display parameter to the recording unit, so that the recording unit stores the original The current display parameter is updated to the new current display parameter, wherein the processor invokes the window adjustment system to adjust each open window and display the adjusted window through the display of the display device. [0024] Compared with the prior art, the window adjustment method of the present invention can be used more conveniently. 100108117 Form No. A0101 Page 5 / Total 30 Page 1002013769-0 201237730 Pick 1 * Adjust Window ' does not require the user to drag and drop the application window The border to adjust the window. Therefore, the window adjustment method of the present invention can be used to reduce the user's operation time to a certain extent. [Embodiment] The electronic device of the window adjustment system to which the window adjustment method of the present invention is applied may be an electronic device for displaying an application window such as a computer or a game machine. The present embodiment will be described by taking a computer as an example. [0026] I*^a ε,, > brother' is a preferred schematic diagram of an electronic device for operating a window adjustment system to which the window adjustment method of the present embodiment is applied. Wherein, the electronic device is . Ten different machine system 10. The computer system 10 includes a display device 100, a data processing device 200, and an input device 300. [〇〇27] The display device 100 is used to display data in a graphical manner, which may be a display module 'Cathode Ray Tube (CRT) display, Liquid Crystal Display (LCD) or Light-Equilibrium (LED) display screen, etc. display screen. The display device 100 includes a screen 1 220. Mei Zhe, Λ ^ The cargo screen ΐ 2〇 is the image j display area of the display frame. Firefly=120 has resolution, and screen 12 is difficult to describe. It is usually described by the number of pixels in the width and the direction of the gemstone. For example, 1 280x1 024 means that 1 280 pixels in width and height are included. 1 〇 24 paintings [0028] 100108117 2 Processing I set 2QQ for processing data, which includes the processor memory 220. The memory 22 is used to store data for processing the memory stored in the memory 220. Specifically, the saver: the various applications 432 and the window adjustment processor 21 call the UU^-like _^ line to line up the various application form numbers A010l®, and generate or adjust the The window is displayed on the screen 120 of the display page by the display page 6 / 30 pages ~ 1002013769-0 201237730. [0029] The input device 300 is operable by the user to operate the data in the data processing device 200, which may be an input device such as a keyboard or a mouse. The mouse is displayed on the screen 120 of the display device 100 in the form of a cursor. The user can issue a trigger command with the mouse cursor. [0030] The display device 100 and the data processing device 200 can perform interactive transmission of the data signals through the corresponding transmission media. Input device 300 can be coupled to data processing device 200 via a corresponding input/output (I/O) interface. [0031] Please refer to FIG. 2, which is a schematic diagram of a preferred embodiment of a window adjustment system to which the window adjustment method of the present embodiment is applied. The modules of the window adjustment system 400 are all implemented on the processor 210. The window adjustment system 400 is operative to generate a corresponding window and adjust the current window 500 according to the user's operation. The window adjustment system 400 includes a window management module 410 and a window expansion module 420. The window management module 410 and the window expansion module 420 are both stored as software components in the memory 220, and processed by the processor 210 to implement the functions of each software component. [0032] The window management module 410 is configured to manage the window displayed on the screen 120. The plurality of windows can be simultaneously displayed on the screen, and the window currently operated by the user is referred to as the current window 500 in this embodiment. [0033] For convenience of description, the present embodiment displays a window on the screen 120, and the window is the current window 500. Please refer to FIG. 3, which is a schematic diagram of the first state of the current view window 500, that is, the state before the adjustment. [0034] The screen 120 and the current window 500 of the present embodiment are all rectangular structures, and the vertices of the lower left corner of the screen 120, the vertices of the upper left corner, the vertices of the upper right corner, and the right 100108117 Form No. A0101 Page 7 / Total 30 pages 1002013769-0 The vertices of the lower corner of 201237730 are defined as point A, point B, point C, and point D, respectively. Correspondingly, the vertices of the lower left corner of the current window 500, the vertices of the upper left corner, the vertices of the upper right corner, and the vertices of the lower right corner are defined as A' point, B' point, C' point, and D' point, respectively. [0038] The current window 500 includes a bezel 510, a title bar 520, a function button 530 disposed on the title bar 520, and a content area 540. The border 510 allows the user to change the size of the window using a mouse cursor operation. In this embodiment, the function button 530 is a trigger interface that the window expansion module 420 represents in the form of an icon. The function button 530 includes a direction indication button corresponding to the extended function, such as a left extension function button 531, a rightward extension function button 532, an up-spread function button 533, and a downward extension function button 534. The content area 540 can display the related application 432. News. Referring again to FIG. 2, the window management module 410 includes a coordinate detecting unit 412, a recording unit 414, and a window drawing unit 416. The coordinate detecting unit 412 is configured to acquire a parameter of the display teaching::_1, generate a coordinate value of four vertices corresponding to the meal screen 120 according to the parameter of the display device 100, and acquire the coordinate value of the four vertices of the current window 50 in real time. The current display parameters as the current window 500 are stored in the recording unit 414. The parameter of the display device 1〇〇 includes the resolution of the display device 1〇〇. For example, for a display device with a resolution of 1280×1024, the coordinate values of the vertex A in the lower left corner of the screen 120, the vertex b in the lower left corner, the vertex C in the upper right corner, and the vertex D in the lower right corner can be respectively assigned as (〇 , 〇), (0, 1024), (1280, 1 024) and (1 280, 0). The recording unit 414 is configured to store the current display parameters of each open window. 100108117 I single number A0101 page 8 / total 30 pages 1002013769-0 201237730 [0040] [0041] [0042] [0043] [0044] The viewing unit 41 6 is used according to the current window 5〇当前 The current display parameter is green and the current window is 5〇〇. In the present embodiment, the window expansion module 42A can be an independent program. In other variant embodiments, the 'window extension module 42' can be integrated into the window management module 41. The window expansion module 420 is configured to adjust the current window according to the user's operation. That is, 'when it is triggered, the current window 5 is extended along the default boundary line in the specified direction (for example, left, right, up, or down). Specifically, the 寅 寅 expansion module 42 〇 is based on the specified extension direction, and the straight line of the side of the two sides of the current view 5 垂直 perpendicular to the extension direction is far from the extension direction. Dividing the screen into a first display area and a second display area arranged in the order of the extended direction, so that the expanded current window 5〇〇 completely covers the second display area of the screen 12〇 but does not occupy the first display area . The window expansion module 420 includes a trigger detecting unit 422, an extended direction determining unit 424, and a coordinate updating unit 426. The trigger debt measuring unit 422 is configured to detect whether the window expansion module 42 is triggered. Specifically, the trigger detection unit 422 knows that the window expansion module 42 is triggered by receiving the trigger command issued by the input device 300. For example, when the user clicks the function button 53 当前 of the current window through the mouse cursor, the trigger detection unit 422 receives the trigger instruction and sends the generated trigger signal to the extended direction determining unit 424, wherein the trigger signal may be The binary value (for example, 0000, 〇〇〇]_, 〇〇1〇, the expansion direction judging unit 424 is configured to judge according to the received trigger signal when 100108117 form number Α 0101 page 9 / total 30 pages 1002013769-0 201237730 Specifically, the extended direction determining unit 424 knows the extended direction of the current window 500 by analyzing the received trigger signal, and transmits the extended direction of the current window 500 to the coordinate updating unit 426. For example, triggering Signal 0000 may indicate expansion to the left, trigger signal 000 1 may indicate expansion to the right, trigger signal 0010 may indicate upward expansion, and trigger signal 0011 may indicate downward expansion. [0045] coordinate update unit 426 is used to expand according to current window 500 The direction and the recorded coordinates of the four vertices of the screen 120 and the current display parameters of the current window 500 generate the current view. The new display parameter, wherein the embodiment defines a line according to the extending direction of the current window 500, and a line away from a side of the two sides of the current window 500 that is perpendicular to the extending direction, which is far from the first direction, is a default point. The boundary line divides the screen 120 into a first display area and a second display area arranged in the order of the expansion direction. Specifically, the coordinate updating unit updates the coordinate values of the four vertices of the current window 500 to the second display of the screen 120. The coordinate values of the four vertices of the region are used as the new display parameters of the current window 500, and the new display parameters of the current window 500 are output to the recording unit 414 of the window management module 410 as the current display parameters of the current window 500. The application module 430 is a collection of a plurality of applications 432. Each application 432 corresponds to a window. When each application 432 is installed, it can be registered with the window management module 410. The window management module 410 Assigning a recognized word and a default display parameter to the window corresponding to the application 432 as the current display parameter, and the recognized word and the The display parameters are registered as one record in the recording unit 414. [0047] Please refer to Fig. 4, which is a flowchart of a method for adjusting the window of the present invention. 100108117 Form No. A0101 Page 10 of 30 1002013769-0 201237730 [0048] Through the step SOI, the coordinate values of the four vertices of the screen 120 are recorded. [0049] Referring to FIG. 3, as shown in the figure, the screen is defined as a coordinate plane according to the screen resolution. For example, in this embodiment, The lower side of the screen 120 is defined as the X axis, the left side is defined as the γ axis, and the intersection of the lower side and the left side (ie, the apex of the lower left corner of the screen 12 0) is defined as the origin. [0050]

則螢幕120的Α點、Β點、C點及D點的座標值可分別定義為 (〇, 0)、(0, Y )、(X , Y )及(X ,〇),其中, max max max max 六丁Then, the coordinate values of the defect point, the defect point, the C point, and the D point of the screen 120 can be defined as (〇, 0), (0, Y), (X, Y), and (X, 〇), respectively, where max max Max max six

Xmax和Ymax分別為螢幕解析度所代表的寬度和高度,並且 均為常量。相對地,可以將當前視窗5〇〇的A,點、β,點 、〇,點及〇’點的座標值分別定義為(又丫)、(^丫) 1,1 1, 2 夕 、(x2, ¥2)及(}[2, γρ,其中,X、X —、γ及1均為變量 <Xmax <Χ1<Χ2 < [max 5 0 < Y!<Y: [0051] 通過步驟S02,即時記錄當前視窗500的四個頂點的座標 值’該當前視窗500的四個頂點的座標值作為當前顯示參 數。Xmax and Ymax are the width and height represented by the resolution of the screen, respectively, and are constant. In contrast, the coordinate values of A, point, β, point, 〇, point, and 〇' point of the current window can be defined as (also 丫), (^丫) 1,1 1, 2 夕, ( X2, ¥2) and (}[2, γρ, where X, X —, γ, and 1 are variables <Xmax <Χ1<Χ2 < [max 5 0 <Y!<Y: [0051 By step S02, the coordinate value of the four vertices of the current window 500 is recorded in real time as the current display parameter.

[0052] 當該當前視窗500被緣製且顯示於螢幕12〇上時,使用者 可以用各種方式調整當前視窗500的大小,例如通過使用 滑鼠游標在螢幕120上拖動視窗至新位置或拖動視窗的頂 角或邊框來調整視窗的大小,所以本實施方式可以通過 視窗管理模組410的座標檢測單元412即時獲取當前視窗 500的A’點、B’點、C’點及D,點的座標值以作為新的 當前顯示參數,並且將該新的當前顯示參數作為當前視 窗500的當前顯示參數保存於記錄單元414中。 100108117 表單編號A0101 第11頁/共30頁 1002013769-0 201237730 [0053]通過步驟S〇3,偵測視窗擴展功能是否被觸發。 [〇〇54]彳見窗擴展模組420通過觸發偵測單元422即時偵測其是否 被觸發’當使用者通過滑鼠游標點擊當前視窗500的功能 按Ia530時,觸發偵測單元422接收觸發指令而產生觸發 信號’並將該觸發信號發送到擴展方向判斷單元424。例 如’當使用者通過滑鼠游標點擊當前視窗500的向左擴展 功能按— 531時,觸發偵測單元422接收到觸發指令而產 生觸發信號〇〇〇〇 ;當使用者通過滑鼠游標點擊當前視窗 500的向右擴展功能按鈕532時,觸發偵測單元422接收 到觸發指令而產生觸發信爾0 〇〇 i ;當使用者通過滑鼠游 標點擊當前視窗500的向上撟展功能按鈕533時,觸發偵 測單元422接收到觸發指令而產生觸發信號〇〇1〇 ;當使用 者通過滑鼠游標點擊當前視窗500的向下擴展功能按鈕 534時,觸發偵測單元422接收到觸發指令而產生觸發信 號 0011。 [0055] 通過步驟S04,判斷當前視窗500的擴展方向。 [0〇56] 當視窗擴展模組420被觸發時,擴展方向判斷單元424將 接收到的觸發信號進行分析’以確定當前視窗5〇〇的擴展 方向並將該擴展方向發送到座標更新單元4 2 6。例如,當 接收到的觸發信號為0000時,擴展方向判斷單元424可得 知當前視窗500要向左擴展;當接收到的觸發信號為〇〇〇1 時,擴展方向判斷單元424可得知當前視窗50〇要向右擴 展,當接收到的觸發信號為0〇1〇時,擴展方向判斷單元 424可得知當前視窗500要向上擴展;當接收到的觸發信 號為0011時’擴展方向判斷單元424可得知當前視窗5〇〇 100108117 表單編號A0101 第12頁/共30頁 201237730 [0057] [0058] Ο [0059] [0060][0052] When the current window 500 is edged and displayed on the screen 12, the user can adjust the size of the current window 500 in various ways, such as by dragging the window onto the screen 120 to a new location by using a mouse cursor or The top corner or the border of the window is dragged to adjust the size of the window. Therefore, the coordinate detecting unit 412 of the window management module 410 can instantly acquire the A′ point, the B′ point, the C′ point and the D of the current window 500. The coordinate value of the point is taken as the new current display parameter, and the new current display parameter is saved in the recording unit 414 as the current display parameter of the current window 500. 100108117 Form No. A0101 Page 11 of 30 1002013769-0 201237730 [0053] By step S〇3, it is detected whether the window extension function is triggered. [〇〇54] The window expansion module 420 detects whether it is triggered by the trigger detection unit 422. When the user clicks the function of the current window 500 through the mouse cursor, the trigger detection unit 422 receives the trigger. The trigger signal is generated by the instruction and sent to the extended direction determining unit 424. For example, when the user clicks the leftward extension function of the current window 500 by the mouse cursor to press 531, the trigger detection unit 422 receives the trigger command to generate a trigger signal 〇〇〇〇; when the user clicks the current through the mouse cursor When the function button 532 is extended to the right of the window 500, the trigger detecting unit 422 receives the triggering command to generate the triggering message 0 〇〇i; when the user clicks the up-scaling function button 533 of the current window 500 through the mouse cursor, The trigger detecting unit 422 receives the triggering command to generate the triggering signal 〇〇1〇; when the user clicks the downward expanding function button 534 of the current window 500 through the mouse cursor, the trigger detecting unit 422 receives the triggering instruction and generates a trigger. Signal 0011. [0055] Through step S04, the extension direction of the current window 500 is determined. [0〇56] When the window expansion module 420 is triggered, the extended direction determining unit 424 analyzes the received trigger signal to determine the extended direction of the current window 5〇〇 and transmits the extended direction to the coordinate updating unit 4 2 6. For example, when the received trigger signal is 0000, the extended direction determining unit 424 can know that the current window 500 is to be expanded to the left; when the received trigger signal is 〇〇〇1, the extended direction determining unit 424 can know the current The window 50 is to be expanded to the right. When the received trigger signal is 0〇1〇, the extended direction determining unit 424 can know that the current window 500 is to be expanded upward; when the received trigger signal is 0011, the extended direction determining unit 424 can know the current window 5〇〇100108117 Form No. A0101 Page 12/Total 30 Page 201237730 [0058] [0059] [0060]

[0061] 要向下擴展。 通過步驟SO 5,根據該當前視窗500的擴展方向、該螢幕 的四個頂點的座標值和該當前顯示參數,重新生成新的 當前顯示參數。 根據當前視窗500的擴展方向,以與該擴展方向分別垂直 的當前視窗50 0的二侧邊中遠離該擴展方向的一侧邊所在 的直線為默認分界線,將螢幕120劃分為按照該擴展方向 順序排布的第一顯示區和第二顯示區。則,調整前的當 前視窗500僅可能覆蓋部分第二顯示區,調整後的當前視 窗500則完全覆蓋第二顯示區。 以下分別以向左、向右、向上、向下調整前後的對比具 體說明調整情況。 請配合參見圖5,其為當前視窗500從初始狀態變成向左 擴展後狀態的示意圖。如圖5所示,當當前視窗500向左 擴展時,以當前視窗500的右側邊所在的直線為分界線, 將螢幕120劃分為依序向左排布的第一顯示區和第二顯示 區。其中,可將該分界線與螢幕120的上、下側邊的交點 分別定義為C1點與D1點。 座標更新單元426從視窗管理模組410的記錄單元414中 獲取螢幕120的四個頂點的座標值A(0, 0)、B(0, Y )、 max C(X ,Υ )及D(X ,0)和當前視窗500的四個頂點的 max max max 座標值Α’(Χ^Υ^'Β,(ΧΓΥ2)、(:’(X2,Y2)及D’ (Χ2, Υρ。接著,座標更新單元426將螢幕120的第二顯 不區的四個頂點的座標值分別確定為Α(0,0)、 100108117 表單編號Α0101 第13頁/共30頁 1002013769-0 201237730 B(O’Ymax)、Cl(X2,Ymax)及D】(X2,0)。然後,座標更 新單元426將當前視窗500的四個頂點的座標值分別更新 為A’(0,0)、B’(〇,Y )、C,(X γ )及D,[0061] To expand downward. Through step SO5, a new current display parameter is regenerated based on the extended direction of the current window 500, the coordinate values of the four vertices of the screen, and the current display parameter. According to the extending direction of the current window 500, a straight line of a side away from the extending direction of the two sides of the current window 50 0 perpendicular to the extending direction is a default dividing line, and the screen 120 is divided into the extending direction. The first display area and the second display area are sequentially arranged. Then, the current window 500 before adjustment may only cover part of the second display area, and the adjusted current window 500 completely covers the second display area. The following is a description of the adjustments before and after the adjustment to the left, right, up, and down, respectively. Please refer to FIG. 5, which is a schematic diagram of the current window 500 from the initial state to the left extended state. As shown in FIG. 5, when the current window 500 is expanded to the left, the screen 120 is divided into a first display area and a second display area which are sequentially arranged to the left, with the line where the right side of the current window 500 is located as a dividing line. . Here, the intersection of the boundary line and the upper and lower sides of the screen 120 may be defined as points C1 and D1, respectively. The coordinate updating unit 426 acquires the coordinate values A(0, 0), B(0, Y), max C(X, Υ), and D(X) of the four vertices of the screen 120 from the recording unit 414 of the window management module 410. , 0) and the max max max coordinate values of the four vertices of the current window 500 Α '(Χ^Υ^'Β, (ΧΓΥ2), (:'(X2, Y2), and D' (Χ2, Υρ. Then, coordinates) The updating unit 426 determines the coordinate values of the four vertices of the second display area of the screen 120 as Α(0,0), 100108117, form number Α0101, page 13/total 30 pages, 1002013769-0 201237730 B(O'Ymax) , Cl (X2, Ymax) and D] (X2, 0). Then, the coordinate updating unit 426 updates the coordinate values of the four vertices of the current window 500 to A'(0, 0), B' (〇, Y, respectively). ), C, (X γ ) and D,

Π13 X L ΙΩ 3 X (xz,0),並且將更新後的當前視窗500的四個頂點的座標 值發送至視窗管理模組41〇。 [0062] 請配合參見圖6,其為當前視窗5〇〇從初始狀態變成向右 擴展後狀態的示意圖。如圖6所示,當當前視窗向右 擴展時,以當前視窗500的左側邊所在的直線為分界線, 將螢幕120劃分為依序向右排布的第一顯示區和第二顯示 區。其中,可將該分界線與螢幕12§的上、下侧邊的交點 分別定義為B1點與A1點。 [0063] 座標更新單元426從視窗管理模組410的記錄單元414 t 獲取螢幕120的四個頂點的座標值a(〇, 〇)、b(〇, γ )、 C(XmaX,YmaX)及D(Xmax,0)和當前視窗500的四個頂點的 座標值A’(X/p'B,(&,、)、(;! (y,Y2)AD, (X2, ')。接著’座標更新單元426將螢幕120的第二顯 示區的四個頂點的座標值分別確定為A (X,〇)、 1 1 W γ_)、c(x_,Ymax)及D(x„ax,0)。然後,座標 更新單元426將當前視窗500的四個頂點的座標值分別更 新為 A’(X 〇)、B’(X Y )、C,(X ,Y )及D, 1 1 max max max (Xmax,0) ’並且將更新後的當前視窗500的四個頂點的座 標值發送至視窗管理模組410。 [0064] 請配合參見圖7 ’其為當前視窗500從初始狀態變成向上 擴展後狀態的示意圖。如圖7所示,當當前視窗500向上 擴展時,以當前視窗500的下側邊所在的直線為分界線, 100108117 表單編號A0101 第14頁/共30頁 1002013769-0 201237730 將螢幕120劃分為依序向上排布的第一顯示區和第二顯示 區。其中’可將該分界線與螢幕12 0的左、右侧邊的交點 分別定義為A2點與D2點。 [0065] 座標更新單元426從視窗管理模組410的記錄單元414中 獲取螢幕120的四個頂點的座標值a(〇, 〇) ' B(〇, Y )、 max - C(XmaX,Ymax)及D(Xmax,〇)和當前視窗500的四個頂點的 座標值Α’(Χ^γρ'Β,(XrY2)、C,(X2,Y2)及D, (XyY!)。接著,座標更新單元426將螢幕120的第二顯 ❹ 示區的四個頂點的座標值分別確定為人(〇 γ )、 2 ,;. 1 B(〇, Ymax)、C(Xmax,Ymax)及D2(Xmax,Υρ。然後,座標 更新單元4 2 6將當前視窗5 0 〇的四個頂點/的座標值分別更 新為 A’(〇,Y ) ' Β’(0, Υ )、c,(X ,‘γ )及d, max max (Xmax,') ’並且將更新後的當前視窗500的四個頂點的 座標值發送至視窗管理模組41〇 ^ [0066] ❹ 請配合參見圖8,其為當前視窗5〇〇從初始狀態變成向下 擴展後狀%的示意圖_。如圖8所示,當當前視窗5〇〇向下 擴展時,以當前視窗5〇〇的上側邊所在的直線為分界線, 將螢幕120劃分為依序向下排布的第一顯示區和第二顯示 區。其中,可將該分界線與螢幕12〇的左、右側邊的交點 分別定義為B2點與C2;點。 [0067] 座標更新單元426從視窗管理模組41〇的記錄單元414中 獲取螢幕120的四個頂點的座標值A(〇,〇)、Β(〇,γ )、 max C(Xmax’ Ymax)及D(Xmax,0)和當前視窗500的四個頂點的 座標值A,(Xi,V、B,(xrY2)、C,(X2,Y2)及D, (Xy Υ〗)。接著,座標更新單元426將螢幕120的第二顯 100108117 表單編貌Α0101 第15頁/共30頁 1002013769-0 201237730 示區的四個頂點的座標值分別確定為A(0, 0)、B (0, Υ ) L· L· 、C9(X ,Υ。)及D(X ,0)。然後,座標更新單元426 將當前視窗500的四個頂點的座標值分別更新為A’ (0, 0)、B’(0, Y9)、C’(X ,Υ9)及D’(X ,0),並 且將更新後的當前視窗500的四個頂點的座標值發送至視 窗管理模組410。 [0068] 通過步驟S06,根據該新的當前顯示參數,繪製新的當前 視窗5 0 0。 [0069] 視窗管理模組41 0將更新後的當前視窗500的四個頂點的 座標值作為新視窗顯示參數保存於記錄單元414中,接著 ,視窗管理模組410指示視窗繪製單元416在螢幕120上 以新顯示參數繪製當前視窗500。視窗繪製單元416從記 錄單元414中獲取該新顯示參數來繪製當前視窗500,以 實現當前視窗500沿指定方向(例如:向左、向右、向上 或向下)做最大化擴展。當執行完步驟S06後,轉到步驟 S02,以繼續實時獲取並且記錄當前視窗500的四個頂點 的座標值。 【圖式簡單說明】 [0070] 圖1為運行應用本實施例視窗調整方法的視窗調整系統的 電子裝置一較佳示意圖。 [0071] 圖2為應用本實施例視窗調整方法的視窗調整系統一較佳 示意圖。 [0072] 圖3為應用本實施例視窗調整方法的視窗調整系統在螢幕 上顯示當前視窗的初始狀態示意圖。 100108117 表單編號A0101 第16頁/共30頁 1002013769-0 201237730 [0073] 圖4為本實施例視窗調整方法的方法流程圖。 [0074] 圖5為當前視窗從初始狀態變成向左擴展後狀態的示意圖 〇 [0075] 圖6為當前視窗從初始狀態變成向右擴展後狀態的示意圖 〇 [0076] 圖7為當前視窗從初始狀態變成向上擴展後狀態的示意圖 〇 [0077] 〇 圖8為當前視窗從初始狀態變成向下擴展後狀態的示意圖 0 【主要元件符號說明】 [0078] 計算機系統:10 ' ' [0079] 顯示裝置:100 [0080] 螢幕:120 [0081] 資料處理裝置:200 〇 [0082] 處理單元:110 [0083] 處理器:210 [0084] 存儲器:220 [0085] 輸入裝置:300 [0086] 視窗調整系統:40 0 [0087] 視窗管理模組:410 [0088] 座標檢測單元:412 100108117 表單編號A0101 第17頁/共30頁 1002013769-0 201237730 [0089] 記錄單元:414 [0090] 視窗繪製單元:41 6 [0091] 視窗擴展模組:420 [0092] 觸發偵測單元:422 [0093] 擴展方向判斷單元: 424 [0094] 座標更新單元:426 [0095] 應用程式模組:430 [0096] 應用程式:432 [0097] 當前視窗:500 [0098] 邊框:510 [0099] 標題襴:520 [0100] 功能按鈕:530 [0101] 向左擴展功能按紐· 531 [0102] 向右擴展功能按紐: 532 [0103] 向上擴展功能按钮· 533 [0104] 向下擴展功能按鈕: 534 [0105] 内容區域:540 [0106] 步驟:SOI、S02、S03、S04、S05、S06 100108117 表單編號A0101 第18頁/共30 1 1002013769-0Π13 X L ΙΩ 3 X (xz, 0), and the coordinate values of the four vertices of the updated current window 500 are sent to the window management module 41. [0062] Please refer to FIG. 6 , which is a schematic diagram of the current window 5 变成 from the initial state to the right extended state. As shown in FIG. 6, when the current window is expanded to the right, the screen 120 is divided into a first display area and a second display area which are sequentially arranged to the right with the line of the left side of the current window 500 as a dividing line. Wherein, the boundary between the boundary line and the upper and lower sides of the screen 12 § can be defined as points B1 and A1, respectively. [0063] The coordinate updating unit 426 acquires the coordinate values a (〇, 〇), b (〇, γ), C (XmaX, YmaX), and D of the four vertices of the screen 120 from the recording unit 414 t of the window management module 410. (Xmax, 0) and the coordinate values A' of the four vertices of the current window 500 (X/p'B, (&,,), (;! (y, Y2) AD, (X2, '). Then' The coordinate updating unit 426 determines the coordinate values of the four vertices of the second display area of the screen 120 as A (X, 〇), 1 1 W γ_), c (x_, Ymax), and D (x „ax, 0), respectively. Then, the coordinate updating unit 426 updates the coordinate values of the four vertices of the current window 500 to A'(X 〇), B'(XY ), C, (X , Y ), and D, 1 1 max max max ( Xmax, 0) 'and send the coordinate values of the updated four vertices of the current window 500 to the window management module 410. [0064] Please refer to FIG. 7 'which is the state in which the current window 500 is changed from the initial state to the upward state. As shown in FIG. 7, when the current window 500 is expanded upward, the line where the lower side of the current window 500 is located is used as a dividing line, 100108117 form number A0101 page 14/total 30 page 100201376 9-0 201237730 divides the screen 120 into a first display area and a second display area arranged in order, wherein 'the boundary between the boundary line and the left and right sides of the screen 12 0 can be defined as A2 point and D2 point. [0065] The coordinate updating unit 426 acquires the coordinate values a (〇, 〇) ' B(〇, Y ), max - C (XmaX) of the four vertices of the screen 120 from the recording unit 414 of the window management module 410. , Ymax) and D(Xmax, 〇) and the coordinates of the four vertices of the current window 500 Α '(Χ^γρ'Β, (XrY2), C, (X2, Y2) and D, (XyY!). The coordinate updating unit 426 determines the coordinate values of the four vertices of the second display area of the screen 120 as human (〇γ), 2,; 1 B(〇, Ymax), C(Xmax, Ymax), and D2(Xmax, Υρ. Then, the coordinate updating unit 4 26 updates the coordinate values of the four vertices of the current window 5 0 为 to A'(〇, Y ) ' Β '(0, Υ ), c, ( X , 'γ ) and d, max max (Xmax, ') ' and send the updated coordinate values of the four vertices of the current window 500 to the window management module 41 〇 ^ [0066] ❹ Please refer to FIG. 8 It is current 5〇〇 downwardly into the window-like expanded schematic _% from the initial state. As shown in FIG. 8 , when the current window 5 〇〇 is expanded downward, the screen 120 is divided into the first display area arranged in the downward order by using the straight line of the upper side of the current window 5 为 as a dividing line. And a second display area. Wherein, the intersection of the boundary line with the left and right sides of the screen 12〇 can be defined as B2 point and C2; respectively. [0067] The coordinate updating unit 426 acquires the coordinate values A (〇, 〇), Β (〇, γ), max C (Xmax' Ymax) of the four vertices of the screen 120 from the recording unit 414 of the window management module 41A. And D(Xmax, 0) and the coordinate values A of the four vertices of the current window 500, (Xi, V, B, (xrY2), C, (X2, Y2) and D, (Xy Υ). Then, the coordinates The updating unit 426 determines the coordinate values of the four vertices of the second display 100108117 of the screen 120 as the A(0, 0), B (0, Υ, respectively. L·L· , C9(X , Υ.) and D(X , 0) Then, the coordinate updating unit 426 updates the coordinate values of the four vertices of the current window 500 to A' (0, 0), B, respectively. '(0, Y9), C'(X , Υ9) and D'(X , 0), and the coordinate values of the four vertices of the updated current window 500 are sent to the window management module 410. [0068] Step S06, according to the new current display parameter, draw a new current window 5000. [0069] The window management module 41 0 saves the coordinate values of the four vertices of the updated current window 500 as a new window display parameter. In the recording unit 414, next, the window management module 410 instructs the window drawing unit 416 to draw the current window 500 with the new display parameters on the screen 120. The window drawing unit 416 acquires the new display parameter from the recording unit 414 to draw the current window 500. To achieve maximum expansion of the current window 500 in a specified direction (for example, left, right, up, or down). After step S06 is performed, go to step S02 to continue to acquire and record the current window 500 in real time. [0070] FIG. 1 is a schematic diagram of an electronic device for operating a window adjustment system to which the window adjustment method of the present embodiment is applied. [0071] FIG. 2 is a window to which the present embodiment is applied. A preferred schematic diagram of the window adjustment system of the adjustment method. [0072] FIG. 3 is a schematic diagram showing the initial state of the current window displayed on the screen by the window adjustment system applying the window adjustment method of the embodiment. 100108117 Form No. A0101 Page 16 of 30 1002013769-0 201237730 [0073] FIG. 4 is a flowchart of a method for adjusting a window according to an embodiment of the present invention. [0074] FIG. Schematic diagram of the state in which the initial state becomes a state of expanding to the left [0075] FIG. 6 is a schematic diagram of the state in which the current window is expanded from the initial state to the right state. [0076] FIG. 7 is a schematic diagram of the state in which the current window is changed from the initial state to the upward state. 8 is a schematic diagram of a state in which the current window is changed from an initial state to a downward state. [Main component symbol description] [0078] Computer system: 10 ' ' [0079] Display device: 100 [0080] Screen: 120 [ 0081] Data processing device: 200 〇 [0082] Processing unit: 110 [0083] Processor: 210 [0084] Memory: 220 [0085] Input device: 300 [0086] Window adjustment system: 40 0 [0087] Windows management mode Group: 410 [0088] Coordinate detection unit: 412 100108117 Form number A0101 Page 17 / Total 30 pages 1002013769-0 201237730 [0089] Recording unit: 414 [0090] Window drawing unit: 41 6 [0091] Window expansion module: 420 [0092] Trigger detection unit: 422 [0093] Extension direction judgment unit: 424 [0094] coordinate update unit: 426 [0095] Application module: 430 [0096] Application: 4 32 [0097] Current Window: 500 [0098] Border: 510 [0099] Title 520: 520 [0100] Function button: 530 [0101] Leftward function button 531 [0102] Rightward function button: 532 [0103] Upscaling function button · 533 [0104] Downward function button: 534 [0105] Content area: 540 [0106] Step: SOI, S02, S03, S04, S05, S06 100108117 Form number A0101 Page 18/ Total 30 1 1002013769-0

Claims (1)

201237730 七、申請專利範圍: 1 . 一種視窗調整方法,該方法包括: 記錄螢幕的四個頂點的座標值; 實時記錄當前視窗的四個頂點的座標值,該當前視窗的四 個頂點的座標值作為當前顯示參數; 偵測視窗擴展功能是否被觸發; 判斷當前視窗的擴展方向; 根據該當前視窗的擴展方向、該螢幕的四個頂點的座標值 和該當前顯示參數,重新生成新的當前顯示參數; ^ 根據該新的當前顯示參數,繪製新的當前視窗。 2 .如申請專利範圍第1項所述之視窗調整方法,其中:通過 接收觸發指令以偵測該視窗擴展功能是否被觸發,其中, 該觸發指令為二進位數值。 3 .如申請專利範圍第2項所述之視窗調整方法,其中:通過 接收觸發信號以判斷該當前視窗的擴展方向,其中,該觸 發信號為二進位數值。 4.如申請專利範圍第3項所述之視窗調整方法,其中: 根據該當前視窗的擴展方向,定義以與該當前視窗的擴展 方向分別垂直的當前視窗的二側邊中遠離該當前視窗的擴 展方向的一側邊所在的直線為默認分界線; 根據該默認分界線將螢幕劃分為按照該當前視窗的擴展方 向順序排布的第一顯示區和第二顯示區; 其中,該當前視窗覆蓋部分該第二顯示區,該新的當前視 窗完全覆蓋該第二顯示區並且不佔用該第一顯示區。 5 .如申請專利範圍第4項所述之視窗調整方法,其中:將該 100108117 表單編號A0101 第19頁/共30頁 1002013769-0 201237730 當前視窗的四個頂點的座標值分別更新為該第二顯示區的 四個頂點的座標值以作為該新的當前顯示參數。 如申請專利範圍第5項所述之視窗調整方法,其中·· 根據螢幕解析度,將該螢幕定義為一個座標平面,將該螢 幕的下側邊定義為橫坐標軸,左側邊定義為縱坐標軸,下 側邊與左側邊邊的交點定義為原點; 埘蛍眷解析度定義為X XI max max - ' 〜…庐〇 , 左下角的頂點'右上角的頂點及右下角的頂點的座標值分 別分配為(〇,〇)、(0,γ )、(χ γ ) 上 max max, ma,久、\ax,ϋ j , 該當前視窗左下角的頂點、左下角的頂點、右上角的頂黑 及右下角的頂點的座標值分別定義為(χ,γ )、(χ 1 1 ν Λ1 * 1 2 ^ 、(χ2’γ2)及(x2,v ’ Xmax和Ynax分別為螢幕解析度所 代表的寬度和高度,並且均為常量,^%、'及、均肩 钱蛍奉左下角的頂點、201237730 VII. Patent application scope: 1. A window adjustment method, the method comprises: recording coordinate values of four vertices of the screen; recording coordinate values of four vertices of the current window in real time, coordinate values of four vertices of the current window As the current display parameter; detecting whether the window expansion function is triggered; determining the expansion direction of the current window; regenerating the new current display according to the extension direction of the current window, the coordinate values of the four vertices of the screen, and the current display parameter Parameters; ^ Draws a new current window based on the new current display parameter. 2. The window adjustment method according to claim 1, wherein: the triggering command is received to detect whether the window extension function is triggered, wherein the trigger instruction is a binary value. 3. The window adjustment method of claim 2, wherein: the trigger signal is received to determine an extension direction of the current window, wherein the trigger signal is a binary value. 4. The window adjustment method of claim 3, wherein: according to the extending direction of the current window, defining two of the two sides of the current window that are perpendicular to the extending direction of the current window, away from the current window The line on one side of the extension direction is a default boundary line; according to the default boundary line, the screen is divided into a first display area and a second display area arranged in the order of the extension direction of the current window; wherein the current window is covered Part of the second display area, the new current window completely covers the second display area and does not occupy the first display area. 5. The window adjustment method according to item 4 of the patent application scope, wherein: the 100108117 form number A0101 page 19/total 30 page 1002013769-0 201237730 the coordinate values of the four vertices of the current window are respectively updated to the second The coordinate values of the four vertices of the display area are taken as the new current display parameter. The window adjustment method according to claim 5, wherein: according to the screen resolution, the screen is defined as a coordinate plane, the lower side of the screen is defined as an abscissa axis, and the left side is defined as an ordinate. The axis, the intersection of the lower side and the left side is defined as the origin; 埘蛍眷 resolution is defined as X XI max max - ' 〜...庐〇, the vertices in the lower left corner 'the vertices in the upper right corner and the coordinates of the vertices in the lower right corner The values are assigned to (〇, 〇), (0, γ), (χ γ ) max max, ma, long, \ax, ϋ j , the vertices in the lower left corner of the current window, the vertices in the lower left corner, and the upper right corner. The coordinate values of the apex of the top black and the lower right corner are defined as (χ, γ ), (χ 1 1 ν Λ1 * 1 2 ^ , (χ2'γ2), and (x2, v 'Xmax and Ynax are respectively screen resolution) The width and height of the representative, and are constant, ^%, 'and, and shoulder money are sacred to the top left corner, 變量,其中 x,<x < 1 2< max < Υ,<Υ <χ, 如申請專利範圍第6項所述之視窗_聲方法,其中:當該a variable, wherein x, <x < 1 2< max < &, <Υ <χ, as in the window of claim 6, wherein: 虽刖視窗向左擴展時,將該當前視窗左下角的頂點左下 角的頂點、右上角的頂點及右下角的頂點的座標值分別更 新為(0,G)、(G,Ymax)、(Χ2七X)及(x2,g)以作為該新 的當前顯示參數。 100108117 如申請專利範圍第6項所述之視窗調整方法,其中:當該 田則視窗向右擴展時’將該當前視窗左下角的頂點左下 角的頂點、右上角的頂點及右下角的頂點的座標值分別更 新為(χΓ〇)、(χ γ )、(χ ,Υ ν 1 max max max 為該新的當前顯示參數。 )及(X max ,〇)以作 表單編號A0101 第20頁/共30頁 1002013769-0 201237730 9 .如申請專利範圍第6項所述之視窗調整方法,其中:當該 當前視窗向上擴展時,將該當前視窗左下角的頂點、左下 角的頂點、右上角的頂點及右下角的頂點的座標值分別更 新為(0, Y〗)、(0, Y )、(X , Y )及(X ,Υ,)以作 1 max max max max 1 為該新的當前顯示參數。 10 .如申請專利範圍第6項所述之視窗調整方法,其中:當該 當前視窗向下擴展時,將該當前視窗左下角的頂點、左下 角的頂點、右上角的頂點及右下角的頂點的座標值分別更 新為(0, 0)、(0, YQ)、(X , Y。)及(X ,0)以作為該新 2 max 2 max Ο 的當前顯示參數。 11 . 一種使用如申請專利範圍第卜10項任一項所述之視窗調 整方法的電子裝置,該電子裝置包括顯示裝置、資料處理 裝置及輸入裝置,該資料處理裝置包括處理器與存儲器, 其中:該存儲器存儲視窗調整系統,該視窗調整系統包括 視窗管理模組,其用於管理在該顯示裝置的螢幕上顯示的 視窗,該視窗管理模組包括: 〇 座標檢測單元,其用於生成該顯示裝置的螢幕的四個頂點 的座標值,並且即時記錄當前視窗的四個頂點的座標值以 作為當前顯示參數; 記錄單元,其用於存儲每一開啟的視窗的當前顯示參數; 及 視窗繪製單元,其用於繪製新的當前視窗,及 視窗擴展模組,其用於對該當前視窗做定向最大化擴展, 該視窗擴展模組包括: 觸發偵測單元,其用於即時偵測該視窗擴展模組是否被觸 100108117 表單編號Α0101 第21頁/共30頁 1002013769-0 201237730 發,當該視窗擴展模組被觸發時產生一觸發信號; 擴展方向判斷單元,其用於根據該觸發信號判斷該當前視 窗的擴展方向;及 座標更新單元,其用於根據該當前視窗的擴展方向、該顯 示裝置的螢幕的四個頂點的座標值和該當前顯示參數生成 新的當前顯示參數,並將該新的當前顯示參數輸出至該記 錄單元,使該記錄單元將原存儲的該當前顯示參數更新為 該新的當前顯示參數, 其中,該處理器調用該視窗調整系統,以調整每一開啟的 視窗,並將調整後的視窗通過該顯示裝置的螢幕顯示。 12 .如申請專利範圍第11項所述之電子裝置,其中:該存儲器 還存儲應用程式模組,該應用程式模組為多個應用程式的 集合,每一應用程式對應一視窗。 13 .如申請專利範圍第11項所述之電子裝置,其中:該座標檢 測單元依據該顯示裝置的螢幕解析度生成該顯示裝置的螢 幕的四個頂點的座標值。 14 .如申請專利範圍第11項所述之電子裝置,其中:該輸入裝 置發送觸發指令以觸發該視窗擴展模組,該觸發偵測單元 通過接收該觸發指令而產生該觸發信號,其中,觸發信號 為二進位數字值。 15 .如申請專利範圍第14項所述之電子裝置,其中:該擴展方 向判斷單元通過分析該觸發信號而得知該當前視窗的擴展 方向。 100108117 表單編號A0101 第22頁/共30頁 1002013769-0When the window is expanded to the left, the coordinates of the vertices in the lower left corner of the current window, the vertices in the upper right corner, and the vertices in the lower right corner are updated to (0, G), (G, Ymax), (Χ2). Seven X) and (x2, g) are used as the new current display parameters. 100108117 The window adjustment method according to claim 6, wherein: when the field window is expanded to the right, 'the vertices of the lower left corner of the vertices of the current window, the vertices of the upper right corner, and the vertices of the lower right corner The coordinate values are updated to (χΓ〇), (χ γ ), (χ , Υ ν 1 max max max for the new current display parameter. ) and (X max , 〇) for the form number A0101 page 20 / total The window adjustment method of claim 6, wherein: when the current window is expanded upward, the vertices of the lower left corner of the current window, the vertices of the lower left corner, and the vertices of the upper right corner And the coordinate values of the vertices in the lower right corner are updated to (0, Y), (0, Y), (X, Y), and (X, Υ,) respectively as 1 max max max max 1 for the new current display. parameter. 10. The window adjustment method of claim 6, wherein: when the current window is expanded downward, the vertices of the lower left corner of the current window, the vertices of the lower left corner, the vertices of the upper right corner, and the vertices of the lower right corner The coordinate values are updated to (0, 0), (0, YQ), (X, Y.), and (X, 0) respectively as the current display parameters of the new 2 max 2 max Ο. 11. An electronic device using a window adjustment method according to any one of the preceding claims, wherein the electronic device comprises a display device, a data processing device, and an input device, the data processing device comprising a processor and a memory, wherein The memory storage window adjustment system includes a window management module for managing a window displayed on a screen of the display device, the window management module comprising: a 〇 coordinate detection unit for generating the Displaying the coordinate values of the four vertices of the screen of the device, and instantly recording the coordinate values of the four vertices of the current window as the current display parameters; a recording unit for storing the current display parameters of each open window; and window drawing a unit for drawing a new current window, and a window expansion module for maximizing the orientation of the current window, the window expansion module comprising: a trigger detection unit for detecting the window in real time Whether the expansion module is touched 100108117 Form number Α0101 Page 21 / Total 30 pages 1002013769- 0 201237730 sends a trigger signal when the window expansion module is triggered; an extension direction determining unit for determining an extension direction of the current window according to the trigger signal; and a coordinate updating unit for using the current window according to the current window a direction of expansion, a coordinate value of the four vertices of the screen of the display device, and the current display parameter to generate a new current display parameter, and output the new current display parameter to the recording unit, so that the recording unit will be originally stored The current display parameter is updated to the new current display parameter, wherein the processor invokes the window adjustment system to adjust each open window and display the adjusted window through the display of the display device. 12. The electronic device of claim 11, wherein the memory further stores an application module, the application module being a collection of a plurality of applications, each application corresponding to a window. 13. The electronic device of claim 11, wherein the coordinate detecting unit generates a coordinate value of four vertices of the screen of the display device according to the screen resolution of the display device. The electronic device of claim 11, wherein: the input device sends a trigger command to trigger the window expansion module, and the trigger detection unit generates the trigger signal by receiving the trigger command, wherein the trigger signal is generated. The signal is a binary digital value. The electronic device of claim 14, wherein the extension direction determining unit knows an extension direction of the current window by analyzing the trigger signal. 100108117 Form No. A0101 Page 22 of 30 1002013769-0
TW100108117A 2011-03-04 2011-03-10 Method of adjusting windows and electronic device using same TW201237730A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011100521185A CN102654819A (en) 2011-03-04 2011-03-04 Window adjusting method and electronic device using same

Publications (1)

Publication Number Publication Date
TW201237730A true TW201237730A (en) 2012-09-16

Family

ID=46730447

Family Applications (1)

Application Number Title Priority Date Filing Date
TW100108117A TW201237730A (en) 2011-03-04 2011-03-10 Method of adjusting windows and electronic device using same

Country Status (2)

Country Link
CN (1) CN102654819A (en)
TW (1) TW201237730A (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103809850A (en) * 2014-02-10 2014-05-21 联想(北京)有限公司 Information processing method and electronic equipment
KR102462813B1 (en) * 2016-07-21 2022-11-02 한화테크윈 주식회사 The Method And The Apparatus For Setting The Parameter
CN107479799B (en) * 2016-11-09 2020-03-17 广州酷狗计算机科技有限公司 Method and device for displaying window
CN107391066A (en) * 2017-07-14 2017-11-24 西安万像电子科技有限公司 Window display method and device
CN110909730A (en) * 2018-09-14 2020-03-24 恒景科技股份有限公司 Imaging system for movement detection
CN116841440B (en) * 2023-07-03 2024-06-28 深圳市利朗达科技有限公司 Software window adjusting method and system based on artificial intelligence

Also Published As

Publication number Publication date
CN102654819A (en) 2012-09-05

Similar Documents

Publication Publication Date Title
US20240103699A1 (en) Operating method for multiple windows and electronic device supporting the same
US12189925B2 (en) Method and device for managing tab window indicating application group including heterogeneous applications
JP6264293B2 (en) Display control apparatus, display control method, and program
EP2720132B1 (en) Display apparatus and method of controlling the same
US7623133B1 (en) Method and apparatus for displaying data from multiple frame buffers on a single display device
US9465457B2 (en) Multi-touch interface gestures for keyboard and/or mouse inputs
CN100538693C (en) Support the portable electric device of a plurality of indication mechanisms
EP3647922A1 (en) User terminal device and method for controlling the user terminal device thereof
US20090235177A1 (en) Multi-monitor remote desktop environment user interface
US20150331594A1 (en) Content display device, content display method and program
CN101432711A (en) User interface system and method for selectively displaying a portion of a display screen
US20120066640A1 (en) Apparatus for providing multi-mode warping of graphical user interface objects
US20120066624A1 (en) Method and apparatus for controlling movement of graphical user interface objects
WO2016045523A1 (en) Display method and device for interface contents of mobile terminal and terminal
CN101464773A (en) Method and computer system for displaying program execution window according to user position
TW201237730A (en) Method of adjusting windows and electronic device using same
US20140068495A1 (en) Apparatus and method for processing handwriting input
WO2010095255A1 (en) Information processing device, display control method and display control program
EP3726357B1 (en) Electronic apparatus and controlling method thereof
JP6058132B2 (en) Pop-up display device
CN110865718A (en) Method and device for supporting application of input method to multi-screen switching
US20130002714A1 (en) Display control apparatus and method for controlling display
CN110494834A (en) Touch-panel device, its display control method and program
US11416138B2 (en) Devices and methods for fast navigation in a multi-attributed search space of electronic devices
JP5213033B2 (en) Software input key display method, program, and information processing terminal