JPH06161693A - Gui parts constitution method - Google Patents

Gui parts constitution method

Info

Publication number
JPH06161693A
JPH06161693A JP4331135A JP33113592A JPH06161693A JP H06161693 A JPH06161693 A JP H06161693A JP 4331135 A JP4331135 A JP 4331135A JP 33113592 A JP33113592 A JP 33113592A JP H06161693 A JPH06161693 A JP H06161693A
Authority
JP
Japan
Prior art keywords
window
button
gui
parent
gui component
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.)
Granted
Application number
JP4331135A
Other languages
Japanese (ja)
Other versions
JP3438822B2 (en
Inventor
Hidetoshi Ichioka
秀俊 市岡
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.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP33113592A priority Critical patent/JP3438822B2/en
Publication of JPH06161693A publication Critical patent/JPH06161693A/en
Application granted granted Critical
Publication of JP3438822B2 publication Critical patent/JP3438822B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Digital Computer Display Output (AREA)

Abstract

PURPOSE:To easily constitute GUI parts by suppressing windows by setting an incorporating relation between the windows mutual constituting GUI parts displayed on a screen. CONSTITUTION:When a window 62 is dragged by a mouse 3 and superposed on a window 61, the parent of the constituting element 62a of an operation panel 62 is changed to ID#61 of the window 61 as a new parent window and at the same time ID#62 of the operation panel 62 as a new child window is described in the children of the constituting element 61a of the window 61 so that a video tape device can be operated by the operation panel 62. On the other hand, when the window 62 is dragged by the mouse 3 and superposed on a window 69, a percentage between the window 61 and the operation panel 62 is cancelled and the processing object (control object) of the operation panel 62 becomes a laser disk device symbolized by the window 69 so that the laser disk device can be operated by the operation panel 62.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、画面上に表示するGU
I(Graphical User Interface)部品を構成する場合に
用いて好適なGUI部品構成方法に関する。
BACKGROUND OF THE INVENTION The present invention relates to a GUI displayed on a screen.
The present invention relates to a GUI component configuration method suitable for use when configuring an I (Graphical User Interface) component.

【0002】[0002]

【従来の技術】最近の多くのコンピュータシステムにお
いては、GUI(Graphical User Interface)と呼ばれ
るマンマシンインターフェイスが採用され、その画面上
に、GUI部品(例えば、スクロールバーや操作メニュ
ー、ファイルを図形化したものなど)が表示されるよう
になっており、これにより操作性、および使用者との親
和性の向上が図られている。
2. Description of the Related Art In many recent computer systems, a man-machine interface called GUI (Graphical User Interface) is adopted, and GUI parts (eg, scroll bar, operation menu, and file) are graphically displayed on the screen. (Things etc.) are displayed, thereby improving the operability and the affinity with the user.

【0003】即ち、例えば図12(a)に示すように、
ディスプレイ4上にオープンされたウインドウ81にお
いては、スクロールバー81aまたは81bが、その右
端部分、または下端部分にそれぞれ配置されるようにな
っていおり、それぞれをポインティングデバイスとして
の、例えばマウスなどで操作する(例えば、ドラッグす
る)ことにより、キーボードを操作することなく、ウイ
ンドウ81内に表示を上下または左右にそれぞれスクロ
ールすることができるようになっている。
That is, for example, as shown in FIG.
In the window 81 opened on the display 4, scroll bars 81a or 81b are arranged at the right end portion or the lower end portion, respectively, and each is operated by a pointing device such as a mouse. By (for example, dragging), the display can be scrolled vertically or horizontally in the window 81 without operating the keyboard.

【0004】なお、ディスプレイ4上にオープンされ
た、スクロールバー82aおよび82b、または83a
および83bをそれぞれ有するウインドウ82または8
3においても、ウインドウ81における場合と同様にし
てスクロールすることができるようになっている。
Scroll bars 82a and 82b or 83a opened on the display 4
Window 82 or 8 having a and 83b respectively
Also in No. 3, scrolling can be performed in the same manner as in the window 81.

【0005】さらに、図12(b)に示すように、ディ
スプレイ4上にオープンされたウインドウ84(85,
86)においては、操作メニュー84a(85a,86
a)が、その左端部分に配置されるようになっており、
それをマウスで操作する(例えば、クリックする)こと
により、キーボードを操作して複雑なコマンドを入力す
ることなく、所定の処理(例えば、ファイルの編集やセ
ーブなど)を行うことができるようになっている。
Further, as shown in FIG. 12 (b), a window 84 (85, 85, opened on the display 4 is displayed.
86), the operation menu 84a (85a, 86)
a) is arranged at the left end portion,
By operating it with the mouse (for example, clicking), you can perform the specified processing (for example, editing or saving a file) without operating the keyboard and entering complicated commands. ing.

【0006】[0006]

【発明が解決しようとする課題】ところで、従来のGU
Iにおいては、そのGUI部品の形状や構成は、例えば
GUIエディタと呼ばれるエディタにより編集すること
ができるようになっており、そのGUI部品を使用する
アプリケーションプログラムを実行する前に編集され、
その後固定されるようになっている。
By the way, the conventional GU
In I, the shape and configuration of the GUI part can be edited by, for example, an editor called a GUI editor, and is edited before executing an application program that uses the GUI part.
After that, it will be fixed.

【0007】従って、一度編集したGUI部品を変更す
るには、GUIエディタにより再びGUI部品を編集す
るとともに、必要に応じてアプリケーションプログラム
を変更し、さらにアプリケーションプログラムをコンパ
イルし直さなければならず、GUI部品の変更は容易で
はなかった。
Therefore, in order to change the GUI component once edited, it is necessary to edit the GUI component again with the GUI editor, change the application program as necessary, and recompile the application program. Changing parts was not easy.

【0008】また、GUIエディタでは、例えばウィジ
ェットと呼ばれる既成のGUI部品だけしか取り扱うこ
とができず、即ち編集の自由度が低く、使用者の嗜好に
応じたGUI部品を得ることが困難であった。
Further, the GUI editor can handle only existing GUI parts called widgets, that is, the degree of freedom of editing is low, and it is difficult to obtain GUI parts according to the taste of the user. .

【0009】さらに、例えば図12に示すウインドウ8
1乃至83上にそれぞれ配置されたスクロールバー81
a(81b)乃至83a(83b)は、すべて同じ機能
(スクロール機能)を有し、また形状もほぼ同じである
にもかかわらず、各ウインドウ81乃至83ごとに独立
に管理されて表示されるようになっている。
Further, for example, the window 8 shown in FIG.
Scroll bars 81 arranged on 1 to 83 respectively
Although a (81b) to 83a (83b) all have the same function (scroll function) and have almost the same shape, each window 81 to 83 is managed and displayed independently. It has become.

【0010】従って、GUI部品を管理するためのメモ
リ空間が多く必要になる課題があった。
Therefore, there is a problem that a large memory space is required to manage the GUI parts.

【0011】本発明は、このような状況に鑑みてなされ
たものであり、GUI部品を容易に構成し、さらに変更
することができるようにするものである。
The present invention has been made in view of such a situation, and it is an object of the present invention to easily construct a GUI part and further change it.

【0012】[0012]

【課題を解決するための手段】請求項1に記載のGUI
部品構成方法は、画面に表示するGUI部品を構成する
ウインドウどうしの間に包含関係を設定し、包含関係に
基づいて、ウインドウを制御することを特徴とする。
A GUI according to claim 1
The component configuration method is characterized in that an inclusive relation is set between windows constituting GUI components displayed on the screen, and the windows are controlled based on the inclusive relation.

【0013】請求項2に記載のGUI部品構成方法は、
ウインドウの移動またはリサイズに基づいて、包含関係
を変更することを特徴とする。
A GUI component configuration method according to a second aspect is
It is characterized in that the inclusion relation is changed based on movement or resizing of the window.

【0014】請求項3に記載のGUI部品構成方法は、
包含関係の変更に基づいて、ウインドウから構成される
GUI部品を再構成することを特徴とする。
According to a third aspect of the present invention, there is provided a GUI component construction method,
It is characterized in that a GUI component composed of windows is reconfigured based on the change of the inclusion relation.

【0015】請求項4に記載のGUI部品構成方法は、
GUI部品が、親ウインドウ上に少なくとも1つの子ウ
インドウを配置して構成されることを特徴とする。
According to a fourth aspect of the present invention, there is provided a GUI component construction method,
The GUI component is configured by arranging at least one child window on the parent window.

【0016】請求項5に記載のGUI部品構成方法は、
親ウインドウが、他の親ウインドウに変更可能であるこ
とを特徴とする。
The GUI component construction method according to claim 5 is
The parent window can be changed to another parent window.

【0017】請求項6に記載のGUI部品構成方法は、
GUI部品が、他のGUI部品上に配置可能であること
を特徴とする。
The GUI component construction method according to claim 6 is
It is characterized in that the GUI component can be arranged on another GUI component.

【0018】請求項7に記載のGUI部品構成方法は、
ウインドウが、所定の処理対象に、所定のアクションを
起動させるためのボタンになっており、ウインドウから
構成されるGUI部品が、所定の処理対象に基づいて再
構成されることを特徴とする。
The GUI component construction method according to claim 7 is
The window is a button for activating a predetermined action on a predetermined processing target, and a GUI component composed of the window is reconfigured based on the predetermined processing target.

【0019】[0019]

【作用】上記のGUI部品構成方法においては、画面に
表示するGUI部品を構成するウインドウどうしの間に
包含関係を設定し、包含関係に基づいて、ウインドウを
制御する。従って、GUI部品を容易に構成することが
できる。
In the above-described GUI part structuring method, the inclusion relation is set between the windows forming the GUI part displayed on the screen, and the windows are controlled based on the inclusion relation. Therefore, the GUI component can be easily configured.

【0020】さらに、このGUI部品構成方法において
は、ウインドウの移動またはリサイズに基づいて、包含
関係を変更し、包含関係の変更に基づいて、ウインドウ
から構成されるGUI部品を再構成する。従って、GU
I部品の変更を容易に行うことができる。
Further, in this GUI component construction method, the inclusion relation is changed based on the movement or resizing of the window, and the GUI component formed from the window is reconfigured based on the change of the inclusion relation. Therefore, GU
It is possible to easily change the I part.

【0021】また、このGUI部品構成方法において
は、他のGUI部品上に配置可能なGUI部品が、他の
親ウインドウに変更可能な親ウインドウ上に少なくとも
1つの子ウインドウを配置して構成される。従って、G
UI部品を容易に構成することができる。
Further, in this GUI component construction method, a GUI component which can be arranged on another GUI component is constituted by arranging at least one child window on a parent window which can be changed to another parent window. . Therefore, G
UI parts can be easily configured.

【0022】さらに、このGUI部品構成方法において
は、ウインドウが、所定の処理対象に、所定のアクショ
ンを起動させるためのボタンになっており、ウインドウ
から構成されるGUI部品が、所定の処理対象に基づい
て再構成される。従って、GUI部品を容易に変更する
ことができる。
Further, in this GUI component construction method, the window serves as a button for activating a predetermined action on a predetermined processing target, and the GUI component composed of the window becomes a predetermined processing target. Reconstructed based on. Therefore, the GUI component can be easily changed.

【0023】[0023]

【実施例】図1は、本発明のGUI部品構成方法を適用
したコンピュータシステムの一実施例の構成を示す斜視
図である。CPU1は、ウインドウマネージャ2の他、
装置全体を制御する。ウインドウマネージャ2は、ディ
スプレイ4に表示される、例えばウインドウ11a乃至
11cを管理する。即ち、ウインドウマネージャ2は、
ポインティングデバイスとしての、例えばマウス3から
の入力に基づいて、イベントを発生し、そのイベントに
対応して、ディスプレイ4上に表示された、例えばウイ
ンドウ11a乃至11cなどのウインドウの位置や大き
さを変更したり、またそのウインドウをボタンとして機
能させる。
1 is a perspective view showing the configuration of an embodiment of a computer system to which a GUI component configuring method of the present invention is applied. In addition to the window manager 2, the CPU 1
Control the entire device. The window manager 2 manages, for example, the windows 11a to 11c displayed on the display 4. That is, the window manager 2
An event is generated based on an input from, for example, the mouse 3 as a pointing device, and the position and size of windows, such as the windows 11a to 11c, displayed on the display 4 are changed in response to the event. Or make the window function as a button.

【0024】マウス3は、例えば右ボタン、中ボタン、
左ボタンの3つのボタンを有し、ディスプレイ4に表示
されたマウスカーソル3aを移動させ、ディスプレイ上
のウインドウ11a乃至11cの位置や大きさを変更し
たり、またウインドウ11a乃至11cをボタンとして
機能させる場合に操作される。ディスプレイ4は、ウイ
ンドウマネージャ2によって管理される、例えばウイン
ドウ11a乃至11cなどのウインドウを表示する。
The mouse 3 is, for example, a right button, a middle button,
It has three buttons, the left button, and moves the mouse cursor 3a displayed on the display 4 to change the positions and sizes of the windows 11a to 11c on the display, and to make the windows 11a to 11c function as buttons. If operated. The display 4 displays windows managed by the window manager 2, such as windows 11a to 11c.

【0025】ウインドウ11a乃至11cは、ディスプ
レイ4に表示されるGUI部品を構成するウインドウで
ある。
The windows 11a to 11c are windows constituting GUI parts displayed on the display 4.

【0026】ここで、GUI部品には、例えば図2に示
すようなものがある。即ち、図2(a)に示すGUI部
品としてのスクロールバーは、親ウインドウとしての枠
21、およびそれに属する子ウインドウとしてのスライ
ダ22から構成されている。さらに、図2(b)に示す
スクロールバーは、図2(a)における場合の、枠21
およびスライダ22に加え、親ウインドウとしての枠2
1に属する子ウインドウとしての、スライダ22を離散
的に上または下にそれぞれ移動させるためのボタン23
aまたは23bから構成されている。
Here, the GUI parts include, for example, those shown in FIG. That is, the scroll bar as a GUI component shown in FIG. 2A is composed of a frame 21 as a parent window and a slider 22 as a child window belonging to the frame. Further, the scroll bar shown in FIG. 2B has a frame 21 in the case of FIG.
In addition to the slider and the slider 22, a frame 2 as a parent window
Buttons 23 for moving the slider 22 discretely up or down as child windows belonging to 1
It is composed of a or 23b.

【0027】また、図2(c)に示すGUI部品として
のメニューは、親ウインドウとしての枠24、並びにそ
れに属する子ウインドウとしての編集(EDIT)ボタ
ン25、保存(SAVE)ボタン26、印刷(PRIN
T)ボタン27、および終了(QUIT)ボタン28な
どの項目ボタンから構成されている。図2(d)に示す
GUI部品としての操作パネルは、親ウインドウとして
の枠29、それに属する子ウインドウとしてのカウンタ
30、および子ウインドウとしてのボタン群31乃至3
9から構成されている。
The menu as the GUI component shown in FIG. 2C is a frame 24 as a parent window, and an edit (EDIT) button 25, a save (SAVE) button 26, and a print (PRIN) as child windows belonging to the frame.
It is composed of item buttons such as a T) button 27 and an end (QUIT) button 28. The operation panel as a GUI component shown in FIG. 2D includes a frame 29 as a parent window, a counter 30 as a child window belonging to it, and button groups 31 to 3 as child windows.
It is composed of nine.

【0028】ディスプレイ4に表示されたGUI部品を
構成するウインドウは、マウス3を操作することによ
り、マウスカーソル3aとともに移動させたり、大きさ
を変更したりすることができるようになっている。さら
に、ウインドウは、所定の装置に所定のアクションを起
動させるためのボタンとして機能させるようにすること
ができるようになっている。
The windows constituting the GUI parts displayed on the display 4 can be moved together with the mouse cursor 3a or changed in size by operating the mouse 3. Further, the window can be made to function as a button for activating a predetermined action on a predetermined device.

【0029】また、ウインドウには、その識別子として
のID、自分自身の大きさ、自分自身が属する親ウイン
ドウとの包含関係を示す情報としての、例えば親ウイン
ドウのID、およびその親ウインドウ(親ウインドウ
の、例えば中心や左上の点)からの相対的な位置(座
標)、並びに自分自身が子ウインドウを有する場合にお
いては、その子ウインドウとの包含関係を示す情報とし
ての、例えば子ウインドウのIDなどのウインドウの構
成要素が設定され、これにより管理されるようになって
いる。
The window has, for example, an ID as its identifier, the size of itself, the ID of the parent window as information indicating the inclusion relationship with the parent window to which the window belongs, and its parent window (parent window). Relative position (coordinates) from, for example, the center or the upper left point, and in the case where the child itself has a child window, for example, as the information indicating the inclusion relationship with the child window, such as the ID of the child window, The components of the window are set and managed by this.

【0030】次に、図3のフローチャートを参照して、
その動作について説明する。まず最初に使用する各ウイ
ンドウに、コールバック(通知)callbackに対する関数
が割り当てられる(ステップS1)。
Next, referring to the flowchart of FIG.
The operation will be described. First, a function for a callback (notification) callback is assigned to each window used first (step S1).

【0031】即ち、コンピュータシステムにおいては、
マウス3が操作され、マウスカーソル3aがウインドウ
windowに出入りしたり、マウスカーソル3aがウインド
ウwindow内にあるときにマウス3がクリックやドラッグ
されたりするような、所定のイベント(状態)が発生し
た場合に、それに対するコールバックcallbackが返され
るようになっており、このコールバックcallbackに対応
して、所定の処理を行う関数usrFunctionが呼び出され
るように、例えば関数 XtAddCallback(window,callback,usrFunction,client_d
ata) がウインドウwindowに割り当てられる。なお、client_d
ataは、関数usrFunctionの引数である。
That is, in the computer system,
Mouse 3 is operated, mouse cursor 3a is the window
When a predetermined event (state) occurs such as entering or exiting the window or clicking or dragging the mouse 3 when the mouse cursor 3a is inside the window window, a callback callback for the event is returned. The function usrFunction that performs a predetermined process is called according to this callback callback, for example, the function XtAddCallback (window, callback, usrFunction, client_d
ata) is assigned to the window window. Note that client_d
ata is an argument of the function usrFunction.

【0032】ここで、本発明においては、少なくとも次
のイベントに対して、イベントハンドラの登録があらか
じめ行われている。
In the present invention, the event handler is registered in advance for at least the following events.

【0033】(a)Exposureイベント・・・ ディスプレイ4に表示されたウインドウwindowの一部ま
たは全部を隠していた他のウインドウが消去または移動
され、ウインドウwindowが露出されるイベント (b)ButtonPress, ButtonRelease, ButtonMotionイベ
ント・・・ マウスカーソル3aがウインドウwindow内にあるとき
に、マウス3のボタンが押されたり(ButtonPress)、
離されたり(ButtonRelease)、またはドラッグされる
(ButtonMotion)イベント (c)EnterWindow, LeaveWindowイベント・・・ ウインドウwindowにマウスカーソル3aが出(LeaveWin
dow)入(EnterWindow)りするイベント
(A) Exposure event ... An event in which another window that hides a part or all of the window window displayed on the display 4 is deleted or moved to expose the window window. (B) ButtonPress, ButtonRelease , ButtonMotion event ... When the mouse cursor 3a is in the window window, the button of the mouse 3 is pressed (ButtonPress),
Event that is released (ButtonRelease) or dragged (ButtonMotion) (c) EnterWindow, LeaveWindow event ... Mouse cursor 3a appears in the window window (LeaveWin)
dow) Event to enter (EnterWindow)

【0034】そして、上述のイベント(a)乃至(c)
に対して、イベントハンドラの登録が、例えば次のよう
にそれぞれあらかじめ行われている。
Then, the above-mentioned events (a) to (c)
On the other hand, the event handlers are registered in advance as follows, for example.

【0035】(a)XtAddEventHandler(window,Exposur
e,eventhandler,data) (b)XtAddEventHandler(window,ButtonPress|ButtonR
elease|ButtonMotion,eventhandler,data) (c)XtAddEventHandler(window,EnterWindow|LeaveWi
ndow,eventhandler,data) なお、|は論理和を意味する。また、dataは、関数even
thandlerの引数である。
(A) XtAddEventHandler (window, Exposur
e, eventhandler, data) (b) XtAddEventHandler (window, ButtonPress | ButtonR
elease | ButtonMotion, eventhandler, data) (c) XtAddEventHandler (window, EnterWindow | LeaveWi
ndow, eventhandler, data) In addition, | means a logical sum. Also, data is the function even
It is an argument of thandler.

【0036】上述の登録により、イベント(a)乃至
(c)が生じると、図4に示すC言語で記述された関数
eventhandlerが呼び出されるようになる。なお、この場
合、どのイベントに対しても、関数eventhandler(図
4)が呼び出されるようになっているが、イベントごと
に呼び出す関数が異なるように、関数eventhandlerを分
割して記述するようにしても良い。
When events (a) to (c) occur due to the above registration, the function described in C language shown in FIG.
The eventhandler will be called. In this case, the function eventhandler (Fig. 4) is called for any event, but the function eventhandler may be divided and described so that the function to be called differs for each event. good.

【0037】ウインドウwindowへの関数XtAddCallback
の割り当ての処理後、マウス3からのイベントの入力が
待たれ(ステップS2)、イベントの入力があると、関
数eventhandler(図4)が呼び出され(ステップS
3)、イベントに対応したコールバックcallbackが返さ
れる(ステップS4乃至S6)。
Function XtAddCallback to window window
After the processing of allocating the event, the input of an event from the mouse 3 is waited (step S2), and when the event is input, the function eventhandler (FIG. 4) is called (step S
3), the callback callback corresponding to the event is returned (steps S4 to S6).

【0038】即ち、例えばウインドウwindowにマウスカ
ーソル3aがあり、ウインドウwindowがボタンとして機
能するようになっている場合、マウス3の左ボタンが押
されると、ボタンとしてのウインドウwindowが押された
ようにみせるために、ウインドウwindowが、凹んだよう
に影を付して表示される(例えば、図2のEDITボタ
ン25のように、その左端部分と下端部分に影が付され
る)(以下、凹表示されると記載する)(図4のステッ
プL2)。
That is, for example, when the window window has the mouse cursor 3a and the window window functions as a button, when the left button of the mouse 3 is pressed, it is as if the window window as the button is pressed. For the sake of clarity, the window window is displayed with a shadow like a recess (for example, like the EDIT button 25 in FIG. 2, the left end portion and the bottom end portion thereof are shaded) of It is described as being displayed) (step L2 in FIG. 4).

【0039】さらに、この後、マウスカーソル3aがウ
インドウwindow上にあるときに、マウス3の左ボタンが
離されると、そのウインドウwindowが選択されたとみな
され、関数eventhandlerが呼び出される(ステップS
4)。そして、このイベントに対応したACTIVATEコール
バックが通知され(図4のステップL6)、ステップS
1でウインドウwindowに割り当てられた関数XtAddCallb
ackにおけるACTIVATEコールバックに対応する関数usrFu
nctionが呼び出され、凹表示されたウインドウwindowが
元の表示(以下、凹表示に対して、凸表示と記載する)
に戻される。
After that, when the left button of the mouse 3 is released while the mouse cursor 3a is on the window window, it is considered that the window window is selected, and the function eventhandler is called (step S).
4). Then, the ACTIVATE callback corresponding to this event is notified (step L6 in FIG. 4), and step S
Function XtAddCallb assigned to window window in 1
Function usrFu corresponding to ACTIVATE callback in ack
nction is called, and the concave window window is the original display (hereinafter, concave display is referred to as convex display)
Returned to.

【0040】なお、マウスカーソル3aが、あるウイン
ドウ上にある場合に、マウス3の左ボタンが押される
と、上述のように凹表示されるが、そのままマウスカー
ソル3aが他のウインドウに移動されると、他のウイン
ドウが凹表示されるようになっている。このとき、ある
ウインドウは凹表示から凸表示に戻される。
If the left button of the mouse 3 is pressed when the mouse cursor 3a is in a certain window, the concave display is made as described above, but the mouse cursor 3a is moved to another window as it is. And other windows are displayed in a concave form. At this time, a certain window is returned from the concave display to the convex display.

【0041】また、マウス3の中ボタンによってウイン
ドウwindowがドラッグされると、ウインドウwindowが移
動可能であれば、GRABコールバックが通知され(ステッ
プS6)(図4のステップL3)、ウインドウwindowの
移動が開始されることがシステムに知らされる。さら
に、マウス3が移動されると、DRAGコールバックが通知
され(ステップS6)(図4のステップL10)、ウイ
ンドウwindowとともに、それが有するウインドウとして
の、例えばスライドボタンや、その背景などが高速で再
描画されることにより移動される(正確には、移動して
いるのではなく、移動しているように見える)(ステッ
プS9)。そして、マウス3の中ボタンが離されると、
MOVEコールバックが通知され(ステップS6)(図4の
ステップL7)、ウインドウwindowの移動が終了したこ
とがシステムに知らされる。
When the window window is dragged by the middle button of the mouse 3, if the window window can be moved, the GRAB callback is notified (step S6) (step L3 in FIG. 4) and the window window is moved. The system is notified that is started. Furthermore, when the mouse 3 is moved, the DRAG callback is notified (step S6) (step L10 in FIG. 4), and the window window and the windows, such as the slide button and its background, are displayed at high speed. It is moved by being redrawn (correctly, it does not appear to move, but appears to move) (step S9). When the middle button of mouse 3 is released,
The MOVE callback is notified (step S6) (step L7 in FIG. 4) to notify the system that the movement of the window window is completed.

【0042】その後、例えばウインドウwindowを包む最
小のウインドウが求められるなどして、ウインドウwind
ow自身が属していた親ウインドウが変化したか否かが判
定される(ステップS7)。そして、親ウインドウが変
化したと判定された場合、REPARENTコールバックが通知
され(ステップS8)、そのウインドウwindowに対応す
る包含関係が書き換えられる。ウインドウwindowの親ウ
インドウが変化していないと判定された場合、再びイベ
ントの入力が待たれる(ステップS2)。
After that, for example, the minimum window that wraps the window window is obtained, and the window wind
It is determined whether or not the parent window to which ow itself belongs has changed (step S7). When it is determined that the parent window has changed, the REPARENT callback is notified (step S8), and the inclusion relation corresponding to the window window is rewritten. If it is determined that the parent window of the window window has not changed, the input of an event is awaited again (step S2).

【0043】なお、ウインドウwindowが移動可能でなけ
れば、上述の移動処理は行われないようになっている。
さらに、例えばウインドウwindowに対して、その親ウイ
ンドウから出すことができないなどの拘束条件があらか
じめ設定されている場合には、移動中のウインドウwind
owの大きさまたは位置と、その親ウインドウの大きさま
たは位置が比較され、ウインドウwindowが、その親ウイ
ンドウから出ないように制御されるようになっている。
If the window window is not movable, the above-mentioned movement processing is not performed.
Furthermore, for example, if a constraint condition is set in advance for the window window such that it cannot be output from its parent window, the moving window wind
The size or position of ow is compared with the size or position of its parent window, and the window window is controlled so as not to go out of its parent window.

【0044】また、キーボード(図示せず)のシフトキ
ーが押された状態で、マウス3の中ボタンによってウイ
ンドウwindowがドラッグされると、ウインドウwindowが
リサイズ可能であれば、RGRABコールバックが通知され
(ステップS5)(図4のステップL4)、ウインドウ
windowのリサイズが開始されることがシステムに知らさ
れる。さらに、マウス3が移動されると、RUBBERコール
バックが通知され(ステップS5)(図4のステップL
11)、ウインドウwindow全体、あるいはその枠がリサ
イズされる。そして、マウス3の中ボタンが離される
と、RESIZEコールバックが通知され(ステップS5)
(図4のステップL8)、ウインドウwindowのリサイズ
が終了したことがシステムに知らされる。
When the window key is dragged by the middle button of the mouse 3 while the shift key of the keyboard (not shown) is pressed, the RGRAB callback is notified if the window window can be resized ( Step S5) (step L4 in FIG. 4), window
The system is notified that window resizing is about to begin. Further, when the mouse 3 is moved, the RUBBER callback is notified (step S5) (step L in FIG. 4).
11), the entire window window or its frame is resized. Then, when the middle button of the mouse 3 is released, the RESIZE callback is notified (step S5).
The system is informed that the resizing of the window window is completed (step L8 in FIG. 4).

【0045】その後、例えばリサイズされたウインドウ
windowを包む最小のウインドウが求められるなどして、
ウインドウwindow自身が属していた親ウインドウが変化
したか否かが判定される(ステップS7)。そして、親
ウインドウが変化したと判定された場合、REPARENTコー
ルバックが通知され(ステップS8)、そのウインドウ
windowに対応する包含関係が書き換えられる。ウインド
ウwindowの親ウインドウが変化していないと判定された
場合、再びイベントの入力が待たれる(ステップS
2)。
Then, for example, the resized window
The smallest window that wraps window is required, etc.
It is determined whether or not the parent window to which the window window itself belongs has changed (step S7). If it is determined that the parent window has changed, the REPARENT callback is notified (step S8), and the window is changed.
The inclusion relation corresponding to window is rewritten. If it is determined that the parent window of the window window has not changed, the input of an event is awaited again (step S
2).

【0046】なお、ウインドウwindowがリサイズ可能で
なければ、上述のリサイズ処理は行われないようになっ
ている。さらに、例えばウインドウwindowに対して、そ
の親ウインドウから出すことができないなどの拘束条件
があらかじめ設定されている場合には、リサイズのウイ
ンドウwindowの大きさまたは位置と、その親ウインドウ
の大きさまたは位置が比較され、ウインドウwindowが、
その親ウインドウから出ないように制御されるようにな
っている。
If the window window cannot be resized, the above resizing processing is not performed. In addition, for example, when a constraint condition such as that the window cannot be put out from the parent window is set in advance, the size or position of the resized window window and the size or position of the parent window Are compared and the window window is
It is controlled so that it does not go out of its parent window.

【0047】また、上述したウインドウwindowのリサイ
ズや移動中に、そのウインドウwindowで、一部または全
部が隠されていた他のウインドウが露出された場合、そ
の露出された部分が再描画されるようになっている(図
4のステップL1)。
Also, during the resizing or movement of the window window described above, if another window that is partially or wholly hidden is exposed in the window window, the exposed portion is redrawn. (Step L1 in FIG. 4).

【0048】さらに、マウス3の右ボタンによって、ウ
インドウwindowがドラッグされると、MENUコールバック
が通知され(ステップS4)(図4のステップL7)、
ステップS1でウインドウwindowに割り当てられた関数
XtAddCallbackにおけるMENUコールバックに対応する関
数usrFunctionが呼び出され、これによりメニューとし
てのウインドウが、例えばプルダウン表示される(ステ
ップS9)。この場合、右ボタンがドラッグされたま
ま、マウスカーソル3aがメニューの中に移動される
と、マウスカーソル3aが位置しているメニュー項目
(ウインドウ)は、それが選択されることを示すために
凹表示され、そのメニュー項目からマウスカーソル3a
が出されると凸表示される(図4のステップL12乃至
L15)。
Furthermore, when the window window is dragged by the right button of the mouse 3, the MENU callback is notified (step S4) (step L7 of FIG. 4),
Function assigned to window window in step S1
A function usrFunction corresponding to the MENU callback in XtAddCallback is called, and a window as a menu is displayed in a pull-down mode, for example (step S9). In this case, when the mouse cursor 3a is moved into the menu while the right button is being dragged, the menu item (window) in which the mouse cursor 3a is located is depressed to indicate that it is selected. The mouse cursor 3a is displayed from the displayed menu item.
Is displayed, a convex display is performed (steps L12 to L15 in FIG. 4).

【0049】そして、メニューが表示されている場合、
マウス3の右ボタンが離されると、ACTIVATEコールバッ
クが通知され(ステップS4)(図4のステップL
9)、凹表示されているメニュー項目が選択されたこと
がシステムに知らされる。その後、さらにMENUENDコー
ルバックが通知され(ステップS4)(図4のステップ
L9)、メニューとしてのウインドウが消去される(ス
テップS9)。
When the menu is displayed,
When the right button of the mouse 3 is released, the ACTIVATE callback is notified (step S4) (step L in FIG. 4).
9) The system is informed that the menu item displayed in the concave display has been selected. Thereafter, the MENUEND callback is further notified (step S4) (step L9 in FIG. 4), and the window as the menu is deleted (step S9).

【0050】なお、ウインドウwindowにメニューがない
場合には、上述のメニュー処理は行われないようになっ
ている。
If there is no menu in the window window, the above menu processing is not performed.

【0051】次に、以上の処理によるGUI部品の構成
例について、図5乃至図11を参照して説明する。図5
(a)は、親ウインドウとしての枠41と、子ウインド
ウとしての編集ボタン42、読み込みボタン43、およ
び保存ボタン44とからなるメニュー部品を示してい
る。このメニュー部品においては、枠41に、編集ボタ
ン42、読み込みボタン43、および保存ボタン44が
重ねられることによって包含関係が生じるようになって
いる。
Next, an example of the configuration of the GUI component by the above processing will be described with reference to FIGS. Figure 5
(A) shows a menu component including a frame 41 as a parent window and an edit button 42, a read button 43, and a save button 44 as child windows. In this menu part, an inclusion relation is created by overlapping the edit button 42, the read button 43, and the save button 44 on the frame 41.

【0052】ここで、図6は、図5の部品を構成するウ
インドウ41乃至45を管理するためのそれぞれの構成
要素41a乃至45aを示している。IDはその構成要
素が管理するウインドウの識別子であり、x,yは、ウ
インドウ自身が属する親ウインドウの、例えば中心また
は左上からの相対的な位置を示している(xは横方向の
座標を示しyは縦方向の座標を示している)。w,h
は、ウインドウ自身の大きさを示し(wは横方向の長さ
を示し、hは縦方向の長さを示している)、paren
tは、包含関係としてのそのウインドウが属する親ウイ
ンドウのIDを示している。さらに、children
は、包含関係としてのそのウインドウが有する子ウイン
ドウのIDを示している。
Here, FIG. 6 shows respective constituent elements 41a to 45a for managing the windows 41 to 45 constituting the parts of FIG. The ID is the identifier of the window managed by the component, and x and y indicate the relative position of the parent window to which the window itself belongs, for example, from the center or the upper left (x indicates the horizontal coordinate). y indicates the vertical coordinate). w, h
Indicates the size of the window itself (w indicates the length in the horizontal direction, h indicates the length in the vertical direction), paren
t indicates the ID of the parent window to which the window belongs as an inclusion relation. In addition, children
Indicates the ID of a child window that the window has as an inclusion relation.

【0053】なお、ウインドウが子ウインドウを有さな
い場合、childrenは記述されない。
If the window has no child window, children is not described.

【0054】図6(a)に示す構成要素41a乃至45
aは、図5(a)における場合のものであり、枠41
は、編集ボタン42、読み込みボタン43、および保存
ボタン44を子ウインドウとして有するので、その構成
要素41aのchildrenには、編集ボタン42、
読み込みボタン43、および保存ボタン44のID#4
2乃至#44が記述されている。さらに、枠41は、I
D#001の親ウインドウ(紙面そのものを、ID#0
01の親ウインドウと仮定する)に属し、従ってその構
成要素41aのparentには、#001が記述され
ている。
The components 41a to 45 shown in FIG. 6 (a).
a is the case in FIG. 5A, and the frame 41
Has an edit button 42, a read button 43, and a save button 44 as child windows, the child button of the constituent element 41a has an edit button 42,
ID # 4 of the read button 43 and the save button 44
2 to # 44 are described. Further, the frame 41 is I
Parent window of D # 001 (Paper itself is ID # 0
(Assuming that it is the parent window of 01), therefore, # 001 is described in the parent of its constituent element 41a.

【0055】また、編集ボタン42、読み込みボタン4
3、および保存ボタン44は、子ウインドウを有さない
とともに、すべて親ウインドウとしての枠41に属する
ので、その各構成要素42a乃至44aのparent
には、枠41のID#41が記述されている。
Further, the edit button 42 and the read button 4
Since 3 and the save button 44 have no child windows and all belong to the frame 41 as a parent window, the parent of each of the constituent elements 42a to 44a thereof.
Describes the ID # 41 of the frame 41.

【0056】また、この場合(図5(a)および図6
(a))、終了ボタン45は子ウインドウを有さないと
ともに、枠41と同じ親ウインドウに属するので、その
構成要素45aのparentには、ID#001が記
述されている。
In this case (FIGS. 5A and 6)
(A)) Since the end button 45 does not have a child window and belongs to the same parent window as the frame 41, ID # 001 is described in the parent of the constituent element 45a.

【0057】図5(a)に示す状態から、マウス3(マ
ウスカーソル3a)によって終了ボタン45がドラッグ
され、枠41上に移動されて(図5(b))、さらにそ
こでドラッグが終了されると、終了ボタン45の構成要
素45aのparentが、新しい親ウインドウとして
の枠41のID#41に変更されるとともに、枠41の
構成要素41aのchildrenに、新たな子ウイン
ドウとしての終了ボタン45のID#45が加えられる
(図6(b))。そして、上述したように、終了ボタン
45の親ウインドウが変更したことを示すREPARENTコー
ルバックが通知され、それに対応した関数が呼び出され
る。
From the state shown in FIG. 5 (a), the end button 45 is dragged by the mouse 3 (mouse cursor 3a) and moved to the frame 41 (FIG. 5 (b)), whereupon the dragging ends. Then, the parent of the component 45a of the end button 45 is changed to the ID # 41 of the frame 41 as a new parent window, and the child button of the end button 45 as a new child window is added to the children of the component 41a of the frame 41. ID # 45 is added (FIG. 6 (b)). Then, as described above, the REPARENT callback indicating that the parent window of the end button 45 has changed is notified, and the corresponding function is called.

【0058】この関数により、編集ボタン42、読み込
みボタン43、および保存ボタン44の大きさが変えら
れるとともに、終了ボタン45の大きさが変えられ、枠
41の大きさを変えることなく、終了ボタン45が枠4
1の中に追加されることによりGUI部品が再構成され
る(図5(c))。
With this function, the size of the edit button 42, the read button 43, and the save button 44 can be changed, and the size of the end button 45 can be changed, so that the end button 45 can be changed without changing the size of the frame 41. Is frame 4
The GUI component is reconfigured by being added to the number 1 (FIG. 5C).

【0059】なお、この場合、枠41の大きさを変え、
編集ボタン42、読み込みボタン43、保存ボタン4
4、および終了ボタン45の大きさを変えることなく、
終了ボタンをわく41の中に追加するようにすることが
できる。
In this case, the size of the frame 41 is changed to
Edit button 42, read button 43, save button 4
4, without changing the size of the end button 45,
An end button may be added in the frame 41.

【0060】さらに、図5(a)において、編集ボタン
42、読み込みボタン43、または保存ボタン44を枠
41の中から削除し、GUI部品を再構成するようにす
ることもできる。
Further, in FIG. 5A, the edit button 42, the read button 43, or the save button 44 may be deleted from the frame 41 to reconfigure the GUI part.

【0061】また、例えば図7に示す、ウインドウ51
bを子ウインドウとして有するウインドウ51aをさら
に子ウインドウとして有するウインドウ51、ウインド
ウ52aおよび52bを子ウインドウとして有するウイ
ンドウ52、ウインドウ53a乃至53cを子ウインド
ウとして有するウインドウ53、並びにSAVEボタン
54aおよびQUITボタン54bを子ウインドウとし
て有するウインドウ54を子ウインドウとして有する枠
41などのような複雑なGUI部品についても、上述し
たような再構成をするようにすることができる。
Further, for example, the window 51 shown in FIG.
a window 51 having a window 51a having b as a child window, a window 52 having windows 52a and 52b as child windows, a window 53 having windows 53a to 53c as child windows, and a SAVE button 54a and a QUIT button 54b. Even for a complicated GUI component such as the frame 41 having the window 54 having a child window as a child window, the above-described reconfiguration can be performed.

【0062】次に、図8は、図1のコンピュータシステ
ムに、例えばビデオテープ装置およびレーザディスク装
置(いずれも図示せず)を接続し、コンピュータシステ
ムによりビデオテープ装置およびレーザディスク装置を
制御することができるように装置を構成したときの、デ
ィスプレイ4上に表示された、ビデオテープ装置を象徴
するウインドウ61と、レーザディスク装置を象徴する
ウインドウ69を示している。
Next, referring to FIG. 8, for example, a video tape device and a laser disk device (both not shown) are connected to the computer system of FIG. 1, and the video tape device and the laser disk device are controlled by the computer system. A window 61 symbolizing a video tape device and a window 69 symbolizing a laser disk device, which are displayed on the display 4 when the device is configured so as to be capable of performing, are shown.

【0063】ビデオテープ装置を象徴するウインドウ6
1には、ビデオテープ装置からの再生画像が表示される
ようになっている。操作パネルとしてのウインドウ62
は、その子ウインドウとして巻戻しボタン63、停止ボ
タン64、プレイボタン65、早送りボタン66、記録
ボタン67、およびポーズボタン68を有し、マウス3
でドラッグされて、例えば図中点線で示す位置からウイ
ンドウ61または69上へ移動されると、ビデオテープ
装置またはレーザディスク装置の操作パネルとなるよう
になっている。
Window 6 symbolizing a video tape device
1, a reproduced image from the video tape device is displayed. Window 62 as an operation panel
Has a rewind button 63, a stop button 64, a play button 65, a fast forward button 66, a record button 67, and a pause button 68 as its child windows.
When it is dragged by and is moved to the window 61 or 69 from the position shown by the dotted line in the figure, it becomes the operation panel of the video tape device or the laser disk device.

【0064】即ち、操作パネルとしてのウインドウ62
が、例えば図中点線で示す位置にある場合、ウインドウ
61および69は、ウインドウ62の親ウインドウでは
ない状態であり、その子ウインドウとしての巻戻しボタ
ン63、停止ボタン64、プレイボタン65、早送りボ
タン66、記録ボタン67、またはポーズボタン68が
マウス3でクリックされても、それにより、ビデオテー
プ装置およびレーザディスク装置に動作(アクション)
を起動させることができないようになっている。
That is, the window 62 as an operation panel
, The windows 61 and 69 are not the parent windows of the window 62, and the rewind button 63, the stop button 64, the play button 65, and the fast-forward button 66 as child windows of the windows 61 and 69. Even if the record button 67 or the pause button 68 is clicked with the mouse 3, the action is performed by the video tape device and the laser disk device.
Can not be started.

【0065】ところが、ウインドウ62がマウス3でド
ラッグされ、ウインドウ61に重ねられると、操作パネ
ル62の構成要素62aのparentが、新たな親ウ
インドウとしてのウインドウ61のID#61に変更さ
れるとともに、ウインドウ61の構成要素61aのch
ildrenに、新たな子ウインドウとしての操作パネ
ル62のID#62が記述される(図9)。
However, when the window 62 is dragged with the mouse 3 and overlaid on the window 61, the parent of the component 62a of the operation panel 62 is changed to the ID # 61 of the window 61 as a new parent window, and Ch of the component 61a of the window 61
ID # 62 of the operation panel 62 as a new child window is described in ildren (FIG. 9).

【0066】そして、操作パネル62の親ウインドウ
が、ウインドウ61に変更されたことを示すREPARENTコ
ールバックが通知され、それに対応した関数が呼び出さ
れる。
Then, a REPARENT callback indicating that the parent window of the operation panel 62 has been changed to the window 61 is notified, and the corresponding function is called.

【0067】この関数により、操作パネル62の子ウイ
ンドウとしての、例えばプレイボタン65をマウス3で
クリックすることにより、ビデオテープ装置に画像の再
生を開始させることができるようになる。即ち、操作パ
ネル62の処理対象(制御対象)がウインドウ61が象
徴するビデオテープ装置になり、操作パネル62でのビ
デオテープ装置の操作が可能となる。
This function enables the video tape device to start the reproduction of an image by, for example, clicking the play button 65 as a child window of the operation panel 62 with the mouse 3. That is, the processing target (control target) of the operation panel 62 becomes the video tape device symbolized by the window 61, and the operation of the video tape device on the operation panel 62 becomes possible.

【0068】また、ウインドウ62がマウス3でドラッ
グされ、ウインドウ69に重ねられると、ウインドウ6
1と操作パネル62との間の親子関係が解消され、操作
パネル62の構成要素62aのparentが、新しい
親ウインドウとしてのウインドウ69のID#69に変
更されるとともに、ウインドウ69の構成要素69aの
childrenに、新たな子ウインドウとしての操作
パネル62のID#62が記述される(図10)。
When the window 62 is dragged with the mouse 3 and overlapped with the window 69, the window 6 is displayed.
The parent-child relationship between 1 and the operation panel 62 is canceled, the parent of the component element 62a of the operation panel 62 is changed to the ID # 69 of the window 69 as a new parent window, and the component element 69a of the window 69 is changed. ID # 62 of the operation panel 62 as a new child window is described in the child (FIG. 10).

【0069】そして、操作パネル62の親ウインドウ
が、ウインドウ69に変更されたことを示すREPARENTコ
ールバックが通知され、それに対応した関数が呼び出さ
れる。
Then, a REPARENT callback indicating that the parent window of the operation panel 62 has been changed to the window 69 is notified, and the corresponding function is called.

【0070】この関数により、操作パネル62の子ウイ
ンドウとしての、例えばプレイボタン65をマウス3で
クリックすることにより、レーザディスク装置に画像の
再生を開始させることができるようになる。即ち、操作
パネル62の処理対象(制御対象)がウインドウ69が
象徴するレーザディスク装置になり、操作パネル62で
のレーザディスク装置の操作が可能となる。
With this function, when the play button 65, which is a child window of the operation panel 62, is clicked with the mouse 3, the laser disk device can start reproducing the image. That is, the processing target (control target) of the operation panel 62 becomes the laser disk device symbolized by the window 69, and the operation of the laser disk device on the operation panel 62 becomes possible.

【0071】なお、レーザディスク装置は、情報を記録
することができないので、ウインドウ69と操作パネル
62との間に親子関係が定義された場合には、記録ボタ
ン67を消去する関数を呼び出すようにしておき、これ
により記録ボタン67を表示しないようにすることがで
きる(図8または図10においては、点線で示してあ
る)。
Since the laser disk device cannot record information, if a parent-child relationship is defined between the window 69 and the operation panel 62, a function for erasing the record button 67 should be called. By this, the record button 67 can be prevented from being displayed (indicated by a dotted line in FIG. 8 or FIG. 10).

【0072】さらに、この場合、上述した図5乃至図7
における場合と同様に、操作パネル62に、その子ウイ
ンドウとして他のボタンを追加したり、また巻戻しボタ
ン63、停止ボタン64、プレイボタン65、早送りボ
タン66、記録ボタン67、またはポーズボタン68を
取り除いてGUI部品(操作パネル62)を構成するよ
うにすることができる。即ち、使用者の嗜好に合わせ
て、GUI部品(操作パネル62)を構成することがで
きる。
Further, in this case, FIG. 5 to FIG.
In the same manner as in the above case, another button is added to the operation panel 62 as its child window, and the rewind button 63, the stop button 64, the play button 65, the fast forward button 66, the record button 67, or the pause button 68 is removed. The GUI component (operation panel 62) can be configured by using the GUI. That is, the GUI component (operation panel 62) can be configured according to the preference of the user.

【0073】また、例えばウインドウ61と操作パネル
62との間に親子関係が定義されている場合(図9)、
操作パネル62の子ウインドウとしての巻戻しボタン6
3、停止ボタン64、プレイボタン65、早送りボタン
66、記録ボタン67、またはポーズボタン68を、操
作パネル62に重ならない位置に移動しても、操作パネ
ル62と、移動されたボタンとの親子関係が、解消され
ないようにすることができる。これにより、ウインドウ
61と操作パネル62との間に親子関係が定義されてい
る限りは、巻戻しボタン63、停止ボタン64、プレイ
ボタン65、早送りボタン66、記録ボタン67、また
はポーズボタン68がいかなる位置にあっても、ビデオ
テープ装置の操作が可能となる。
If a parent-child relationship is defined between the window 61 and the operation panel 62 (FIG. 9),
Rewind button 6 as a child window of operation panel 62
3. Even if the stop button 64, the play button 65, the fast-forward button 66, the record button 67, or the pause button 68 is moved to a position where it does not overlap the operation panel 62, the parent-child relationship between the operation panel 62 and the moved button But it can be prevented. As a result, as long as the parent-child relationship is defined between the window 61 and the operation panel 62, any of the rewind button 63, the stop button 64, the play button 65, the fast forward button 66, the record button 67, or the pause button 68 will be displayed. Even in the position, the video tape device can be operated.

【0074】以上のように、ビデオテープ装置とレーザ
ディスク装置に、操作パネル62を共通して利用するこ
とができるので、それぞれ独立に操作パネルを管理する
場合に比較して、必要なメモリ空間が少なくて済むよう
になる。さらに、コンピュータシステムに接続した装置
の操作を統一的に行うことができ、装置の操作性および
使用者に対する親和性を向上させることができる。
As described above, since the operation panel 62 can be commonly used for the video tape device and the laser disk device, the required memory space is smaller than that in the case where the operation panels are managed independently. It will be less. Further, the operation of the device connected to the computer system can be performed uniformly, and the operability of the device and the affinity for the user can be improved.

【0075】次に、図11は、本発明のGUI部品構成
方法により構成されたスクロールバーの一実施例を示す
平面図である。図11(a)のスクロールバーは、親ウ
インドウとしての枠71、およびその子ウインドウとし
てのスライドボタン72から構成され、スライドボタン
72は枠71内を自由に移動させることができるように
なっている。スライドボタン72がマウス3でドラッグ
されて移動されると、前述したDRAGコールバックが通知
され、それに対応した関数が呼び出される。
Next, FIG. 11 is a plan view showing an embodiment of a scroll bar constructed by the GUI component construction method of the present invention. The scroll bar in FIG. 11A is composed of a frame 71 as a parent window and a slide button 72 as a child window thereof, and the slide button 72 can freely move within the frame 71. When the slide button 72 is dragged by the mouse 3 and moved, the above-mentioned DRAG callback is notified and the corresponding function is called.

【0076】この関数により、枠71に対するスライド
ボタン72の相対位置に基づいて、スクロール対象がス
クロールされる。
With this function, the scroll target is scrolled based on the relative position of the slide button 72 with respect to the frame 71.

【0077】なお、この場合、関数はスライドボタン7
2に割り当てられており、その親ウインドウとしての枠
71は自由に変更することができるようになっている。
In this case, the function is the slide button 7
The frame 71 as the parent window is assigned to No. 2 and can be freely changed.

【0078】さらに、コールバックによって呼び出され
る関数usrFunctionを定義しておけば、図8乃至図10
における場合と同様にして、スクロールバーを移動し、
スクロール対象(制御対象)を変更することができる。
この場合、変更したスクロール対象に対応して、スクロ
ールバーの枠の大きさ、またはスクロールバーのスライ
ドボタンの大きさもしくは数を変化させるようにするこ
とができる。
Further, if the function usrFunction called by the callback is defined, the functions shown in FIGS.
In the same way as in, move the scroll bar,
The scroll target (control target) can be changed.
In this case, the size of the frame of the scroll bar or the size or number of slide buttons of the scroll bar can be changed in accordance with the changed scroll target.

【0079】即ち、変更したスクロール対象に対応し
て、例えば枠73に、その子ウインドウとしてのスライ
ドボタン74および75を配置したり(図11
(b))、枠76に、スライドボタン78を子ウインド
ウとして有する、枠およびスライドボタンとして機能す
るウインドウ77を子ウインドウとして配置して(図1
1(c))、スクロールバーを再構成するようにするこ
とができる。
That is, the slide buttons 74 and 75 as child windows are arranged in the frame 73 corresponding to the changed scroll target (see FIG. 11).
(B)) A window 77 having a slide button 78 as a child window and functioning as a frame and a slide button is arranged as a child window in the frame 76 (see FIG. 1).
1 (c)), the scroll bar can be reconfigured.

【0080】なお、本発明においては、以上説明した
他、例えばスクロールバーのスライドボタンとして機能
するウインドウに、文字や画像を表示するウインドウを
重ね、文字や画像が載ったスクロールバーとしてのGU
I部品などを構成するようにすることができる。
In the present invention, in addition to the above description, for example, a window functioning as a slide button of a scroll bar is overlaid with a window for displaying characters and images, and a GU as a scroll bar on which characters and images are placed.
It is possible to configure an I part or the like.

【0081】[0081]

【発明の効果】以上の如く、本発明のGUI部品構成方
法によれば、画面に表示するGUI部品を構成するウイ
ンドウどうしの間に包含関係を設定し、包含関係に基づ
いて、ウインドウを制御する。従って、GUI部品を容
易に構成することができる。
As described above, according to the GUI component structuring method of the present invention, the inclusion relation is set between the windows constituting the GUI component displayed on the screen, and the windows are controlled based on the inclusion relation. . Therefore, the GUI component can be easily configured.

【0082】さらに、このGUI部品構成方法によれ
ば、ウインドウの移動またはリサイズに基づいて、包含
関係を変更し、包含関係の変更に基づいて、ウインドウ
から構成されるGUI部品を再構成する。従って、GU
I部品の変更を容易に行うことができる。
Further, according to this GUI component structuring method, the inclusion relation is changed based on the movement or resizing of the window, and the GUI component made up of the windows is reconfigured based on the change of the inclusion relation. Therefore, GU
It is possible to easily change the I part.

【0083】また、このGUI部品構成方法によれば、
他のGUI部品上に配置可能なGUI部品が、他の親ウ
インドウに変更可能な親ウインドウ上に少なくとも1つ
の子ウインドウを配置して構成される。従って、GUI
部品を容易に構成することができる。
Further, according to this GUI component construction method,
A GUI component that can be arranged on another GUI component is configured by arranging at least one child window on a parent window that can be changed to another parent window. Therefore, the GUI
The parts can be easily constructed.

【0084】さらに、このGUI部品構成方法によれ
ば、ウインドウが、所定の処理対象に、所定のアクショ
ンを起動させるためのボタンになっており、ウインドウ
から構成されるGUI部品が、所定の処理対象に基づい
て再構成される。従って、GUI部品を容易に変更する
ことができる。
Further, according to this GUI component forming method, the window is a button for activating a predetermined action on a predetermined processing target, and the GUI component made up of the window is a predetermined processing target. Is reconstructed based on. Therefore, the GUI component can be easily changed.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明のGUI部品構成方法を適用したコンピ
ュータシステムの一実施例の構成を示す斜視図である。
FIG. 1 is a perspective view showing a configuration of an embodiment of a computer system to which a GUI component configuring method of the present invention is applied.

【図2】本発明のGUI部品構成方法により構成された
GUI部品の一実施例を示す平面図である。
FIG. 2 is a plan view showing an embodiment of a GUI component configured by the GUI component configuring method of the present invention.

【図3】図1のコンピュータシステムの動作を説明する
ためのフローチャートである。
3 is a flow chart for explaining the operation of the computer system of FIG.

【図4】イベントハンドラの記述例を示す図である。FIG. 4 is a diagram showing a description example of an event handler.

【図5】本発明のGUI部品構成方法により構成された
メニュー部品を示す平面図である。
FIG. 5 is a plan view showing a menu component configured by the GUI component configuration method of the present invention.

【図6】図5のメニュー部品の構成要素を示す図であ
る。
FIG. 6 is a diagram showing components of the menu part of FIG.

【図7】本発明のGUI部品構成方法により構成された
メニュー部品を示す平面図である。
FIG. 7 is a plan view showing a menu component configured by the GUI component configuration method of the present invention.

【図8】図1のディスプレイ4上に表示される、GUI
部品としてのビデオテープ装置を象徴するウインドウ6
1、およびレーザディスク装置を象徴するウインドウ6
9を示す図である。
8 is a GUI displayed on the display 4 of FIG.
Window 6 symbolizing the video tape device as a component
1 and window 6 that symbolizes the laser disk device
It is a figure which shows 9.

【図9】図8のGUI部品の構成要素を示す図である。9 is a diagram showing constituent elements of the GUI part shown in FIG. 8;

【図10】図8のGUI部品の構成要素を示す図であ
る。
10 is a diagram showing components of the GUI part shown in FIG. 8;

【図11】本発明のGUI部品構成方法により構成され
たスクロールバーを示す平面図である。
FIG. 11 is a plan view showing a scroll bar configured by the GUI component configuring method of the present invention.

【図12】従来のGUIを説明するための図である。FIG. 12 is a diagram for explaining a conventional GUI.

【符号の説明】[Explanation of symbols]

1 CPU 2 ウインドウマネージャ 3 マウス 3a マウスカーソル 4 ディスプレイ 11a乃至11c ウインドウ 41a乃至45a,61a,62a,67a,69a
構成要素
1 CPU 2 Window Manager 3 Mouse 3a Mouse Cursor 4 Display 11a to 11c Windows 41a to 45a, 61a, 62a, 67a, 69a
Component

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 画面に表示するGUI部品を構成するウ
インドウどうしの間に包含関係を設定し、 前記包含関係に基づいて、前記ウインドウを制御するこ
とを特徴とするGUI部品構成方法。
1. A GUI component configuring method comprising: setting an inclusion relation between windows constituting GUI components displayed on a screen, and controlling the windows based on the inclusion relation.
【請求項2】 前記ウインドウの移動またはリサイズに
基づいて、前記包含関係を変更することを特徴とする請
求項1に記載のGUI部品構成方法。
2. The GUI component configuring method according to claim 1, wherein the inclusion relation is changed based on movement or resizing of the window.
【請求項3】 前記包含関係の変更に基づいて、前記ウ
インドウから構成される前記GUI部品を再構成するこ
とを特徴とする請求項2に記載のGUI部品構成方法。
3. The GUI component configuring method according to claim 2, wherein the GUI component configured from the window is reconfigured based on the change of the inclusion relation.
【請求項4】 前記GUI部品は、親ウインドウ上に少
なくとも1つの子ウインドウを配置して構成されること
を特徴とする請求項1乃至3のいずれかに記載のGUI
部品構成方法。
4. The GUI according to claim 1, wherein the GUI component is configured by arranging at least one child window on a parent window.
Parts configuration method.
【請求項5】 前記親ウインドウは、他の親ウインドウ
に変更可能であることを特徴とする請求項4に記載のG
UI部品構成方法。
5. The G according to claim 4, wherein the parent window can be changed to another parent window.
UI component configuration method.
【請求項6】 前記GUI部品は、他のGUI部品上に
配置可能であることを特徴とする請求項1乃至5のいず
れかに記載のGUI部品構成方法。
6. The GUI component configuring method according to claim 1, wherein the GUI component can be arranged on another GUI component.
【請求項7】 前記ウインドウは、所定の処理対象に、
所定のアクションを起動させるためのボタンになってお
り、 前記ウインドウから構成される前記GUI部品は、前記
所定の処理対象に基づいて再構成されることを特徴とす
る請求項1乃至6のいずれかに記載のGUI部品構成方
法。
7. The window is a predetermined processing target,
7. The button for activating a predetermined action, wherein the GUI component configured by the window is reconfigured based on the predetermined processing target. The GUI component configuration method described in 1.
JP33113592A 1992-11-17 1992-11-17 GUI component display control method and GUI component display control device Expired - Fee Related JP3438822B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33113592A JP3438822B2 (en) 1992-11-17 1992-11-17 GUI component display control method and GUI component display control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33113592A JP3438822B2 (en) 1992-11-17 1992-11-17 GUI component display control method and GUI component display control device

Publications (2)

Publication Number Publication Date
JPH06161693A true JPH06161693A (en) 1994-06-10
JP3438822B2 JP3438822B2 (en) 2003-08-18

Family

ID=18240264

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33113592A Expired - Fee Related JP3438822B2 (en) 1992-11-17 1992-11-17 GUI component display control method and GUI component display control device

Country Status (1)

Country Link
JP (1) JP3438822B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005025913A (en) * 2003-06-13 2005-01-27 Sharp Corp Information reproducing apparatus, control method of information reproducing apparatus, content recording medium, control program, computer-readable recording medium recording control program
JP2007233802A (en) * 2006-03-02 2007-09-13 Fujitsu Ltd Screen controller and screen control method for event-driven application, and program therefor
JP6182795B1 (en) * 2016-09-01 2017-08-23 オハコプロダクツ株式会社 Layout method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005025913A (en) * 2003-06-13 2005-01-27 Sharp Corp Information reproducing apparatus, control method of information reproducing apparatus, content recording medium, control program, computer-readable recording medium recording control program
JP2007233802A (en) * 2006-03-02 2007-09-13 Fujitsu Ltd Screen controller and screen control method for event-driven application, and program therefor
JP6182795B1 (en) * 2016-09-01 2017-08-23 オハコプロダクツ株式会社 Layout method

Also Published As

Publication number Publication date
JP3438822B2 (en) 2003-08-18

Similar Documents

Publication Publication Date Title
JP2732557B2 (en) Method and data processing system for changing function of GUI
US5966114A (en) Data processor having graphical user interface and recording medium therefor
US7861180B2 (en) Modeless interaction with GUI widget applications
US5828376A (en) Menu control in a graphical user interface
EP0695448B1 (en) Interactive user interface
CA1238980A (en) Method of editing graphic objects in an interactive draw graphic system using implicit editing actions
US20030067497A1 (en) Method and device for modifying a pre-existing graphical user interface
US20080163081A1 (en) Graphical User Interface Using a Document Object Model
US6181338B1 (en) Apparatus and method for managing windows in graphical user interface environment
JP2939021B2 (en) Window management information input / output device
US5812805A (en) Method and editing system for setting tool button
JPH06251089A (en) Design / manufacturing device by computer
JP2001356857A (en) Method for displaying command menu and device for the same
JP3438822B2 (en) GUI component display control method and GUI component display control device
JPH09274553A (en) Device and method for controlling window display
JPH036631A (en) Method of monitoring status of application operation program
US7721072B2 (en) Information processing method and apparatus, recording medium, and program
JPH01240978A (en) Interactive screen defining device
JP2803236B2 (en) Information processing apparatus and information processing method
JP3031624B2 (en) Man-machine interface processor
JP2713147B2 (en) How to edit multimedia presentations
JPH0383121A (en) Menu display system
JP3568762B2 (en) Scenario management device and medium storing program for scenario management
JPH01233617A (en) Information processor
JPH03504174A (en) data processing system

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20030516

LAPS Cancellation because of no payment of annual fees