JP3647556B2 - Cursor detection device - Google Patents

Cursor detection device Download PDF

Info

Publication number
JP3647556B2
JP3647556B2 JP19483996A JP19483996A JP3647556B2 JP 3647556 B2 JP3647556 B2 JP 3647556B2 JP 19483996 A JP19483996 A JP 19483996A JP 19483996 A JP19483996 A JP 19483996A JP 3647556 B2 JP3647556 B2 JP 3647556B2
Authority
JP
Japan
Prior art keywords
window
cursor
display
image information
window image
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP19483996A
Other languages
Japanese (ja)
Other versions
JPH1039848A (en
Inventor
琢二 木村
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP19483996A priority Critical patent/JP3647556B2/en
Publication of JPH1039848A publication Critical patent/JPH1039848A/en
Application granted granted Critical
Publication of JP3647556B2 publication Critical patent/JP3647556B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、一つの表示画面上に複数のウィンドウを形成して表示するマルチウィンドウ表示を行うコンピュータ装置等に設けて好適なカーソル検出装置に関し、特に、複雑な形状のウィンドウを重ね合わせて表示したときに、カーソルが位置するウィンドウを高速かつ正確に検出可能としたカーソル検出装置に関する。
【0002】
【従来の技術】
今日において、モニタ装置の表示画面上に複数のウィンドウを形成し、該各ウィンドウにコンピュータ装置からのデータによる画像等をそれぞれ表示する、いわゆるマルチウィンドウ表示が一般的に行われている。
【0003】
このようなマルチウィンドウ表示としては、図10(a)に示すように表示画面100に対応した記憶領域を有する画像メモリ101上に、各ウィンドウの形状に合わせて該各ウィンドウに表示する画像データW1〜W3を書き込み制御し、これを表示走査に同期して読みだし表示する「描画時合成方式」と、同図(b)に示すように表示画面104に対応した記憶領域をそれぞれ有し、各ウィンドウ毎に設けられた複数の画像メモリ105〜106上に各ウィンドウの画像データW1〜W3を書き込み制御し、これらを表示走査に同期して読みだし制御すると共に、各画像メモリ105〜106から読み出された画像データW1〜W3を、切り換えスイッチ108により各ウィンドウの形状に応じて切り換え制御して表示する「表示時合成方式」とが知られている。
【0004】
上記「描画時合成方式」は、一つの画像メモリ101上に各ウィンドウの画像データW1〜W3を書き込み読みだし制御する構成のため、どちらかといえば単純な形状のウィンドウ上に静止画像を表示する際に適している。
【0005】
これに対して、上記「表示時合成方式」は、複数の画像メモリ105〜106上に各ウィンドウの画像データW1〜W3を別個に書き込み制御することができるため、例えばアニメーションのキャラクタ等の複雑な形状のウィンドウ及び動画像の表示にも対応することができる。
【0006】
ここで、ウィンドウ毎にアプリケーションプログラムを実行するコンピュータシステムにおいては、ユーザがカーソルで指示したウィンドウを検出し、この検出結果に応じてアプリケーションプログラムを実行する必要がある。このため、上記コンピュータシステムにおいては、カーソル位置を管理する表示制御部或いはファームウェアがカーソル位置を検出するようになっている。
【0007】
具体的には、上記コンピュータシステムは、図11に示すようにマウス,タブレット等のポインティングデバイス110と、キーボード111と、光磁気ディスクドライブ装置等の二次記憶装置112と、フレームメモリ等の画像メモリ113と、ウィンドウ検出部114と、モニタ装置116が接続された表示制御部115とをバスライン118を介してプロセッサ117にそれぞれ接続して構成されている。
【0008】
このようなコンピュータシステムは、上述の「描画時合成方式」或いは「表示時合成方式」により画像メモリ113に書き込まれた画像データを表示制御部115がモニタ装置116にマルチウィンドウ表示し、また、上記画像データを二次記憶装置112に格納するようになっている。また、ポインティングデバイス110或いはキーボード111の操作に応じて移動制御された表示画面上のカーソル位置をプロセッサ117が検出し、上記ウィンドウ検出部114が、上記プロセッサ117により検出されたカーソル位置に基づいて、現在、カーソルが位置するウィンドウを検出し、上記プロセッサ117が、これに応じて各ウィンドウ毎のアプリケーションプログラムを実行するようになっている。
【0009】
例えば図12に示すように上記モニタ装置116の表示画面上にそれぞれ長方形状を有する第1〜第3のウィンドウW1〜W3がマルチウィンドウ表示されており、カーソル120が第2のウィンドウ上に位置していたとすると、上記プロセッサ117は、表示画面の左上隅を原点Oとし、表示画面の水平方向をX軸に、また、表示画面の垂直方向をY軸とした座標を形成すると共に、この座標上に存在するカーソル120の位置を座標データ(この場合はX4,Y3)のかたちで検出して上記ウィンドウ検出部114に供給する。
【0010】
次に、上記プロセッサ117は、表示制御部115からの表示制御データに基づいて、表示画面上にマルチウィンドウ表示されている各ウィンドウW1〜W3の表示優先順位を検出し、第1番目の表示優先順位を有するウィンドウの表示領域を示す座標データをそれぞれウィンドウ検出部114に供給する。
【0011】
この場合、表示画面の手前に表示されている第1のウィンドウW1から順に表示優先順位が付されているとすると、上記プロセッサ117は、まず、第1のウィンドウW1の表示領域を形成する長方形状の対角線上の座標データ(X3,Y5及びX7,Y7)を上記ウィンドウ検出部114に供給する。
【0012】
カーソル120が第1のウィンドウW1内に存在する場合は、該カーソル120のX軸の座標データ(X4)は、上記対角線の一端のX軸の座標データ(X3)以上で、該対角線の他端のX軸の座標データ(X7)以下となり、同様に、カーソル120のY軸の座標データ(Y3)は、上記対角線の一端のY軸の座標データ(Y5)以上で、該対角線の他端のY軸の座標データ(Y7)以下となるはずである。
【0013】
このため、上記ウィンドウ検出部114は、上記カーソル120の座標データ(X4,Y3)及び上記第1のウィンドウW1の座標データを比較することにより、該カーソル120のX軸及びY軸の座標データが上述の両条件を満たすか否かを判別する。そして、カーソル120のX軸及びY軸の座標データが上述の両条件を満たした場合に、該カーソル120は、第1のウィンドウW1内に存在すると判断する。
【0014】
この場合、カーソル120は第2のウィンドウW2の表示領域に位置しているため、カーソル120のY軸の座標データ(Y3)が、第1のウィンドウW1の対角線の一端のY軸の座標データ(Y5)以下となるため、上記所定の条件は成立しない。このため、上記プロセッサ117は、次に優先順位の高い第2のウィンドウW2の表示領域を示す対角線上の座標データ(X,Y及びX,Y)を上記ウィンドウ検出部114に供給する。
【0015】
上記ウィンドウ検出部114は、今度は、この第2のウィンドウW2の座標データと、上記カーソル120の座標データとを比較し、上述の両条件を満たすか否かを判別する。
【0016】
この場合、上記カーソル120のX軸の座標データX4は、第2のウィンドウW2の対角線上の一端のX軸の座標データX2以上で、他端のX軸の座標データX6以下であり(X2≦X4≦X6)、カーソル120のY軸の座標データY3は、該対角線上の一端のY軸の座標データY2以上で、他端のY軸の座標データY6以下(Y2≦Y3≦Y6)であり、所定の条件を満たすため、上記ウィンドウ検出部114は、上記カーソル120は第2のウィンドウW2内に存在するものと判断し、これを示すデータをプロセッサ117に供給する。
【0017】
プロセッサ117は、上記カーソル120が存在するウィンドウが検出されると、このウィンドウで指定されるアプリケーションプログラムを実行する。
【0018】
なお、上記カーソル120の座標データと、第2のウィンドウW2の座標データとを比較した結果、なおも上記条件を満たさないものと判別された場合には、上記プロセッサ117が、次に優先順位の高い第3のウィンドウW3の座標データをウィンドウ検出部114に供給し、該ウィンドウ検出部114が、上記カーソル120の座標データと、この第3のウィンドウW3の座標データとを比較することとなる。
【0019】
次に、以上の説明は、各ウィンドウW1〜W3がそれぞれ長方形状を有する場合であったが、該ウィンドウの形状が例えば図13(a)に示すような複雑な形状を有する場合、上記プロセッサ117は、同図(a)中点線で示すように一つのウィンドウを水平方向の直線で分割することにより、同図(b)に示すような複数の長方形状の表示領域R1〜R5を形成する。そして、上述と同様に、優先順位の高いウィンドウW1から順に座標データをウィンドウ検出部114に供給するが、この際、上記分割により形成された表示領域R1〜R5の各座標データをそれぞれ上記ウィンドウ検出部114に供給する。ウィンドウ検出部114は、上述と同様に上記カーソル120の座標データを、上記各表示領域R1〜R5の座標データとそれぞれ比較する。
【0020】
これにより、複雑な形状に対応してカーソル120が位置するウィンドウを検出することができ、該ウィンドウに応じたアプリケーションプログラムを実行することができる。
【0021】
【発明が解決しようとする課題】
しかし、従来のコンピュータシステムは、ウィンドウの形状が複雑である場合、これを複数の長方形状の表示領域に分割し、この各表示領域の座標データとカーソルの座標データとを比較して、該カーソルが位置するウィンドウを検出するようにしていたため、分割により形成された長方形状の表示領域の数が多くなると、カーソルが位置するウィンドウを検出するまでに時間を要する問題があった。このような問題は、ウィンドウの形状が例えばアニメーションのキャラクタ等のような特に複雑な形状である場合は、より顕著となる。
【0022】
各ウィンドウ毎にアプリケーションプログラムを実行するコンピュータシステムにおいては、カーソルが位置するウィンドウが検出されるまでは該アプリケーションプログラムを実行することができないため、このカーソルが位置するウィンドウを検出するまでに要する時間の短縮化を図ることは、従来より望まれているシステム速度の高速化を図るうえで大変重要な課題である。
【0023】
本発明は上述の問題点に鑑みてなされたものであり、マルチウィンドウ表示された複数のウィンドウの中からカーソルが位置するウィンドウを、ウィンドウの形状に拘らず正確かつ高速に検出することができるようなカーソル検出装置の提供を目的とする。
【0024】
【課題を解決するための手段】
請求項1記載の本発明に係るカーソル検出装置は、各ウィンドウに表示するウィンドウ画像情報を、該各ウィンドウに対応する複数の記憶手段にそれぞれ書き込み、該各記憶手段に書き込まれたウィンドウ画像情報を表示手段の表示走査に同期してそれぞれ同時に読み出し、この各記憶手段から読み出された各ウィンドウ画像情報を、ウィンドウの表示優先順位に応じて各画素毎に選択して表示手段に供給する表示時合成方式によりマルチウィンドウ表示された複数のウィンドウの中から、表示画面上のカーソルが位置するウィンドウを検出するカーソル検出装置であって、上述の課題を解決するためにカーソル位置検出手段と、ウィンドウ画像検出手段と、一致検出手段と、ウィンドウ検出手段とを有している。
【0025】
このようなカーソル検出装置は、上記カーソル位置検出手段がマルチウィンドウ表示された表示画面上のカーソルの位置を検出する処理を、上記表示手段の表示走査に同期して行う。また、ウィンドウ画像検出手段が、上記各記憶手段から読み出された情報が、そのウィンドウ内に表示されるウィンドウ画像情報であるか否かをそれぞれ検出する処理を、上記表示手段の表示走査に同期して行う。一致検出手段は、上記ウィンドウ画像検出手段からの各検出出力と、上記カーソル位置検出手段からの現在のカーソルの表示位置のタイミングであることを示す情報としてのカーソル位置検出出力とを、表示手段の表示走査に同期して比較することにより、ウィンドウ画像検出手段により検出されたウィンドウ画像情報のウィンドウ画像内にカーソルが位置するか否かを検出する。
【0026】
ここで、各ウィンドウの一部が重なりあってマルチウィンドウ表示されていた場合、上記カーソルが、該各ウィンドウの重なりあっている部分以外の部分に位置していると、そのウィンドウ画像内にカーソルが位置することを示す上記一致検出手段からの検出出力は一つのみとなる。このため、上記ウィンドウ検出手段は、上記一致検出手段からそのウィンドウ画像内にカーソルが位置することを示す検出出力が一つのみ供給された場合、そのウィンドウ画像情報を記憶している記憶手段を検出し、この記憶手段に記憶されたウィンドウ画像情報を表示するウィンドウをカーソルが位置するウィンドウとして検出する。
【0027】
一方、各ウィンドウの一部が重なりあってマルチウィンドウ表示されていた場合、上記カーソルが、該各ウィンドウの重なりあっている部分に位置していると、上記一致検出手段からは、その各ウィンドウが重なっている枚数分の検出出力が得られる。このため、上記ウィンドウ検出手段は、この各ウィンドウ画像情報を表示するウィンドウのうち、表示優先順位の最も高いウィンドウのウィンドウ画像情報を記憶している記憶手段を検出し、この記憶手段に記憶されたウィンドウ画像情報を表示するウィンドウをカーソルが位置するウィンドウとして検出する。
【0028】
これにより、マルチウィンドウ表示された複数のウィンドウの中からカーソルが位置するウィンドウを、ウィンドウの形状に拘らず正確かつ高速に検出することができる。
【0029】
次に、上記一つの記憶手段に一つのウィンドウ画像が書き込むようにすると、マルチウィンドウ表示により表示可能なウィンドウの数の上限は該記憶手段の数となる。このため、請求項2記載の本発明に係るカーソル検出装置には、一つの記憶手段に対して複数のウィンドウ画像情報を書き込み制御する複数ウィンドウ書き込み制御手段が設けられている。
【0030】
しかし、上述のカーソルが位置するウィンドウの検出の仕方では、カーソルが位置するウィンドウ画像が記憶されている記憶手段を検出することにより、いわば間接的にカーソルが位置するウィンドウを検出するようにしているため、上記複数ウィンドウ書き込み制御手段により一つの記憶手段に複数のウィンドウ画像が書き込まれた場合、その記憶手段までは検出することができるのであるが、該記憶手段に書き込まれた複数のウィンドウ画像のウィンドウのうち、どのウィンドウにカーソルが位置するのか検出できないこととなる。
【0031】
このため、当該カーソル検出装置は、上記複数ウィンドウ書き込み制御手段により、一つの記憶手段に対して複数のウィンドウ画像情報が書き込まれている場合、上記ウィンドウ検出手段が、カーソルが位置するウィンドウのウィンドウ画像情報が記憶されている記憶手段の検出後に、該記憶手段に記憶されている複数のウィンドウ画像情報による複数のウィンドウの表示位置を、該各ウィンドウの表示優先順位の高い順に検出し、この各ウィンドウの表示位置と、上記カーソル位置検出手段により検出されたカーソルの表示位置とを順次比較する。そして、カーソルが位置するとして最初に検出されたウィンドウを、カーソルが位置するウィンドウとして検出する。
【0032】
これにより、マルチウィンドウ表示可能なウィンドウの数を、設ける記憶手段の数以上の数に拡張することができるうえで、カーソルが位置するウィンドウを高速かつ正確に検出することができる。
【0033】
次に、請求項3記載の本発明に係るカーソル検出装置は、上述の表示時合成方式によりマルチウィンドウ表示された複数のウィンドウの中から、表示画面上のカーソルが位置するウィンドウを検出するカーソル検出装置ではあるが、上述の課題を解決するための他の手段として、カーソル位置検出手段と、判別情報書き込み手段と、ウィンドウ画像検出手段と、一致検出手段と、ウィンドウ検出手段とを有している。
【0034】
このような当該カーソル検出装置は、上記判別情報書き込み手段が、各記憶手段のウィンドウ画像情報が書き込まれた領域以外の領域に、該ウィンドウ画像情報に対して判別可能な判別情報を書き込み制御する。また、ウィンドウ画像検出手段は、上記各記憶手段から読み出されたウィンドウ画像情報及び判別情報の中から該ウィンドウ画像情報を検出する処理を上記表示手段の表示走査に同期して行い、一致検出手段が、上記ウィンドウ画像検出手段からのウィンドウ画像情報であるか否かを示す情報としての各検出出力と、上記カーソル位置検出手段からの現在のカーソルの表示位置のタイミングであることを示す情報としてのカーソル位置検出出力とを、表示手段の表示走査に同期して比較することにより、ウィンドウ画像検出手段により検出されたウィンドウ画像内にカーソルが位置するか否かを検出する。
【0035】
そして、ウィンドウ検出手段が、上記一致検出手段からそのウィンドウ画像内にカーソルが位置することを示す検出出力が一つのみ供給された場合、そのウィンドウ画像情報を表示するウィンドウをカーソルが位置するウィンドウとして検出し、上記一致検出手段からそのウィンドウ画像内にカーソルが位置することを示す検出出力が複数供給された場合、該各ウィンドウ画像情報を表示するウィンドウのうち、表示優先順位の最も高いウィンドウをカーソルが位置するウィンドウとして検出する。
【0036】
当該カーソル検出装置は、各記憶手段に対してウィンドウ画像情報と共に判別情報を書き込むようにしているため、カーソルが位置するウィンドウの検出の際に、ウィンドウ画像情報とこれ以外の情報との判別を正確に行うことができ、カーソルが位置するウィンドウを正確かつ高速に行うことができる。
【0037】
次に、請求項4記載の本発明に係るカーソル検出装置は、各ウィンドウに表示するウィンドウ画像情報を記憶手段にそれぞれ書き込み、該記憶手段に書き込まれたウィンドウ画像情報をモニタ装置の表示走査に同期して読み出し表示手段に供給する描画時合成方式によりマルチウィンドウ表示された複数のウィンドウの中から、表示画面上のカーソルが位置するウィンドウを検出するカーソル検出装置であって、上述の課題を解決するために、複数の一時記憶手段と、判別情報書き込み手段と、カーソル位置検出手段と、ウィンドウ検出手段とを有している。
【0038】
このようなカーソル検出装置において、上記複数の一時記憶手段には、上記記憶手段に書き込まれる前に、各ウィンドウに表示するウィンドウ画像情報がそれぞれ書き込まれる。上記判別情報書き込み手段は、各一時記憶手段にウィンドウ画像情報が書き込まれた領域以外の領域に、該ウィンドウ画像情報に対して判別可能な判別情報を書き込み制御する。
【0039】
この各一時記憶手段に書き込まれたウィンドウ画像情報は、上記記憶手段上に書き込まれることにより該記憶手段上で合成され、表示手段の表示走査に同期して一括的に読み出されることで、いわゆる描画時合成方式によるマルチウィンドウ表示がなされる。
【0040】
上記ウィンドウ検出手段は、各ウィンドウ画像を表示するウィンドウの表示優先順位の高い順に、上記各一時記憶手段から各ウィンドウ画像情報及び判別情報を読み出し、上記カーソル位置検出手段により検出されたカーソルの位置座標を示すカーソル位置情報の示すカーソル位置にある情報がウィンドウ画像情報であるか判別情報であるかを検出する。そして、カーソルの位置する情報がウィンドウ画像情報であると最初に判別された該ウィンドウ画像情報を有するウィンドウを、カーソルが位置するウィンドウとして検出する。
【0041】
これにより、マルチウィンドウ表示方式として描画時合成方式を採用した場合においても、カーソルが位置するウィンドウを高速かつ正確に検出することができる。
【0042】
次に、請求項5記載の本発明に係るカーソル検出装置は、上述の描画時合成方式によりマルチウィンドウ表示された複数のウィンドウの中から、表示画面上のカーソルが位置するウィンドウを検出するカーソル検出装置ではあるが、上述の課題を解決するための他の手段として、マルチウィンドウ表示の際のウィンドウ形状が、例えば長方形状や正四角形状等の簡単な形状(所定の形状)であった場合、その各ウィンドウのウィンドウ画像情報を上記記憶手段に書き込み制御し、該ウィンドウ形状が長方形状以外の形状であった場合(複雑な形状であった場合)、その各ウィンドウのウィンドウ画像情報を上記各一時記憶手段に書き込み制御する書き込み制御手段を有する。
【0043】
この場合、上記ウィンドウ検出手段は、上記長方形状のウィンドウ形状のウィンドウ画像情報が上記記憶手段に書き込まれた場合、上記記憶手段に書き込まれた各ウィンドウ画像情報による各ウィンドウの表示位置を、該各ウィンドウの表示優先順位の高い順に検出し、この各ウィンドウの表示位置と、上記カーソル位置検出手段により検出されたカーソルの表示位置とを順次比較し、カーソルが位置するとして最初に検出されたウィンドウを、カーソルが位置するウィンドウとして検出する。
【0044】
また、長方形状以外のウィンドウ形状のウィンドウ画像情報が上記各一時記憶手段に書き込まれた場合、上記ウィンドウ検出手段は、各ウィンドウ画像を表示するウィンドウの表示優先順位の高い順に、上記各一時記憶手段から各ウィンドウ画像情報及び判別情報を読み出し、上記カーソル位置検出手段により検出されたカーソルの位置座標を示すカーソル位置情報の示すカーソル位置にある情報がウィンドウ画像情報であるか判別情報であるかを検出する。そして、カーソルの位置する情報がウィンドウ画像情報であると最初に判別された該ウィンドウ画像情報を有するウィンドウを、カーソルが位置するウィンドウとして検出する。
【0045】
これにより、ウィンドウの形状の複雑さ等に応じて該ウィンドウ画像情報の書き込みを行う記憶手段を選択することができ、該ウィンドウの形状に応じて最適な方法によりカーソルが位置するウィンドウを検出することができる。このため、カーソルが位置するウィンドウを高速かつ正確に検出することができる。
【0046】
【発明の実施の形態】
以下、本発明に係るカーソル検出装置の好ましい実施の形態について図面を参照しながら詳細に説明する。
【0047】
本発明に係るカーソル検出装置は、「表示時合成方式」によりマルチウィンドウ表示を行うマルチウィンドウ表示装置に適用することができる。
【0048】
この本発明の第1の実施の形態に係るマルチウィンドウ表示装置は、図1に示すようにマルチウィンドウ表示の際、各ウィンドウに表示する画像(ウィンドウ画像)を形成する複数のウィンドウ画像生成部(WG1〜WGn)1と、表示画面上のカーソルが位置するウィンドウを検出するウィンドウ検出部2と、各ウィンドウ画像生成部1からのウィンドウ画像を、表示するウィンドウの形状に応じて選択してモニタ装置4に供給するデータセレクタ3を、当該マルチウィンドウ表示装置の全体的な制御を行うプロセッサ5にそれぞれ接続することにより構成されている。
【0049】
上記各ウィンドウ画像生成部1は、そのウィンドウに表示する画像の画像データを記憶する画像メモリ7と、上記プロセッサ5から供給されるモニタ装置4の走査に同期したタイミングデータで上記画像メモリ7に記憶された画像データを読み出すためのアドレスデータを生成するアドレス生成回路6と、上記画像メモリ7から読み出された画像データがウィンドウ内のものであるかウィンドウ外のものであるかを各画素毎に判別し、該ウィンドウ内のものである場合にイネーブルデータ(e1〜en)を出力するマスク回路8とでそれぞれ構成されている。
【0050】
上記ウィンドウ検出部2は、表示画面上のカーソルの位置を検出する垂直方向位置検出回路9及び水平方向位置検出回路10と、上記各ウィンドウ画像生成部1の数に対応して設けられ、上記各位置検出回路9,10により検出されたカーソルの位置を示すカーソル位置検出データと各ウィンドウ画像生成部1からのイネーブルデータとの一致を検出する複数のANDゲート11と、プロセッサ5から供給されるウィンドウの表示優先順位を示す優先順位データ及び各ANDゲート11から供給される一致検出データに基づいて、カーソルが位置するウィンドウ画像を形成しているウィンドウ画像生成部1を検出し、このウィンドウ画像生成部1を示す識別コードをプロセッサ5に供給するプライオリティエンコーダ12とで構成されている。
【0051】
上記垂直方向位置検出回路9は、図2に示すように表示画面上に表示されているカーソルのY座標データを記憶するY座標レジスタ15と、モニタ装置の水平同期信号をカウントする水平同期カウンタ16と、例えばANDゲート等で構成され、上記Y座標レジスタ15からのY座標データ及び水平同期カウンタ16からのカウントデータの一致を検出することにより、表示画面上のカーソルの垂直方向の位置(表示画面の縦方向の位置)を検出する一致検出回路17とで構成されている。
【0052】
また、上記水平位置検出回路10は、図2に示すように表示画面上に表示されているカーソルのX座標データを記憶するX座標レジスタ18と、モニタ装置の水平方向のドット数(画素数)をカウントするドットカウンタ19と、上記X座標レジスタ18からのX座標データ及びドットカウンタ19からのカウントデータの一致を検出して表示画面上のカーソルの水平方向の位置(表示画面の横方向の位置)を示す水平方向一致検出データを形成すると共に、この水平方向一致検出データと、上記一致検出回路17からの垂直方向一致検出データとの一致を検出する一致検出回路20とで構成されている。
【0053】
次に、このような構成を有する当該第1の実施の形態に係るマルチウィンドウ表示装置の動作説明をする。
【0054】
まず、図1において、マルチウィンドウ表示が指定されると、プロセッサ5は、各ウィンドウの形状を検出し、このウィンドウ形状を示す形状データを各ウィンドウ画像生成部1のアドレス生成回路6に供給すると共に、該各ウィンドウに表示する画像の画像データを各ウィンドウ画像生成部1の画像メモリ7に供給する。各アドレス生成回路6は、上記形状データが供給されると、この形状データで示されるウィンドウ形状に対応する書き込みアドレスを形成し、これを各画像メモリ7及び各マスク回路8に供給する。これにより、各画像メモリ7上には、各ウィンドウ形状に応じて画像データが書き込まれることとなる。
【0055】
次に、上記各アドレス生成回路6は、プロセッサ5から供給される水平同期信号に同期して各画像メモリ7に書き込まれた画像データを読み出すための読み出しアドレスを形成し、これを各画像メモリ7に供給する。これにより、各画像メモリ7に書き込まれた画像データが読み出されマスク回路8を介してデータセレクタに供給される。
【0056】
なお、この読み出しアドレスは、上記各画像メモリ7に書き込まれた画像データのみを読み出すためのものではなく、該画像データ及び画像データが書き込まれている領域以外の領域のデータをも読み出すものである。
【0057】
上記各マスク回路8には、上述のようにプロセッサ5から各ウィンドウ形状に対応する書き込みアドレスが供給されている。このため、各マスク回路8は、この書き込みアドレスに基づいて、上記各画像メモリ7から読み出された画像データがそのウィンドウ内に表示されるものであるか否かを各画素毎に判別し、該ウィンドウ内に表示されるものである場合にイネーブルデータ(e1〜en)を形成し、これをデータセレクタ及び後に説明する各ANDゲート11に供給する。
【0058】
上記データセレクタ3には、マルチウィンドウ表示される各ウィンドウの優先順位を示す優先順位データがプロセッサ5から供給されている。この優先順位データは、例えば表示画面の手前に位置するウィンドウから順(図1中、W1,W2,W3・・・の順)に付されている。データセレクタ3は、この優先順位データ及び各マスク回路8からのイネーブルデータに基づいて、各画像メモリ7から読み出された画像データを選択し、これをモニタ装置4に供給する。これにより、各形状のウィンドウ内に各画像データに応じた画像を表示することができ、いわゆる「表示時合成方式」によるマルチウィンドウ表示を行うことができる。
【0059】
次に、このようにマルチウィンドウ表示された表示画面には、キーボードの十字キーやマウス等により指定された位置にカーソルが表示されるのであるが、当該マルチウィンドウ表示装置は、以下の特徴的な動作により、マルチウィンドウ表示された各ウィンドウの中からカーソルが位置するウィンドウを特定して検出するようになっている。
【0060】
すなわち、上記プロセッサ5は、マルチウィンドウ表示が指定されると、上述のように各部を制御してマルチウィンドウ表示を行うと共に、垂直方向位置検出回路9及び水平方向位置検出回路10に、カーソルの表示画面上の垂直方向の位置を示すY座標データY0及び該カーソルの表示画面上の水平方向の位置を示すX座標データX0を供給する。
【0061】
具体的には、上記垂直方向位置検出回路9及び水平方向位置検出回路10は、図2に示すように構成されており、上記プロセッサ5は、上記Y座標データY0をY座標レジスタ15に供給すると共に、上記X座標データX0をX座標レジスタ18に供給する。
【0062】
また、上記プロセッサ5は、上記各画像メモリ7に書き込まれた画像データを読み出す際、モニタ装置4の表示走査に同期した水平同期信号を上記各アドレス生成回路6に供給すると共に、図2に示す垂直方向位置検出回路9の水平同期カウンタ16に供給する。
【0063】
さらに、上記プロセッサ5は、モニタ装置4の各ラインの各画素の走査に同期したドットクロックを形成し、これを図2に示す水平方向位置検出回路10のドットカウンタ19に供給する。
【0064】
上記Y座標レジスタ15は、上記カーソルの表示画面の垂直方向の位置を示すY座標データY0を一致検出回路17に供給する。また、上記水平同期カウンタ16は、1フレーム(或いは1フィールド)分の水平同期信号をカウントし、このカウントデータを上記一致検出回路17に供給する。一致検出回路17は、上記Y座標データY0及びカウントデータを比較し、両者が一致したタイミングで垂直方向一致検出データを上記水平方向位置検出回路10の一致検出回路20に供給する。
【0065】
上記水平同期カウンタ16は、水平同期信号をカウントすることにより、現在、上記モニタ装置4が走査しているラインを示すカウントデータを上記一致検出回路17に供給することとなる。また、上記Y座標レジスタ15は、カーソルの表示画面の垂直方向の位置、すなわち、カーソルが位置するラインを示すY座標データY0を上記一致検出回路17に供給することとなる。このため、一致検出回路17において、両者の一致を検出することにより、カーソルが位置するモニタ装置4上のラインを検出することができる。
【0066】
次に、上記X座標レジスタ18は、上記カーソルの表示画面の水平方向の位置を示すX座標データX0を一致検出回路20に供給する。また、上記ドットカウンタ16は、モニタ装置4の各ラインの各画素の走査に同期したドットクロックをカウントし、このカウントデータを一致検出回路20に供給する。
【0067】
一致検出回路20は、上記X座標データX0及びドットクロックのカウントデータを比較する。上記X座標データX0及びドットクロックのカウントデータが一致するということは、表示画面の水平方向のカーソルの位置が検出されたこととなる。このため、一致検出回路20は、上記X座標データX0及びカウントデータが一致するタイミングでカーソルの水平方向の位置が検出されたことを示す水平方向一致検出データを形成する。そして、上記水平方向一致検出データを形成すると、該水平方向一致検出データと、上記水平同期カウンタ16から供給される垂直方向一致検出データとを比較し、両者の一致を検出する。
【0068】
上記水平方向一致検出データと垂直方向一致検出データとが一致するということは、そのモニタ装置の走査タイミングが、現在のカーソルの表示位置のタイミングであることを示すこととなる。このため、上記一致検出回路20は、上記水平方向一致検出データと垂直方向一致検出データとが一致したタイミングでカーソル検出データを形成し、これを図1に示す各ANDゲート11にそれぞれ供給する。
【0069】
次に、上述のように各ウィンドウ画像生成部1の各マスク回路8は、各画像メモリ7から読み出された画像データがそのウィンドウ内に表示されるものであるか否かを各画素毎に判別し、該ウィンドウ内に表示されるものである場合にイネーブルデータ(e1〜en)を各ANDゲート11に供給するようになっている。このため、各ANDゲート11は、それぞれ各ウィンドウ画像生成部1から供給されるイネーブルデータ(e1〜en)と、上記水平方向位置検出回路10の一致検出回路20から供給されるカーソル検出データとを比較し、両者が一致したタイミングで一致検出データをプライオリティエンコーダ12に供給する。
【0070】
上記各イネーブルデータ(e1〜en)は、ウィンドウ内に表示する画像の画素の走査時に出力されるデータであり、上記カーソル検出データは、表示画面上のカーソルの表示位置の走査時に出力されるデータである。このため、例えば図1に示すように2つのウィンドウの一部が重なってマルチウィンドウ表示されており、この重なり部分にカーソルが位置している場合には、この2つのウィンドウ画像を形成するウィンドウ画像生成部1からのイネーブルデータが供給される2つのANDゲート11から、上記一致検出データが出力されることとなる。
【0071】
なお、カーソルが上記重なり部分以外の部分に位置している場合は、そのカーソルが位置するウィンドウを形成しているウィンドウ画像生成部1からのイネーブルデータが供給される1つのANDゲート11のみから、上記一致検出データが出力されることとなる。
【0072】
上記プライオリティエンコーダ12には、プロセッサ5からマルチウィンドウ表示されている各ウィンドウの表示優先順位を示す表示優先順位データが供給されている。この表示優先順位は、ユーザからの指示等によってウィンドウの表示順序が変更された場合には、その都度、更新されるようになっている。
【0073】
プライオリティエンコーダ12は、上記各ANDゲート11から2つ以上の一致検出データが供給された場合、この表示優先順位データにより優先される方(表示優先順位が若い方:図1の場合、ウィンドウW2及びウィンドウW3の重なり部分にカーソルが位置していればウィンドウW2の方)のウィンドウに対応する一致検出データを選択し、この一致検出データを出力したANDゲート11にイネーブルデータを供給したウィンドウ画像生成部1を検出する。そして、このウィンドウ画像生成部1を示す識別コードを形成し、これをプロセッサ5に供給する。
【0074】
これにより、各ウィンドウが複雑に重なりあってマルチウィンドウ表示されていた場合でも、各ウィンドウの中からカーソルが位置するウィンドウを正確に検出することができる。
【0075】
なお、上記プライオリティエンコーダ12は、各ANDゲート11から1つのみ一致検出データが供給された場合は、上記表示優先順位データに拘らず、その一致検出データを出力したANDゲート11にイネーブルデータを供給したウィンドウ画像生成部1を検出し、このウィンドウ画像生成部1を示す識別コードを上記プロセッサ5に供給する。
【0076】
上記プロセッサ5は、上記識別コードが供給されると、これをカーソルが位置するウィンドウを示すデータとして取り込み、そのウィンドウに対応するアプリケーションプログラムを実行する。
【0077】
このように、本発明の第1の実施の形態に係るマルチウィンドウ表示装置は、マルチウィンドウ表示を行った際に、カーソルの表示位置と、モニタ装置上の表示画像の表示位置とをモニタ装置4の表示走査に同期して比較し両者が一致した場合、カーソルの表示位置に対応するウィンドウ画像の中から表示優先順位が最も高いウィンドウを形成しているウィンドウ画像生成部1を検出し、このウィンドウ画像生成部1で形成されるウィンドウを、現在、カーソルが位置するウィンドウとして検出する。これにより、マルチウィンドウ表示されるウィンドウの数,形状及び重なり具合等に拘らず、カーソルが位置するウィンドウを正確に検出することができる。
【0078】
また、このようなウィンドウの検出は、モニタ装置4の表示走査に同期して行われるため、カーソルが位置するウィンドウの検出を、1フレームの表示期間内に行うことができる。すなわち、モニタ装置4のテレビジョン方式が、我が国の標準方式であるNTSC方式である場合は、1/30秒以内という高速でカーソル位置を検出することができる。このため、当該マルチウィンドウ表示装置を、ウィンドウ毎にアプリケーションプログラムを実行するコンピュータ装置に適用した場合、該アプリケーションプログラムを1フレームの表示期間内に実行開始することができ、応答性の向上を図ることができる。
【0079】
ここで、当該第1の実施の形態に係るマルチウィンドウ表示装置は、各ウィンドウ画像生成部1の各画像メモリ7に、1つのウィンドウ画像を書き込み制御するものとして説明を進めてきたが、当該マルチウィンドウ表示装置は、各画像メモリ7に複数のウィンドウ画像を書き込み制御することにより、設けられているウィンドウ画像生成部1の数以上の数のウィンドウが形成可能となっている。
【0080】
この場合、上記プロセッサ5は、1つの画像メモリ7内に複数のウィンドウ画像を合成して書き込み制御する。これにより、読みだしの際に1つのウィンドウ画像生成部1から複数のウィンドウ画像が読み出されることとなり、モニタ装置4上に、当該マルチウィンドウ表示装置に設けられたウィンドウ画像生成部1の数以上の数のウィンドウを表示することができる。
【0081】
このように、1つの画像メモリ7内に複数のウィンドウ画像を合成して書き込み表示した場合において、カーソルが位置するウィンドウの検出動作は、図3及び図4のフローチャートに示すようになっている。
【0082】
まず、図3に示すフローチャートは、マルチウィンドウ表示が実行されることでスタートとなりステップS1に進む。
【0083】
ステップS1では、上述と同様に、上記プロセッサ5が、カーソルの表示位置,イネーブルデータ及び優先順位データに基づいて、カーソルが位置するウィンドウ画像を形成しているウィンドウ画像生成部1を検出してステップS2に進む。
【0084】
ステップS2では、プロセッサ5が、上記カーソルが位置するウィンドウ画像を形成しているとして検出された1つのウィンドウ画像生成部1は、複数のウィンドウを合成しているか否かを判別し、Noの場合はステップS3に進み、そのウィンドウ画像生成部1により形成されているウィンドウにカーソルが位置するものと検出して当該図3に示すフローチャートの全ルーチンを終了する。
【0085】
一方、上記ステップS2において、複数のウィンドウを合成しているもの(Yes)と判別した場合、上記プロセッサ5は、図4に示すサブルーチンのフローチャートを実行すべくステップS11に進む。
【0086】
ステップS11では、上記プロセッサ5が、モニタ装置4の表示画面上のカーソル位置(上記X座標データX0及びY座標データY0)を検出してステップS12に進む。
【0087】
次に、ステップS12では、プロセッサ5が、上述の表示優先順位に基づいて、表示画面上にマルチウィンドウ表示されている各ウィンドウWi(1≦i≦n)の表示領域を示す座標データを検出してステップS13に進む。
【0088】
すなわち、マルチウィンドウ表示されている各ウィンドウの表示優先順位は、表示画面の手前からに順に付されている。このため、上記プロセッサ5は、まず、上記第1のウィンドウW1の表示領域の対角線の一端のX座標データXj,Y座標データYj及び該対角線の他端のX座標データXj+1,Y座標データYj+1を検出しステップS13に進む。
【0089】
次にステップS13では、プロセッサ5が、上記カーソルの座標データと、上記第1のウィンドウW1の座標データとを比較し、カーソルのX軸の座標データが、第1のウィンドウW1の対角線の一端のX軸の座標データ以上で他端のX軸の座標データ以下であり、かつ、該対角線の一端のY軸の座標データ以上で他端のY軸の座標データ以下であるか否か(Xj≦X0≦Xj+1、かつ、Yj≦Y0≦Yj+1)を判別し、Yesの場合は当該サブルーチンを終了して図3に示すステップS3に進み、Noの場合はステップS12に戻る。
【0090】
すなわち、このステップS13においては、カーソルの位置を示す座標データと、第1のウィンドウW1を形成する対角線両端の座標データとを比較することにより、該第1のウィンドウW1内にカーソルが位置するか否かを判別する。そして、上述の「Xj≦X0≦Xj+1、かつ、Yj≦Y0≦Yj+1」という両条件を満たさない場合は、次に優先順位の高い第2のウィンドウW2でこの条件を満たすか否かを判別するために、ステップS12に戻る。
【0091】
次に、上記ステップS12に戻った場合、上記プロセッサ5は、次に優先順位の高い第2のウィンドウW2の表示領域の対角線の両端の座標データを検出してステップS13に進む。そしてステップS13において、上記カーソルの座標データと、上記第2のウィンドウW2の上記座標データとを再度比較し、上述の条件を満たすか否かを判別する。
【0092】
このように、当該マルチウィンドウ表示装置は、各ウィンドウの座標データを優先順位順に検出し、これとカーソルの座標データとを逐次比較することにより、カーソルが位置するウィンドウの検出を行う。
【0093】
次に、上記ステップS13においてYesと判別され図3に示すステップS3に進むと、上記プロセッサ5は、該ステップS13で最終的に検出されたウィンドウにカーソルが位置するものと判断して当該図3に示すフローチャートの全ルーチンを終了する。
【0094】
当該第1の実施の形態に係るマルチウィンドウ表示装置は、1つのウィンドウ画像生成部1により複数のウィンドウが形成され表示されている場合でも、そのウィンドウ画像生成部1により形成された各ウィンドウの座標データとカーソルの座標データとを逐次比較することでカーソルが位置するウィンドウを検出することができる。このため、複雑かつ多数のマルチウィンドウ表示にも対応してカーソルが位置するウィンドウを検出することができる。
【0095】
次に、本発明の第2の実施の形態に係るマルチウィンドウ表示装置の説明をする。上述の第1の実施の形態に係るマルチウィンドウ表示装置は、画像メモリから読み出された画像データがウィンドウ内のものであるか否かの判別をマスク回路8で行うものであったが、この第2の実施の形態に係るマルチウィンドウ表示装置は、画像メモリにウィンドウ画像を書き込んだ際に、ウィンドウ画像に使用されていない所定の色データ(例えば透明色データ)をウィンドウ領域以外の領域に書き込み、読み出しの際にこの透明色データを検出することにより、画像メモリから読み出された画像データがウィンドウ内のものであるか否かの判別を行うようにしたものである。
【0096】
なお、この第2の実施の形態に係るマルチウィンドウ表示装置の説明において、上述の第1の実施の形態に係るマルチウィンドウ表示装置と同じ動作を示す箇所には同じ符号を付し、その詳細な説明を省略する。
【0097】
すなわち、この第2の実施の形態に係るマルチウィンドウ表示装置は、図5に示すようにマルチウィンドウ表示を行うウィンドウ画像を生成する複数のウィンドウ画像生成部(WG1〜WGn)25と、画像メモリにウィンドウ画像を書き込んだ際に、ウィンドウ画像に使用されていない例えば透明色データを該ウィンドウ外の領域に書き込み制御する透明色画像描画部27と、上記画像メモリに書き込まれた透明色データに基づいてカーソルが位置するウィンドウを検出するウィンドウ検出部26と、当該マルチウィンドウ表示装置全体の動作制御を行うプロセッサ28と、モニタ装置4が接続された上述のデータセレクタ3とで構成されている。
【0098】
上記各ウィンドウ画像生成部1は、ウィンドウ画像の書き込み及び読み出しを行うための画像メモリと、該画像メモリにウィンドウ画像を書き込み読み出すための書き込みアドレス及び読み出しアドレスを形成するアドレス生成回路とで構成されている。
【0099】
上記ウィンドウ検出部26は、図5に示すように上述の垂直方向位置検出回路9,水平方向位置検出回路10,複数のANDゲート11及びプライオリティエンコーダ12と、上記画像メモリから読み出された透明色データと共に読み出される画像データを検出し、この検出データをイネーブルデータとして各ANDゲート11に供給する透明色検出回路30とで構成されている。
【0100】
上記透明色検出回路30は、各画像メモリに書き込まれた透明色データが読み出されるタイミングでそれぞれ透明色データを出力する透明色画像レジスタ31と、上記透明色画像レジスタ31からの透明色データと各画像メモリから読み出されたデータとを比較し、両者が異なる場合にイネーブルデータを上記各ANDゲート11に供給する複数の比較器29とで構成されている。
【0101】
次に、このような構成を有する当該第2の実施の形態に係るマルチウィンドウ表示装置の動作説明をする。
【0102】
この第2の実施の形態に係るマルチウィンドウ表示装置は、ユーザによりマルチウィンドウ表示が指定されると、プロセッサ28が、指定されたウィンドウ形状を示すウィンドウ形状データをウィンドウ画像生成部25のアドレス生成回路及び透明色画像描画部27に供給すると共に、そのウィンドウに表示するウィンドウ画像を画像メモリに供給する。
【0103】
上記アドレス生成回路は、上記ウィンドウ形状データが供給されると、この形状に対応した書き込みアドレスデータを形成し、これを画像メモリに供給する。これにより、上記画像メモリには、ウィンドウ形状に対応してウィンドウ画像が書き込まれることとなる。
【0104】
上記透明色画像描画部27は、上記画像メモリにウィンドウ画像が書き込まれると、該ウィンドウ画像が書き込まれた領域以外の領域に、該ウィンドウ画像で使用されていない色のデータである透明色の色データを書き込むように画像メモリを書き込み制御する。これにより、上記画像メモリには、ウィンドウ形状に対応してウィンドウ画像が書き込まれると共に、これ以外の領域には透明色データが書き込まれることとなる。
【0105】
次に、このようにして各ウィンドウ画像生成部25の各画像メモリに各データが書き込まれると、上記プロセッサ28は、各画像メモリに書き込まれたデータの読み出しを指定する。アドレス生成回路は、データの読み出しが指定されると、モニタ装置4の表示走査に同期して該各画像メモリに書き込まれた全てのデータを読み出すための読み出しアドレスデータを形成し、これを画像メモリに供給する。これにより、上記画像メモリからは、画像データと共に透明色データも走査ライン毎に読み出され、データセレクタ3及び後に説明するウィンドウ検出部26に供給される。
【0106】
上記プロセッサ28は、各画像メモリから画像データ及び透明色データが読み出されると、各ウィンドウ内の画像データのみを選択するようにデータセレクタを選択制御する。これにより、各画像メモリから読み出された画像データ及び透明色データのうち、該画像データのみを選択してモニタ装置4に供給することができる。上記各画像メモリには、各ウィンドウ形状に対応してウィンドウ画像が書き込まれている。このため、上記各画像メモリから読み出された画像データのみを選択してモニタ装置4に供給することにより、モニタ装置4の表示画面上にマルチウィンドウ表示することができる。
【0107】
次に、このようにマルチウィンドウ表示された各ウィンドウの中から、カーソルが位置するウィンドウを検出する場合、当該マルチウィンドウ表示装置は、以下のように動作するようになっている。
【0108】
すなわち、図6において、上記プロセッサ28は、マルチウィンドウ表示が実行されると、上述のように表示画面上のカーソルの位置をY座標データY0,X座標データX0を検出し、これを垂直方向位置検出回路9及び水平方向検出回路10にそれぞれ供給する。これにより、上述のようにモニタ装置の表示走査に同期したタイミングで表示画面上のカーソルの位置が検出され、この検出出力が各ANDゲート11にそれぞれ供給される。
【0109】
一方、上記プロセッサ28は、各画像メモリに書き込まれた透明色データのアドレスを透明色画像レジスタ31に供給する。透明色画像レジスタ31は、モニタ装置の表示走査に同期したタイミングで、各ウィンドウ画像生成部25毎の透明色データを形成し、これを各比較器29に供給する。
【0110】
各比較器29には、それぞれ各ウィンドウ画像生成部25の画像メモリから読み出された画像データ及び透明色データが供給されており、この各データと上記透明色画像レジスタ31からの透明色データとを比較する。比較器29に画像メモリから読み出された画像データが供給されているときは両者は一致せず、比較器29に画像メモリから読み出された透明色データが供給されているときは、両者は一致する。このため、各比較器29は、両者が一致しない場合、すなわち、画像メモリから読み出された画像データが供給されている間、それぞれイネーブルデータ(e1〜en)を形成し、これを対応する各ANDゲート11に供給する。
【0111】
各ANDゲート11は、上述のようにカーソルの位置検出出力と、各比較器29からのイネーブルデータが一致したタイミングで一致検出出力をプライオリティエンコーダ12に供給する。プライオリティエンコーダ12は、各ANDゲート11から2つ以上の一致検出出力が供給された場合、最も優先順位の高いウィンドウのウィンドウ画像を形成しているウィンドウ画像生成部25を検出し、このウィンドウ画像生成部25の識別コードをプロセッサ28に供給する。
【0112】
これにより、プロセッサ28は、上記識別コードで示されるウィンドウ画像生成部25で形成されているウィンドウを、現在、カーソルが位置しているウィンドウとして検出する。
【0113】
このように当該第2の実施の形態に係るマルチウィンドウ表示装置は、ウィンドウ画像を画像メモリに書き込む際に、ウィンドウ領域以外の領域に透明色データを書き込み、該画像メモリから読み出されたデータと、該画像メモリからの透明色データの読みだしタイミングで透明色画像レジスタ31から出力される透明データとを各比較器29で比較し、両者が一致しない場合にイネーブルデータを形成して各ANDゲート11に供給するようになっている。
【0114】
このため、上述の第1の実施の形態に係るマルチウィンドウ表示装置の各ウィンドウ画像生成部1に設けられていたマスク回路8を省略することができ、ウィンドウ画像生成部25の構成を簡単とすることができる他、上述の第1の実施の形態に係るマルチウィンドウ表示装置と同じ効果を得ることができる。
【0115】
次に、本発明の第3の実施の形態に係るマルチウィンドウ表示装置の説明をする。上述の第1,第2の実施の形態に係るマルチウィンドウ表示装置は、本発明に係るカーソル検出装置を「表示時合成方式」によりマルチウィンドウ表示を行うマルチウィンドウ表示装置に適用するものであったが、この第3の実施の形態に係るマルチウィンドウ表示装置は、「描画時合成方式」によりマルチウィンドウ表示を行うマルチウィンドウ表示装置に適用したものである。
【0116】
なお、この第3の実施の形態に係るマルチウィンドウ表示装置の説明において、上述の第1,第2の実施の形態に係るマルチウィンドウ表示装置と同じ動作を示す箇所には同じ符号を付し、その詳細な説明を省略する。
【0117】
すなわち、この第3の実施の形態に係るマルチウィンドウ表示装置は、図7に示すようにマルチウィンドウ表示される各ウィンドウ画像を一括して形成してモニタ装置4に供給するウィンドウ画像生成部35と、各ウィンドウ画像が書き込まれ読み出される複数のビットマップメモリ(BM1〜BMn)36と、上記各ビットマップメモリ36のウィンドウ画像の書き込み領域以外の領域に透明色データの書き込みを行う透明色画像描画部37と、後に説明する検出方法によりカーソルが位置するウィンドウを検出するウィンドウ検出部38と、当該マルチウィンドウ表示装置全体の動作を制御するプロセッサ39とで構成されている。
【0118】
上記ウィンドウ画像生成部35は、マルチウィンドウ画像が書き込まれ読み出される画像メモリと、該画像メモリへの書き込み及び読み出しを制御するアドレス生成回路とで構成されている。
【0119】
次に、このような構成を有する当該第3の実施の形態に係るマルチウィンドウ表示装置の動作説明をする。
【0120】
まず、マルチウィンドウ表示を行う場合、上記プロセッサ39は、各ウィンドウ画像をそれぞれ各ビットマップメモリ36に書き込み制御すると共に、この各ビットマップメモリ36に書き込んだ各ウィンドウ画像の書き込みアドレスデータを透明色画像描画部37に供給する。透明色画像描画部37は、この書き込みアドレスデータに基づいて、各ビットマップメモリ36に書き込まれた各ウィンドウ画像の書き込み領域をそれぞれ検出し、この書き込み領域以外の領域に透明色データを書き込むように該各ビットマップメモリ36に書き込み制御する。これにより、各ビットマップメモリ36には例えば図8に斜線で示すようにウィンドウ画像の書き込み領域以外の領域に透明色データが書き込まれることとなる。
【0121】
次に、各ビットマップメモリ36にウィンドウ画像及び透明色データが書き込まれると、プロセッサ39は、これらを読み出してウィンドウ画像生成部35の画像メモリに供給すると共に、該各ウィンドウ画像の書き込みアドレスを設定してアドレス生成回路に供給する。アドレス生成回路は、プロセッサ39により設定された書き込みアドレスを画像メモリに供給する。これにより、各ビットマップメモリ36から読み出されたウィンドウ画像が1枚のマルチウィンドウ画像に合成される。
【0122】
次に、プロセッサ39は、画像メモリ上にマルチウィンドウ画像が形成されると、読みだしアドレスを設定してアドレス生成回路に供給する。アドレス生成回路は、プロセッサ39により設定された読み出しアドレスを画像メモリに供給する。これにより、画像メモリに書き込まれたマルチウィンドウ画像が読み出され、モニタ装置に供給されマルチウィンドウ表示される。
【0123】
次に、このような「描画時合成方式」によりマルチウィンドウ表示された各ウィンドウの中から、カーソルが位置するウィンドウを検出する検出動作は、図9のフローチャートに示すようになっている。
【0124】
この図9に示すフローチャートは、マルチウィンドウ表示が実行されることによりスタートとなりステップS21に進む。
【0125】
ステップS21では、プロセッサ39が、表示画面上に表示されているカーソルの表示位置を検出し、この表示位置を示すX座標データX0及びY座標データY0をウィンドウ検出部38に供給してステップS22に進む。
【0126】
ステップS22では、ウィンドウ検出部38がマルチウィンドウ表示されているウィンドウの中から、まず、優先順位が最も高い第1のウィンドウW1(表示画面の一番手前に表示されているウィンドウ)を形成しているビットマップメモリ36を検出しステップS23に進む。
【0127】
ステップS23では、ウィンドウ検出部38が、上記プロセッサ39から供給されたカーソルの表示位置を示すX座標データX0及びY座標データY0と、上記第1のウィンドウW1の表示位置のX座標データ及びY座標データとに基づいて、該カーソルが位置するビットマップメモリ上の画像を検出してステップS24に進む。
【0128】
ステップS24では、ウィンドウ検出部38が、上記カーソルが位置するビットマップメモリ上の画像は透明色データの画像(或いはビットマップメモリ領域外)であるか否かを判別し、Yesの場合はステップS22に戻り、Noの場合はステップS25に進む。
【0129】
ステップS22に戻った場合、上記ウィンドウ検出部38は、マルチウィンドウ表示されているウィンドウの中から、次に優先順位が高い第2のウィンドウW2を形成しているビットマップメモリ36を検出しステップS23に進む。
【0130】
ステップS23では、ウィンドウ検出部38が、上記プロセッサ39から供給されたカーソルの表示位置を示すX座標データX0及びY座標データY0と、上記第2のウィンドウW2の表示位置のX座標データ及びY座標データとに基づいて、該カーソルが位置するビットマップメモリ上の画像を検出してステップS24に進む。
【0131】
ステップS24では、ウィンドウ検出部38が、上記カーソルが位置するビットマップメモリ上の画像は透明色データの画像であるか否かを判別し、Yesの場合はステップS22に戻り、Noの場合はステップS25に進む。
【0132】
上記ウィンドウ検出部38は、このように優先順位順にウィンドウ画像を検出し、そのウィンドウ画像におけるカーソルの位置を検出する。そして、カーソルが位置する画像が透明色データの画像の場合は、上述のステップS22〜ステップS24に示す各ルーチンを繰り返し実行し、該カーソルが位置する画像が透明色データでない場合にステップS25に進む。
【0133】
上記カーソルが位置する画像が透明色データの画像ではない場合は、そのウィンドウ内にカーソルが位置していることを示す。このため、上記ウィンドウ検出部38は、ステップS25において、このウィンドウを示す識別コードを形成しこれをプロセッサ39に供給してこの図3に示すフローチャートの全ルーチンを終了する。
【0134】
プロセッサ39は、この識別コードによりカーソルが位置するウィンドウを検出し、該ウィンドウに対応するアプリケーションプログラムを実行する。
【0135】
このように、当該第3の実施の形態に係るマルチウィンドウ表示装置は、「描画時合成方式」によりマルチウィンドウ表示を行った際に、表示画面上に表示されたカーソルが位置と、優先順位順に読み出した各ビットマップメモリ36上のウィンドウ画像とを比較し、該カーソルが位置する箇所に透明色データ以外のウィンドウ画像データが書き込まれているウィンドウを、カーソルが現在位置するウィンドウとして検出する。これにより、カーソルの位置と、各ビットマップメモリ36上のウィンドウ画像とを、ウィンドウの優先順位順に比較するため、検出に要する時間はウィンドウの数に左右されるのであるが、ウィンドウの形状や重なり具合が複雑な場合でも、従来よりも高速にカーソルが位置するウィンドウの検出を行うことができる他、上述の各実施の形態に係るマルチウィンドウ表示装置と略々同様の効果を得ることができる。
【0136】
次に、本発明の第4の実施の形態に係るマルチウィンドウ表示装置の説明をする。
【0137】
上述の第3の実施の形態に係るマルチウィンドウ表示装置は、ウィンドウの形状に拘らずウィンドウ画像を上記各ビットマップメモリ36に書き込むものであったが、この第4の実施の形態に係るマルチウィンドウ表示装置は、ウィンドウ形状が長方形状(或いは、正四角形状等の矩形状)以外の形状である場合に上記ビットマップメモリ36を用い、ウィンドウ形状が長方形状である場合にウィンドウ画像生成部35の画像メモリを用いるようにしたものである。
【0138】
なお、この第4の実施の形態に係るマルチウィンドウ表示装置は、構成的には上述の第3の実施の形態に係るマルチウィンドウ表示装置と同じであるため、当該マルチウィンドウ表示装置の説明は、図7を用いて行うものとする。
【0139】
まず、マルチウィンドウ表示を行う場合、上記プロセッサ39は、各ウィンドウの形状を検出する。そして、そのウィンドウの形状が長方形以外の形状であった場合、プロセッサ39は、そのウィンドウ画像を上記ビットマップメモリ36に書き込み制御する。また、そのウィンドウの形状が長方形状であった場合、プロセッサ39は、そのウィンドウ画像を上記ウィンドウ画像生成部35の画像メモリに書き込み制御する。
【0140】
また、上記透明色画像描画部37は、上記ビットマップメモリ36或いは画像メモリにウィンドウ画像が書き込まれると、図8を用いて説明したようにウィンドウ画像が書き込まれた領域以外の領域に透明色データを書き込み制御する。
【0141】
次に、ウィンドウ形状が長方形以外の形状であり、このウィンドウ画像が各ビットマップメモリ36に書き込まれた場合、プロセッサ39は、各ビットマップメモリ36からウィンドウ画像を読み出し、これをアドレス生成回路35を介してウィンドウ画像生成部35の画像メモリに書き込み制御する。これにより、上記画像メモリ上には、ウィンドウ形状が長方形以外の形状の各ウィンドウ画像が合成されマルチウィンドウ画像が形成されることとなる。
【0142】
次に、プロセッサ39は、画像メモリ上にマルチウィンドウ画像が形成されると、これをアドレス生成回路35を介して読み出し制御しモニタ装置4に供給する。これにより、長方形以外のウィンドウ形状のウィンドウ画像がマルチウィンドウ表示される。
【0143】
一方、ウィンドウ形状が長方形状であり、このウィンドウ画像がウィンドウ画像生成部35の画像メモリに書き込まれた場合、該画像メモリには複数の長方形状のウィンドウ画像からなるマルチウィンドウ画像が既に形成されていることとなる。このため、プロセッサ39は、アドレス生成回路35を介して該画像メモリに書き込まれたマルチウィンドウ画像を読み出し制御し、これをモニタ装置4に供給する。これにより、長方形のウィンドウ形状のウィンドウ画像がマルチウィンドウ表示される。
【0144】
次に、このようにマルチウィンドウ表示された各ウィンドウの中からカーソルが位置するウィンドウの検出動作を説明する。
【0145】
まず、ウィンドウ形状が長方形以外の形状であり、上記各ビットマップメモリ36にウィンドウ画像が書き込まれた場合、プロセッサ39は、上述の第3の実施の形態の説明において図9のフローチャートを用いて説明した検出動作と同じ検出動作により、該長方形以外の形状を有する各ウィンドウの中からカーソルが位置するウィンドウの検出を行う。
【0146】
すなわち、説明が重複するため簡単に説明すると、この場合、プロセッサ39は、マルチウィンドウ表示されている長方形以外の形状の各ウィンドウの座標データを表示優先順位順に検出し(ステップS22)、これらをカーソルの座標データと比較することにより(ステップS23)、カーソルが位置するウィンドウ画像は、透明色データの画像(或いは、ウィンドウ外に位置する画像)であるか否かを検出する(ステップS24)。そして、カーソルが位置するウィンドウ画像が透明色データの画像ではない場合に、そのウィンドウがカーソルが位置するウィンドウであるとして検出する(ステップS25)。
【0147】
一方、ウィンドウ形状が長方形状であり、上記ウィンドウ画像生成部35の画像メモリにウィンドウ画像が書き込まれた場合、プロセッサ39は、上述の第1の実施の形態の説明において図4のフローチャートを用いて説明した検出動作と同じ検出動作により、該長方形状を有する各ウィンドウの中からカーソルが位置するウィンドウの検出を行う。
【0148】
これも説明が重複するため簡単に説明すると、この場合、プロセッサ39は、まず、カーソルの座標データを検出し(ステップS11)、画像メモリに書き込まれている各ウィンドウの対角線の両端の座標データを表示優先順位順に検出する(ステップS12)。そして、各ウィンドウの座標データとカーソルの座標データとを比較することにより、上述の条件(Xj≦X0≦Xj+1,Yj≦Y0≦Yj+1)を満たすか否かを判別し(ステップS13)、この条件が満たされた場合に、そのウィンドウ内にカーソルが位置すると判別する(図3に示すステップS3)。
【0149】
このように当該第4の実施の形態に係るマルチウィンドウ表示装置は、ウィンドウ形状が長方形以外の形状である場合はビットマップメモリ36を用いてマルチウィンドウ表示及びカーソル検出を行い、ウィンドウ形状が長方形状である場合はウィンドウ画像生成部35の画像メモリを用いてマルチウィンドウ表示及びカーソル検出を行う。これにより、マルチウィンドウ表示するウィンドウ形状に応じて最適なカーソル検出を行うことができ、より正確かつ高速にカーソル検出を行うことができる他、上述の各実施の形態に係るマルチウィンドウ表示装置と同じ効果を得ることができる。
【0150】
なお、上述の各実施の形態の説明では、カーソルが位置するウィンドウの検出をハードウェア的に行うこととしたが、これは、各部をモニタ装置の表示走査に同期して動作させることを条件にソフトウェア的に行うようにしてもよく、この他、本発明に係る技術的思想を逸脱しない範囲であれば設計等に応じて種々の変更が可能であることは勿論である。
【0151】
【発明の効果】
本発明に係るカーソル検出装置は、マルチウィンドウ表示された複数のウィンドウの中からカーソルが位置するウィンドウを、ウィンドウの数,形状,複雑さ等に拘らず正確かつ高速に検出することができる。
【0152】
このため、当該カーソル検出装置をウィンドウ毎のアプリケーションプログラムを実行するコンピュータ装置等に設けた場合、応答性の向上を図ることができ、より好ましいユーザインターフェースの提供に貢献することができる。
【図面の簡単な説明】
【図1】本発明に係るカーソル検出装置を表示時合成方式のマルチウィンドウ表示装置に適用した第1の実施の形態のブロック図である。
【図2】上記第1の実施の形態に係るマルチウィンドウ表示装置に設けられている垂直方向位置検出装置及び水平方向位置検出装置のブロック図である。
【図3】上記第1の実施の形態に係るマルチウィンドウ表示装置におけるカーソルが位置するウィンドウの検出動作を説明するためのフローチャートである。
【図4】上記第1の実施の形態に係るマルチウィンドウ表示装置におけるカーソルが位置するウィンドウの検出動作を説明するためのサブルーチンのフローチャートである。
【図5】本発明に係るカーソル検出装置を表示時合成方式のマルチウィンドウ表示装置に適用した第2の実施の形態のブロック図である。
【図6】上記第2の実施の形態に係るマルチウィンドウ表示装置に設けられているウィンドウ検出部のブロック図である。
【図7】本発明に係るカーソル検出装置を描画時合成方式のマルチウィンドウ表示装置に適用した第3の実施の形態(及び第4の実施の形態)のブロック図である。
【図8】上記第3の実施の形態に係るマルチウィンドウ表示装置に設けられている透明色画像描画部によりビットマップメモリに描画される透明色データを説明するための模式図である。
【図9】上記第3の実施の形態に係るマルチウィンドウ表示装置におけるカーソルが位置するウィンドウの検出動作を説明するためのフローチャートである。
【図10】マルチウィンドウ表示を行うための描画時合成方式及び表示時合成方式の両方式を説明するための図である。
【図11】マルチウィンドウ表示を行う従来のコンピュータシステムのブロック図である。
【図12】従来のコンピュータシステムにおいて、マルチウィンドウ表示された各ウィンドウの中からカーソルが位置するウィンドウを検出する動作を説明するための模式図である。
【図13】従来のコンピュータシステムにおいて、マルチウィンドウ表示された長方形状以外の形状を有する各ウィンドウの中からカーソルが位置するウィンドウを検出する動作を説明するための模式図である。
【符号の説明】
1…ウィンドウ画像生成部,2…ウィンドウ検出部,3…データセレクタ
4…モニタ装置,5…プロセッサ,6…アドレス生成回路,7…画像メモリ
8…マスク回路,9…垂直方向位置検出回路,10…水平方向位置検出回路
11…ANDゲート,12…プライオリティエンコーダ
27…透明色画像描画部,28…プロセッサ,29…比較器
30…透明色検出回路,31…透明色画像レジスタ
36…ビットマップメモリ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a cursor detection apparatus suitable for use in a computer apparatus or the like that performs multi-window display in which a plurality of windows are formed and displayed on a single display screen, and in particular, windows with complicated shapes are displayed in an overlapping manner. In some cases, the present invention relates to a cursor detection apparatus capable of detecting a window where a cursor is located at high speed and accurately.
[0002]
[Prior art]
Nowadays, so-called multi-window display is generally performed in which a plurality of windows are formed on a display screen of a monitor device, and an image or the like based on data from a computer device is displayed in each window.
[0003]
As such multi-window display, as shown in FIG. 10A, image data W1 displayed on each window in accordance with the shape of each window on the image memory 101 having a storage area corresponding to the display screen 100. ... W3 is controlled in writing, and this is read out and displayed in synchronism with the display scanning, and a drawing area composition method and a storage area corresponding to the display screen 104 as shown in FIG. The image data W1 to W3 of each window are written and controlled on a plurality of image memories 105 to 106 provided for each window, and read and controlled in synchronization with display scanning, and read from each image memory 105 to 106. The displayed image data W1 to W3 are displayed by being controlled by the changeover switch 108 according to the shape of each window. Expressions "and it has been known.
[0004]
The “rendering composition method” is configured to read and control image data W1 to W3 of each window on one image memory 101, so that a still image is displayed on a rather simple window. Suitable for.
[0005]
On the other hand, since the “compositing method at the time of display” allows image data W1 to W3 of each window to be separately written and controlled on a plurality of image memories 105 to 106, for example, a complicated character such as an animation character is used. It is also possible to deal with display of shape windows and moving images.
[0006]
Here, in a computer system that executes an application program for each window, it is necessary to detect a window designated by a user with a cursor and execute the application program according to the detection result. For this reason, in the computer system, a display control unit or firmware that manages the cursor position detects the cursor position.
[0007]
Specifically, as shown in FIG. 11, the computer system includes a pointing device 110 such as a mouse and a tablet, a keyboard 111, a secondary storage device 112 such as a magneto-optical disk drive device, and an image memory such as a frame memory. 113, a window detection unit 114, and a display control unit 115 to which a monitor device 116 is connected are connected to a processor 117 via a bus line 118, respectively.
[0008]
In such a computer system, the display control unit 115 displays the image data written in the image memory 113 by the above-described “rendering composition method” or “display composition method” on the monitor device 116 in a multi-window, and The image data is stored in the secondary storage device 112. Further, the processor 117 detects a cursor position on the display screen that is moved and controlled in accordance with the operation of the pointing device 110 or the keyboard 111, and the window detection unit 114 is based on the cursor position detected by the processor 117. Currently, the window in which the cursor is located is detected, and the processor 117 executes the application program for each window accordingly.
[0009]
For example, as shown in FIG. 12, first to third windows W1 to W3 each having a rectangular shape are displayed on the display screen of the monitor device 116, and the cursor 120 is positioned on the second window. If so, the processor 117 forms coordinates with the upper left corner of the display screen as the origin O, the horizontal direction of the display screen as the X axis, and the vertical direction of the display screen as the Y axis. Is detected in the form of coordinate data (in this case, X4, Y3) and supplied to the window detector 114.
[0010]
Next, the processor 117 detects the display priority of each of the windows W1 to W3 displayed on the display screen based on the display control data from the display control unit 115, and the first display priority. The coordinate data indicating the display area of the window having the rank is supplied to the window detection unit 114.
[0011]
In this case, assuming that display priority is given in order from the first window W1 displayed in front of the display screen, the processor 117 first forms a rectangular shape that forms the display area of the first window W1. The coordinate data (X3, Y5 and X7, Y7) on the diagonal line are supplied to the window detector 114.
[0012]
When the cursor 120 exists in the first window W1, the X-axis coordinate data (X4) of the cursor 120 is greater than or equal to the X-axis coordinate data (X3) of one end of the diagonal line, and the other end of the diagonal line Similarly, the Y-axis coordinate data (Y3) of the cursor 120 is equal to or greater than the Y-axis coordinate data (Y5) of one end of the diagonal line, and the other end of the diagonal line. It should be less than the coordinate data (Y7) of the Y axis.
[0013]
Therefore, the window detection unit 114 compares the coordinate data (X4, Y3) of the cursor 120 with the coordinate data of the first window W1, so that the X-axis and Y-axis coordinate data of the cursor 120 is obtained. It is determined whether or not both of the above conditions are satisfied. Then, when the coordinate data of the X-axis and the Y-axis of the cursor 120 satisfy both the above-described conditions, it is determined that the cursor 120 exists in the first window W1.
[0014]
  In this case, since the cursor 120 is located in the display area of the second window W2, the Y-axis coordinate data (Y3) of the cursor 120 is the Y-axis coordinate data (one of the diagonal lines of the first window W1) ( Y5) Since the following condition is satisfied, the predetermined condition is not satisfied. For this reason, the processor 117 performs coordinate data (X on the diagonal line) indicating the display area of the second window W2 having the next highest priority.2, Y2And X6, Y6) Is supplied to the window detection unit 114.
[0015]
The window detection unit 114 next compares the coordinate data of the second window W2 with the coordinate data of the cursor 120, and determines whether or not both the above conditions are satisfied.
[0016]
In this case, the X-axis coordinate data X4 of the cursor 120 is greater than or equal to the X-axis coordinate data X2 at one end on the diagonal line of the second window W2 and less than or equal to the X-axis coordinate data X6 at the other end (X2 ≦ X4 ≦ X6), the Y-axis coordinate data Y3 of the cursor 120 is equal to or greater than the Y-axis coordinate data Y2 at one end on the diagonal, and is equal to or less than the Y-axis coordinate data Y6 at the other end (Y2 ≦ Y3 ≦ Y6). In order to satisfy a predetermined condition, the window detection unit 114 determines that the cursor 120 exists in the second window W2, and supplies data indicating this to the processor 117.
[0017]
When the window in which the cursor 120 exists is detected, the processor 117 executes the application program specified by this window.
[0018]
If the coordinate data of the cursor 120 and the coordinate data of the second window W2 are compared, and if it is determined that the above condition is still not satisfied, the processor 117 next determines the priority order. The high coordinate data of the third window W3 is supplied to the window detection unit 114, and the window detection unit 114 compares the coordinate data of the cursor 120 with the coordinate data of the third window W3.
[0019]
Next, the description has been given of the case where each of the windows W1 to W3 has a rectangular shape. However, when the shape of the window has a complicated shape as shown in FIG. As shown by the dotted line in FIG. 8A, one window is divided by horizontal straight lines to form a plurality of rectangular display areas R1 to R5 as shown in FIG. Similarly to the above, coordinate data is supplied to the window detection unit 114 in order from the window W1 with the highest priority. At this time, each coordinate data of the display areas R1 to R5 formed by the division is detected by the window detection. Supplied to the unit 114. The window detection unit 114 compares the coordinate data of the cursor 120 with the coordinate data of the display areas R1 to R5, respectively, as described above.
[0020]
As a result, it is possible to detect the window where the cursor 120 is positioned corresponding to a complicated shape, and to execute an application program corresponding to the window.
[0021]
[Problems to be solved by the invention]
However, when the shape of the window is complicated, the conventional computer system divides the window into a plurality of rectangular display areas, compares the coordinate data of each display area with the coordinate data of the cursor, Since the number of rectangular display areas formed by the division increases, there is a problem that it takes time to detect the window where the cursor is located. Such a problem becomes more prominent when the shape of the window is a particularly complicated shape such as an animation character.
[0022]
In a computer system that executes an application program for each window, the application program cannot be executed until the window where the cursor is located is detected. Therefore, the time required to detect the window where the cursor is located is reduced. Shortening is a very important issue in order to increase the system speed that has been desired.
[0023]
The present invention has been made in view of the above-described problems, and can accurately and quickly detect a window where a cursor is located from a plurality of windows displayed in a multi-window regardless of the shape of the window. An object of the present invention is to provide a simple cursor detection device.
[0024]
[Means for Solving the Problems]
The cursor detection apparatus according to the first aspect of the present invention writes window image information to be displayed in each window into a plurality of storage means corresponding to each window, and the window image information written in each storage means. At the time of display in which each window image information read out from each storage means is selected at the same time in synchronization with the display scanning of the display means and is selected for each pixel according to the display priority order of the window and supplied to the display means A cursor detection device for detecting a window where a cursor on a display screen is located from a plurality of windows displayed in a multi-window by a composition method, and for solving the above-described problem, a cursor position detection means, a window image It has detection means, coincidence detection means, and window detection means.
[0025]
  In such a cursor detection device, the cursor position detection means detects the position of the cursor on the display screen displayed in a multi-window.Processing is performed in synchronization with the display scanning of the display means.. Further, the window image detecting means detects whether or not the information read from each storage means is window image information displayed in the window.Processing is performed in synchronization with the display scanning of the display means.. The coincidence detection means includes each detection output from the window image detection means and the cursor position detection means.As information indicating the timing of the current cursor display positionBy comparing the cursor position detection output with the display scanning of the display means, it is detected whether or not the cursor is positioned within the window image of the window image information detected by the window image detection means.
[0026]
Here, when a part of each window is overlapped and displayed in a multi-window, if the cursor is located in a part other than the overlapping part of each window, the cursor is displayed in the window image. There is only one detection output from the coincidence detection means indicating the position. Therefore, when only one detection output indicating that the cursor is positioned in the window image is supplied from the coincidence detection unit, the window detection unit detects a storage unit storing the window image information. The window displaying the window image information stored in the storage means is detected as the window where the cursor is located.
[0027]
On the other hand, when a part of each window is overlapped and displayed in a multi-window, when the cursor is positioned in the overlapping part of each window, the coincidence detection means displays each window. Detection output for the number of overlapping sheets is obtained. For this reason, the window detection means detects a storage means storing the window image information of the window having the highest display priority among the windows displaying the respective window image information, and is stored in the storage means. The window displaying the window image information is detected as the window where the cursor is located.
[0028]
As a result, the window where the cursor is located can be detected accurately and at high speed from a plurality of windows displayed in multiple windows regardless of the shape of the window.
[0029]
Next, when one window image is written in the one storage means, the upper limit of the number of windows that can be displayed by multi-window display is the number of the storage means. For this reason, the cursor detection apparatus according to the second aspect of the present invention is provided with a plurality of window writing control means for controlling writing of a plurality of window image information to one storage means.
[0030]
However, in the method of detecting the window where the cursor is located, the window where the cursor is located is indirectly detected by detecting the storage means storing the window image where the cursor is located. Therefore, when a plurality of window images are written in one storage means by the plurality of window writing control means, the storage means can be detected, but the plurality of window images written in the storage means can be detected. It cannot be detected in which window the cursor is located.
[0031]
  Therefore, in the cursor detection device, when a plurality of window image information is written in one storage means by the plurality of window writing control means, the window detection means displays the window image of the window where the cursor is located. After detecting the storage means storing the information, the display positions of the plurality of windows based on the plurality of window image information stored in the storage meansHighThe display position of each window is sequentially detected, and the display position of the cursor detected by the cursor position detecting means is sequentially compared. Then, the window first detected as the cursor is positioned is detected as the window where the cursor is positioned.
[0032]
As a result, the number of windows that can be displayed in multiple windows can be expanded to a number greater than the number of storage means provided, and the window where the cursor is located can be detected quickly and accurately.
[0033]
Next, according to a third aspect of the present invention, there is provided a cursor detection device for detecting a window in which a cursor is positioned on a display screen from a plurality of windows displayed in a multi-window by the above-described display composition method. Although it is an apparatus, as other means for solving the above-mentioned problems, it has cursor position detecting means, discrimination information writing means, window image detecting means, coincidence detecting means, and window detecting means. .
[0034]
  In such a cursor detection device, the discrimination information writing means controls to write discrimination information that can be discriminated with respect to the window image information in an area other than the area where the window image information is written in each storage means. The window image detecting means detects the window image information from the window image information and the discrimination information read from each storage means.Is performed in synchronization with the display scanning of the display means., The coincidence detection means is supplied from the window image detection meansAs information indicating whether it is window image informationEach detection output and the above cursor position detection meansAs information indicating the timing of the current cursor display positionBy comparing the cursor position detection output with the display scanning of the display means, it is detected whether or not the cursor is positioned within the window image detected by the window image detection means.
[0035]
  The window detection means outputs a detection output indicating that the cursor is positioned in the window image from the coincidence detection means.Only oneWhen supplied, the window displaying the window image information is detected as the window where the cursor is positioned, and when a plurality of detection outputs indicating that the cursor is positioned in the window image are supplied from the coincidence detecting means, Of the windows displaying each window image information, the window with the highest display priority is detected as the window where the cursor is located.
[0036]
Since the cursor detection device writes the discrimination information together with the window image information to each storage means, the discrimination between the window image information and other information is accurate when detecting the window where the cursor is located. The window where the cursor is located can be performed accurately and at high speed.
[0037]
  Next, the cursor detection device according to the present invention described in claim 4 writes the window image information to be displayed in each window into the storage means,The noteWritten in memoryeachCursor detection that detects the window where the cursor is located on the display screen from the multiple windows displayed in a multi-window display by the composition method at the time of drawing that supplies the window image information to the display means in synchronization with the display scanning of the monitor device In order to solve the above-described problem, the apparatus includes a plurality of temporary storage means, discrimination information writing means, cursor position detection means, and window detection means.
[0038]
In such a cursor detection apparatus, window image information to be displayed in each window is written in the plurality of temporary storage means before being written in the storage means. The discrimination information writing means controls to write discrimination information that can be discriminated with respect to the window image information in an area other than the area where the window image information is written in each temporary storage means.
[0039]
The window image information written in each temporary storage means is synthesized on the storage means by being written on the storage means, and read out collectively in synchronism with the display scanning of the display means, so-called drawing. A multi-window display is made by the time composition method.
[0040]
  The window detecting means is a display priority order of windows for displaying each window image.HighIn turn, each window image information and discrimination information is read from each temporary storage means.,UpDetected by cursor position detection meansIndicates the position coordinates of the cursorCursor position informationShowIt is detected whether the information at the cursor position is window image information or discrimination information. Then, the window having the window image information first determined that the information on which the cursor is positioned is the window image information is detected as the window on which the cursor is positioned.
[0041]
Thereby, even when the drawing composition method is adopted as the multi-window display method, the window where the cursor is located can be detected at high speed and accurately.
[0042]
  Next, according to a fifth aspect of the present invention, there is provided a cursor detection device for detecting a window in which a cursor on a display screen is located from a plurality of windows displayed in a multi-window by the above-described composition method at the time of drawing. Although it is an apparatus, as another means for solving the above-mentioned problem, when the window shape at the time of multi-window display is a simple shape (predetermined shape) such as a rectangular shape or a regular square shape, for example, The window image information of each window is written and controlled in the storage means, and the window shape isOgataWhen it is a shape other than the shape (when it is a complicated shape), it has a write control means for controlling the window image information of each window to the temporary storage means.
[0043]
  In this case, the window detection meansRectangularWhen the window image information of the window shape is written in the storage means, the display position of each window according to each window image information written in the storage means is set as the display priority of each window.HighThe display position of each window is sequentially detected and the display position of the cursor detected by the cursor position detection means is sequentially compared, and the window first detected as the cursor is positioned is set as the window where the cursor is positioned. To detect.
[0044]
  Also,OgataWhen window image information of a window shape other than the shape is written in each temporary storage means, the window detection means displays the display priority order of the windows for displaying the window images.HighIn turn, each window image information and discrimination information is read from each temporary storage means.,UpDetected by cursor position detection meansIndicates the position coordinates of the cursorCursor position informationShowIt is detected whether the information at the cursor position is window image information or discrimination information. Then, the window having the window image information first determined that the information on which the cursor is positioned is the window image information is detected as the window on which the cursor is positioned.
[0045]
This makes it possible to select a storage means for writing the window image information according to the complexity of the window shape, etc., and to detect the window where the cursor is located by an optimum method according to the window shape Can do. For this reason, the window in which the cursor is located can be detected quickly and accurately.
[0046]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, a preferred embodiment of a cursor detection device according to the present invention will be described in detail with reference to the drawings.
[0047]
The cursor detection device according to the present invention can be applied to a multi-window display device that performs multi-window display by the “composition method at the time of display”.
[0048]
As shown in FIG. 1, the multi-window display device according to the first embodiment of the present invention has a plurality of window image generators (images) for forming images (window images) to be displayed in each window during multi-window display. WG1 to WGn) 1, a window detection unit 2 that detects a window where the cursor is located on the display screen, and a window device from each window image generation unit 1 that selects a window image according to the shape of the window to be displayed and monitors The data selector 3 supplied to 4 is connected to a processor 5 that controls the entire multi-window display device.
[0049]
Each window image generator 1 stores in the image memory 7 image data 7 for storing image data of an image to be displayed in the window, and timing data synchronized with scanning of the monitor device 4 supplied from the processor 5. An address generation circuit 6 for generating address data for reading out the image data and whether the image data read from the image memory 7 is in the window or outside the window for each pixel. The mask circuit 8 is configured to determine and output enable data (e1 to en) when it is within the window.
[0050]
The window detection unit 2 is provided corresponding to the number of vertical position detection circuits 9 and horizontal position detection circuits 10 that detect the position of the cursor on the display screen, and the number of the window image generation units 1. A plurality of AND gates 11 for detecting coincidence between the cursor position detection data indicating the position of the cursor detected by the position detection circuits 9 and 10 and the enable data from each window image generation unit 1, and a window supplied from the processor 5 The window image generation unit 1 forming the window image on which the cursor is positioned is detected based on the priority order data indicating the display priority order and the coincidence detection data supplied from each AND gate 11, and this window image generation unit And a priority encoder 12 for supplying an identification code indicating 1 to the processor 5
[0051]
As shown in FIG. 2, the vertical position detection circuit 9 includes a Y coordinate register 15 for storing the Y coordinate data of the cursor displayed on the display screen, and a horizontal synchronization counter 16 for counting the horizontal synchronization signal of the monitor device. And the vertical position of the cursor on the display screen (display screen) by detecting the coincidence of the Y coordinate data from the Y coordinate register 15 and the count data from the horizontal synchronization counter 16. And a coincidence detection circuit 17 for detecting the vertical position).
[0052]
The horizontal position detection circuit 10 includes an X coordinate register 18 for storing X coordinate data of the cursor displayed on the display screen as shown in FIG. 2 and the number of dots (pixel number) in the horizontal direction of the monitor device. The dot counter 19 that counts the X coordinate data from the X coordinate register 18 and the count data from the dot counter 19 are detected to detect the horizontal position of the cursor on the display screen (the horizontal position of the display screen). ), And a coincidence detection circuit 20 for detecting coincidence between the horizontal direction coincidence detection data and the vertical direction coincidence detection data from the coincidence detection circuit 17.
[0053]
Next, the operation of the multi-window display device according to the first embodiment having such a configuration will be described.
[0054]
First, in FIG. 1, when multi-window display is designated, the processor 5 detects the shape of each window and supplies shape data indicating the window shape to the address generation circuit 6 of each window image generation unit 1. Then, the image data of the image to be displayed in each window is supplied to the image memory 7 of each window image generation unit 1. When the shape data is supplied, each address generation circuit 6 forms a write address corresponding to the window shape indicated by the shape data, and supplies it to each image memory 7 and each mask circuit 8. As a result, image data is written on each image memory 7 in accordance with each window shape.
[0055]
Next, each address generation circuit 6 forms a read address for reading the image data written in each image memory 7 in synchronization with the horizontal synchronization signal supplied from the processor 5, and this is formed in each image memory 7. To supply. As a result, the image data written in each image memory 7 is read out and supplied to the data selector via the mask circuit 8.
[0056]
Note that this read address is not for reading only the image data written in each of the image memories 7, but for reading out the image data and data in an area other than the area in which the image data is written. .
[0057]
Each mask circuit 8 is supplied with a write address corresponding to each window shape from the processor 5 as described above. Therefore, each mask circuit 8 determines for each pixel whether or not the image data read from each image memory 7 is displayed in the window based on the write address. When it is displayed in the window, enable data (e1 to en) is formed and supplied to the data selector and each AND gate 11 described later.
[0058]
The data selector 3 is supplied with priority data indicating the priority of each window displayed in a multi-window manner from the processor 5. For example, the priority order data is assigned in order from the window located in front of the display screen (in the order of W1, W2, W3... In FIG. 1). The data selector 3 selects the image data read from each image memory 7 based on the priority data and the enable data from each mask circuit 8 and supplies it to the monitor device 4. Thereby, an image corresponding to each image data can be displayed in each shape window, and multi-window display by a so-called “display composition method” can be performed.
[0059]
Next, on the display screen displayed in such a multi-window, a cursor is displayed at a position designated by a cross key or a mouse of the keyboard. The multi-window display device has the following characteristic features. By the operation, the window where the cursor is located is identified and detected from among the windows displayed in the multi-window.
[0060]
That is, when the multi-window display is designated, the processor 5 performs multi-window display by controlling each unit as described above, and displays the cursor on the vertical position detection circuit 9 and the horizontal position detection circuit 10. Y coordinate data Y0 indicating the vertical position on the screen and X coordinate data X0 indicating the horizontal position of the cursor on the display screen are supplied.
[0061]
Specifically, the vertical position detection circuit 9 and the horizontal position detection circuit 10 are configured as shown in FIG. 2, and the processor 5 supplies the Y coordinate data Y0 to the Y coordinate register 15. At the same time, the X coordinate data X 0 is supplied to the X coordinate register 18.
[0062]
Further, when reading out the image data written in each image memory 7, the processor 5 supplies each address generation circuit 6 with a horizontal synchronizing signal synchronized with the display scanning of the monitor device 4 and shown in FIG. This is supplied to the horizontal synchronization counter 16 of the vertical position detection circuit 9.
[0063]
Further, the processor 5 forms a dot clock synchronized with the scanning of each pixel of each line of the monitor device 4, and supplies this to the dot counter 19 of the horizontal position detection circuit 10 shown in FIG.
[0064]
  The Y coordinate register 15 detects the coincidence of Y coordinate data Y0 indicating the vertical position of the display screen of the cursor.circuit17 is supplied. The horizontal synchronization counter 16 counts horizontal synchronization signals for one frame (or one field) and supplies the count data to the coincidence detection circuit 17. The coincidence detection circuit 17 compares the Y coordinate data Y0 and the count data, and supplies the vertical direction coincidence detection data to the coincidence detection circuit 20 of the horizontal direction position detection circuit 10 at the timing when both coincide.
[0065]
The horizontal synchronization counter 16 counts the horizontal synchronization signal, thereby supplying count data indicating the line currently being scanned by the monitor device 4 to the coincidence detection circuit 17. The Y coordinate register 15 supplies the coincidence detection circuit 17 with Y coordinate data Y0 indicating the vertical position of the cursor display screen, that is, the line where the cursor is located. For this reason, the coincidence detection circuit 17 can detect the line on the monitor device 4 where the cursor is located by detecting the coincidence of both.
[0066]
  Next, the X coordinate register 18 detects coincidence of the X coordinate data X0 indicating the horizontal position of the display screen of the cursor.circuit20 is supplied. The dot counter 16 counts dot clocks synchronized with scanning of each pixel of each line of the monitor device 4 and supplies the count data to the coincidence detection circuit 20.
[0067]
The coincidence detection circuit 20 compares the X coordinate data X0 and the dot clock count data. If the X coordinate data X0 and the dot clock count data match, the position of the cursor in the horizontal direction on the display screen is detected. Therefore, the coincidence detection circuit 20 forms horizontal direction coincidence detection data indicating that the horizontal position of the cursor has been detected at the timing when the X coordinate data X0 and the count data coincide. When the horizontal direction coincidence detection data is formed, the horizontal direction coincidence detection data is compared with the vertical direction coincidence detection data supplied from the horizontal synchronization counter 16 to detect a coincidence between them.
[0068]
The coincidence of the horizontal direction coincidence detection data and the vertical direction coincidence detection data indicates that the scanning timing of the monitor device is the timing of the current cursor display position. Therefore, the coincidence detection circuit 20 forms cursor detection data at the timing when the horizontal direction coincidence detection data coincides with the vertical direction coincidence detection data, and supplies this to each AND gate 11 shown in FIG.
[0069]
Next, as described above, each mask circuit 8 of each window image generation unit 1 determines, for each pixel, whether or not the image data read from each image memory 7 is displayed in the window. When it is determined and displayed in the window, enable data (e1 to en) is supplied to each AND gate 11. Therefore, each AND gate 11 receives enable data (e1 to en) supplied from each window image generation unit 1 and cursor detection data supplied from the coincidence detection circuit 20 of the horizontal position detection circuit 10. In comparison, the coincidence detection data is supplied to the priority encoder 12 at the timing when the two coincide.
[0070]
Each of the enable data (e1 to en) is data output when scanning the pixels of the image displayed in the window, and the cursor detection data is data output when scanning the display position of the cursor on the display screen. It is. Therefore, for example, as shown in FIG. 1, when two windows are overlapped and displayed in a multi-window, and the cursor is positioned at the overlapping portion, the window image forming the two window images is displayed. The coincidence detection data is output from the two AND gates 11 to which the enable data from the generation unit 1 is supplied.
[0071]
When the cursor is located in a portion other than the overlapping portion, only one AND gate 11 to which enable data from the window image generation unit 1 forming the window where the cursor is located is supplied. The coincidence detection data is output.
[0072]
The priority encoder 12 is supplied with display priority data indicating the display priority of each window displayed in a multi-window from the processor 5. This display priority is updated whenever the display order of windows is changed by an instruction from the user or the like.
[0073]
When two or more coincidence detection data are supplied from each of the AND gates 11, the priority encoder 12 is prioritized by the display priority data (the one with a lower display priority: in the case of FIG. A window image generator that selects coincidence detection data corresponding to the window W2 if the cursor is positioned at the overlapping portion of the window W3 and supplies enable data to the AND gate 11 that outputs the coincidence detection data. 1 is detected. Then, an identification code indicating the window image generation unit 1 is formed and supplied to the processor 5.
[0074]
As a result, even when the windows overlap and are displayed in multiple windows, the window where the cursor is located can be accurately detected from the windows.
[0075]
When only one coincidence detection data is supplied from each AND gate 11, the priority encoder 12 supplies enable data to the AND gate 11 that outputs the coincidence detection data regardless of the display priority data. The window image generation unit 1 is detected, and an identification code indicating the window image generation unit 1 is supplied to the processor 5.
[0076]
When the identification code is supplied, the processor 5 fetches the identification code as data indicating the window where the cursor is located, and executes the application program corresponding to the window.
[0077]
As described above, the multi-window display device according to the first embodiment of the present invention displays the display position of the cursor and the display position of the display image on the monitor device when the multi-window display is performed. The window image generation unit 1 that forms the window with the highest display priority is detected from the window images corresponding to the display position of the cursor, and the window image generator 1 detects the window. The window formed by the image generation unit 1 is detected as the window where the cursor is currently located. As a result, it is possible to accurately detect the window where the cursor is located regardless of the number, shape, overlap, and the like of the windows displayed in the multi-window.
[0078]
In addition, since the detection of such a window is performed in synchronization with the display scanning of the monitor device 4, the detection of the window where the cursor is located can be performed within the display period of one frame. That is, when the television system of the monitor device 4 is the NTSC system, which is a Japanese standard system, the cursor position can be detected at a high speed within 1/30 seconds. For this reason, when the multi-window display device is applied to a computer device that executes an application program for each window, the application program can be started within a display period of one frame, thereby improving responsiveness. Can do.
[0079]
Here, although the multi-window display device according to the first embodiment has been described as one window image being written and controlled in each image memory 7 of each window image generation unit 1, the multi-window display device has been described. The window display device can form a plurality of windows more than the number of window image generation units 1 provided by controlling the writing of a plurality of window images to each image memory 7.
[0080]
In this case, the processor 5 combines and controls writing of a plurality of window images in one image memory 7. As a result, a plurality of window images are read out from one window image generating unit 1 at the time of reading, and the number of window images generating unit 1 provided in the multi-window display device on the monitor device 4 is more than the number of window images. A number of windows can be displayed.
[0081]
As described above, when a plurality of window images are combined and written and displayed in one image memory 7, the detection operation of the window on which the cursor is positioned is as shown in the flowcharts of FIGS.
[0082]
First, the flowchart shown in FIG. 3 starts when multi-window display is executed, and proceeds to step S1.
[0083]
In step S1, as described above, the processor 5 detects the window image generation unit 1 forming the window image where the cursor is located based on the cursor display position, enable data, and priority data, and performs step. Proceed to S2.
[0084]
In step S2, the processor 5 determines whether or not one window image generation unit 1 detected as forming the window image on which the cursor is located combines a plurality of windows. In step S3, it is detected that the cursor is positioned in the window formed by the window image generating unit 1, and all the routines in the flowchart shown in FIG.
[0085]
On the other hand, if it is determined in step S2 that the plurality of windows are combined (Yes), the processor 5 proceeds to step S11 to execute the flowchart of the subroutine shown in FIG.
[0086]
In step S11, the processor 5 detects the cursor position (the X coordinate data X0 and the Y coordinate data Y0) on the display screen of the monitor device 4, and proceeds to step S12.
[0087]
Next, in step S12, the processor 5 detects coordinate data indicating the display area of each window Wi (1 ≦ i ≦ n) displayed in a multi-window on the display screen based on the display priority. Then, the process proceeds to step S13.
[0088]
That is, the display priorities of the windows displayed in the multi-window are assigned in order from the front of the display screen. Therefore, the processor 5 first obtains the X coordinate data Xj, Y coordinate data Yj of one end of the diagonal line of the display area of the first window W1 and the X coordinate data Xj + 1, Y coordinate data Yj + 1 of the other end of the diagonal line. Detect and proceed to step S13.
[0089]
Next, in step S13, the processor 5 compares the coordinate data of the cursor with the coordinate data of the first window W1, and the coordinate data of the X axis of the cursor is at one end of the diagonal line of the first window W1. Whether or not the X-axis coordinate data is equal to or greater than the X-axis coordinate data of the other end, and is equal to or greater than the Y-axis coordinate data of one end of the diagonal and equal to or less than the Y-axis coordinate data of the other end (Xj ≦ X0.ltoreq.Xj + 1 and Yj.ltoreq.Y0.ltoreq.Yj + 1) are determined. If yes, the subroutine is terminated and the process proceeds to step S3 shown in FIG. 3, and if no, the process returns to step S12.
[0090]
That is, in this step S13, by comparing the coordinate data indicating the position of the cursor with the coordinate data at both ends of the diagonal line forming the first window W1, is the cursor positioned in the first window W1? Determine whether or not. If both of the above conditions “Xj ≦ X0 ≦ Xj + 1 and Yj ≦ Y0 ≦ Yj + 1” are not satisfied, it is determined whether or not this condition is satisfied in the second window W2 having the next highest priority. Therefore, the process returns to step S12.
[0091]
Next, when returning to step S12, the processor 5 detects the coordinate data of the opposite ends of the diagonal line of the display area of the second window W2 having the next highest priority, and proceeds to step S13. In step S13, the coordinate data of the cursor and the coordinate data of the second window W2 are compared again to determine whether or not the above condition is satisfied.
[0092]
Thus, the multi-window display device detects the window in which the cursor is located by detecting the coordinate data of each window in the order of priority and sequentially comparing this with the coordinate data of the cursor.
[0093]
Next, when it is determined Yes in step S13 and the process proceeds to step S3 shown in FIG. 3, the processor 5 determines that the cursor is positioned in the window finally detected in step S13, and the process in FIG. All the routines in the flowchart shown in FIG.
[0094]
In the multi-window display device according to the first embodiment, even when a plurality of windows are formed and displayed by one window image generation unit 1, the coordinates of each window formed by the window image generation unit 1 are displayed. The window in which the cursor is located can be detected by sequentially comparing the data and the coordinate data of the cursor. For this reason, it is possible to detect a window where the cursor is positioned in correspondence with a complicated and many multi-window display.
[0095]
Next, a multi-window display device according to the second embodiment of the present invention will be described. In the multi-window display device according to the first embodiment described above, the mask circuit 8 determines whether or not the image data read from the image memory is in the window. When the window image is written in the image memory, the multi-window display device according to the second embodiment writes predetermined color data (for example, transparent color data) that is not used in the window image in an area other than the window area. By detecting this transparent color data at the time of reading, it is determined whether or not the image data read from the image memory is in the window.
[0096]
In the description of the multi-window display device according to the second embodiment, the same reference numerals are given to the portions showing the same operations as those of the multi-window display device according to the first embodiment described above, and the detailed description thereof will be omitted. Description is omitted.
[0097]
That is, the multi-window display device according to the second embodiment includes a plurality of window image generation units (WG1 to WGn) 25 that generate window images for performing multi-window display as shown in FIG. When a window image is written, for example, based on the transparent color image drawing unit 27 that controls writing of transparent color data that is not used in the window image to an area outside the window, and the transparent color data written in the image memory. The window detection unit 26 detects the window where the cursor is located, the processor 28 controls the operation of the entire multi-window display device, and the data selector 3 to which the monitor device 4 is connected.
[0098]
Each window image generation unit 1 includes an image memory for writing and reading a window image, and an address generation circuit for forming a write address and a read address for writing and reading a window image in the image memory. Yes.
[0099]
  As shown in FIG. 5, the window detection unit 26 includes the vertical position detection circuit 9, the horizontal position detection circuit 10, the plurality of AND gates 11, the priority encoder 12, and the transparent color read from the image memory. Transparent color detection circuit that detects image data read together with data and supplies the detected data to each AND gate 11 as enable data30It consists of and.
[0100]
  Transparent color detection circuit30Is a transparent color image register that outputs transparent color data at the timing when the transparent color data written in each image memory is read out.31And the transparent color image register31And a plurality of comparators 29 for supplying enable data to the AND gates 11 when the transparent color data from the image data is compared with the data read from each image memory.
[0101]
Next, the operation of the multi-window display device according to the second embodiment having such a configuration will be described.
[0102]
In the multi-window display device according to the second embodiment, when the multi-window display is designated by the user, the processor 28 sends the window shape data indicating the designated window shape to the address generation circuit of the window image generation unit 25. The window image to be displayed on the window is supplied to the image memory.
[0103]
When the window shape data is supplied, the address generation circuit forms write address data corresponding to the shape and supplies it to the image memory. As a result, a window image is written in the image memory corresponding to the window shape.
[0104]
When the window image is written in the image memory, the transparent color image drawing unit 27 has a transparent color which is data of a color not used in the window image in an area other than the area where the window image is written. The image memory is controlled so as to write data. As a result, a window image is written in the image memory corresponding to the window shape, and transparent color data is written in the other area.
[0105]
Next, when each data is written in each image memory of each window image generation unit 25 in this way, the processor 28 designates reading of the data written in each image memory. When reading of data is designated, the address generation circuit forms read address data for reading all the data written in the respective image memories in synchronization with the display scanning of the monitor device 4, and stores the read address data in the image memory To supply. As a result, the transparent color data as well as the image data are read from the image memory for each scanning line, and supplied to the data selector 3 and the window detection unit 26 described later.
[0106]
When the image data and the transparent color data are read from each image memory, the processor 28 selects and controls the data selector so as to select only the image data in each window. Thereby, only the image data can be selected and supplied to the monitor device 4 from the image data and the transparent color data read from each image memory. In each image memory, a window image is written corresponding to each window shape. Therefore, by selecting only the image data read from each image memory and supplying it to the monitor device 4, a multi-window display can be performed on the display screen of the monitor device 4.
[0107]
Next, when the window where the cursor is located is detected from the windows displayed in the multi-window as described above, the multi-window display device operates as follows.
[0108]
That is, in FIG. 6, when the multi-window display is executed, the processor 28 detects the Y coordinate data Y0 and the X coordinate data X0 as the position of the cursor on the display screen as described above, and uses this as the vertical position. This is supplied to the detection circuit 9 and the horizontal direction detection circuit 10, respectively. As a result, the position of the cursor on the display screen is detected at the timing synchronized with the display scanning of the monitor device as described above, and this detection output is supplied to each AND gate 11.
[0109]
  On the other hand, the processor 28 converts the address of the transparent color data written in each image memory into the transparent color image register.31To supply. Transparent color image register31Forms transparent color data for each window image generation unit 25 at a timing synchronized with the display scanning of the monitor device, and supplies this to each comparator 29.
[0110]
  Each comparator 29 is supplied with the image data and the transparent color data read from the image memory of each window image generation unit 25, and each of the data and the transparent color image register.31Compare with transparent color data from. When the image data read from the image memory is supplied to the comparator 29, the two do not match, and when the transparent color data read from the image memory is supplied to the comparator 29, both are Match. For this reason, each comparator 29 forms enable data (e1 to en), respectively, when the two do not match, that is, while the image data read from the image memory is supplied. This is supplied to the AND gate 11.
[0111]
Each AND gate 11 supplies the coincidence detection output to the priority encoder 12 at the timing when the cursor position detection output coincides with the enable data from each comparator 29 as described above. When two or more coincidence detection outputs are supplied from each AND gate 11, the priority encoder 12 detects the window image generation unit 25 forming the window image of the window with the highest priority, and generates this window image. The identification code of the unit 25 is supplied to the processor 28.
[0112]
Thus, the processor 28 detects the window formed by the window image generation unit 25 indicated by the identification code as the window where the cursor is currently located.
[0113]
  As described above, when the multi-window display device according to the second embodiment writes the window image in the image memory, it writes the transparent color data in an area other than the window area, and the data read from the image memory The transparent color image register at the timing of reading the transparent color data from the image memory31The comparator 29 compares the transparent data output from the first and second comparators 29, and if the two do not match, enable data is formed and supplied to each AND gate 11.
[0114]
Therefore, the mask circuit 8 provided in each window image generation unit 1 of the multi-window display device according to the first embodiment described above can be omitted, and the configuration of the window image generation unit 25 is simplified. In addition, the same effects as the multi-window display device according to the first embodiment described above can be obtained.
[0115]
Next, a multi-window display device according to the third embodiment of the present invention will be described. In the multi-window display device according to the first and second embodiments described above, the cursor detection device according to the present invention is applied to a multi-window display device that performs multi-window display by the “composition method at the time of display”. However, the multi-window display device according to the third embodiment is applied to a multi-window display device that performs multi-window display by the “rendering composition method”.
[0116]
In the description of the multi-window display device according to the third embodiment, the same reference numerals are given to the portions showing the same operations as those of the multi-window display device according to the first and second embodiments described above. Detailed description thereof is omitted.
[0117]
That is, the multi-window display device according to the third embodiment includes a window image generating unit 35 that collectively forms window images displayed in a multi-window and supplies them to the monitor device 4 as shown in FIG. A plurality of bitmap memories (BM1 to BMn) 36 to which each window image is written and read, and a transparent color image drawing unit for writing transparent color data to an area other than the window image writing area of each bitmap memory 36. 37, a window detection unit 38 for detecting a window where the cursor is located by a detection method described later, and a processor 39 for controlling the operation of the entire multi-window display device.
[0118]
The window image generation unit 35 includes an image memory in which a multi-window image is written and read, and an address generation circuit that controls writing to and reading from the image memory.
[0119]
Next, the operation of the multi-window display device according to the third embodiment having such a configuration will be described.
[0120]
First, when performing multi-window display, the processor 39 controls the writing of each window image to each bitmap memory 36, and the write address data of each window image written to each bitmap memory 36 is a transparent color image. This is supplied to the drawing unit 37. Based on the write address data, the transparent color image drawing unit 37 detects the writing area of each window image written in each bitmap memory 36, and writes the transparent color data in an area other than the writing area. Write control is performed on each bitmap memory 36. As a result, the transparent color data is written in each bitmap memory 36 in an area other than the window image writing area, for example, as shown by hatching in FIG.
[0121]
Next, when the window image and the transparent color data are written in each bitmap memory 36, the processor 39 reads them and supplies them to the image memory of the window image generation unit 35, and sets the write address of each window image. And supplied to the address generation circuit. The address generation circuit supplies the write address set by the processor 39 to the image memory. As a result, the window image read from each bitmap memory 36 is combined into one multi-window image.
[0122]
Next, when a multi-window image is formed on the image memory, the processor 39 sets a read address and supplies it to the address generation circuit. The address generation circuit supplies the read address set by the processor 39 to the image memory. As a result, the multi-window image written in the image memory is read out, supplied to the monitor device, and displayed in a multi-window.
[0123]
Next, the detection operation for detecting the window in which the cursor is located from the windows displayed in the multi-window by the “drawing composition method” is as shown in the flowchart of FIG.
[0124]
The flowchart shown in FIG. 9 starts when multi-window display is executed, and proceeds to step S21.
[0125]
In step S21, the processor 39 detects the display position of the cursor displayed on the display screen, supplies X coordinate data X0 and Y coordinate data Y0 indicating the display position to the window detection unit 38, and proceeds to step S22. move on.
[0126]
In step S22, the window detection unit 38 first forms a first window W1 having the highest priority (the window displayed in the forefront of the display screen) from the windows displayed in the multi-window. The present bitmap memory 36 is detected, and the process proceeds to step S23.
[0127]
In step S23, the window detection unit 38 receives the X coordinate data X0 and Y coordinate data Y0 indicating the display position of the cursor supplied from the processor 39, and the X coordinate data and Y coordinate of the display position of the first window W1. Based on the data, an image on the bitmap memory where the cursor is located is detected, and the process proceeds to step S24.
[0128]
In step S24, the window detection unit 38 determines whether or not the image on the bitmap memory where the cursor is located is an image of transparent color data (or outside the bitmap memory area). If Yes, step S22 is performed. Returning to step S25, the process proceeds to step S25.
[0129]
When the process returns to step S22, the window detection unit 38 detects the bitmap memory 36 forming the second window W2 having the next highest priority from the windows displayed in the multi-window, and the process proceeds to step S23. Proceed to
[0130]
In step S23, the window detection unit 38 receives the X coordinate data X0 and Y coordinate data Y0 indicating the display position of the cursor supplied from the processor 39, and the X coordinate data and Y coordinate of the display position of the second window W2. Based on the data, an image on the bitmap memory where the cursor is located is detected, and the process proceeds to step S24.
[0131]
In step S24, the window detection unit 38 determines whether or not the image on the bitmap memory where the cursor is located is an image of transparent color data. If yes, the process returns to step S22. If no, the window detection unit 38 returns to step S22. Proceed to S25.
[0132]
The window detection unit 38 thus detects window images in order of priority and detects the position of the cursor in the window image. If the image on which the cursor is positioned is an image of transparent color data, the routines shown in steps S22 to S24 are repeated, and if the image on which the cursor is positioned is not transparent color data, the process proceeds to step S25. .
[0133]
If the image where the cursor is located is not an image of transparent color data, it indicates that the cursor is located within the window. Therefore, in step S25, the window detection unit 38 forms an identification code indicating this window, supplies it to the processor 39, and ends all the routines in the flowchart shown in FIG.
[0134]
The processor 39 detects the window where the cursor is located by this identification code, and executes the application program corresponding to the window.
[0135]
As described above, when the multi-window display device according to the third embodiment performs multi-window display by the “drawing composition method”, the cursor displayed on the display screen is arranged in the order of position and priority. The read window image on each bitmap memory 36 is compared, and a window in which window image data other than transparent color data is written at a position where the cursor is located is detected as a window where the cursor is currently located. As a result, the cursor position and the window image on each bitmap memory 36 are compared in the order of priority of the windows, and the time required for detection depends on the number of windows. Even when the condition is complicated, it is possible to detect the window where the cursor is positioned at a higher speed than before, and to obtain substantially the same effect as the multi-window display device according to each of the above-described embodiments.
[0136]
Next, a multi-window display device according to a fourth embodiment of the present invention will be described.
[0137]
The multi-window display device according to the third embodiment described above writes a window image to each bitmap memory 36 regardless of the shape of the window. The multi-window display device according to the fourth embodiment The display device uses the bitmap memory 36 when the window shape is a shape other than a rectangular shape (or a rectangular shape such as a regular square shape). When the window shape is a rectangular shape, An image memory is used.
[0138]
The multi-window display device according to the fourth embodiment is structurally the same as the multi-window display device according to the third embodiment described above. Suppose that FIG. 7 is used.
[0139]
First, when performing multi-window display, the processor 39 detects the shape of each window. If the window has a shape other than a rectangle, the processor 39 controls the writing of the window image into the bitmap memory 36. If the window has a rectangular shape, the processor 39 controls the writing of the window image into the image memory of the window image generation unit 35.
[0140]
Further, when the window image is written in the bitmap memory 36 or the image memory, the transparent color image drawing unit 37 clears the transparent color data in an area other than the area where the window image is written as described with reference to FIG. Write control.
[0141]
Next, when the window shape is a shape other than a rectangle, and this window image is written in each bitmap memory 36, the processor 39 reads the window image from each bitmap memory 36 and sends it to the address generation circuit 35. Through the image memory of the window image generation unit 35. As a result, each window image having a window shape other than a rectangle is synthesized on the image memory to form a multi-window image.
[0142]
Next, when a multi-window image is formed on the image memory, the processor 39 reads out the multi-window image via the address generation circuit 35 and supplies it to the monitor device 4. Thereby, a window image having a window shape other than the rectangle is displayed in a multi-window.
[0143]
On the other hand, when the window shape is rectangular, and this window image is written in the image memory of the window image generation unit 35, a multi-window image composed of a plurality of rectangular window images is already formed in the image memory. Will be. Therefore, the processor 39 reads out and controls the multi-window image written in the image memory via the address generation circuit 35 and supplies it to the monitor device 4. As a result, a rectangular window-shaped window image is displayed in multiple windows.
[0144]
Next, the operation of detecting the window where the cursor is located from among the windows displayed in the multi-window as described above will be described.
[0145]
First, when the window shape is a shape other than a rectangle and a window image is written in each bitmap memory 36, the processor 39 will be described with reference to the flowchart of FIG. 9 in the description of the third embodiment. The window in which the cursor is located is detected from the windows having a shape other than the rectangle by the same detection operation as that performed.
[0146]
That is, since the description is duplicated, in brief, in this case, the processor 39 detects the coordinate data of each window having a shape other than the rectangle displayed in the multi-window in order of display priority (step S22), and these are displayed as a cursor. (Step S23), it is detected whether the window image where the cursor is located is an image of transparent color data (or an image located outside the window) (step S24). If the window image where the cursor is located is not an image of transparent color data, the window is detected as the window where the cursor is located (step S25).
[0147]
On the other hand, when the window shape is rectangular and the window image is written in the image memory of the window image generation unit 35, the processor 39 uses the flowchart of FIG. 4 in the description of the first embodiment. The window in which the cursor is located is detected from the windows having the rectangular shape by the same detection operation as described above.
[0148]
Since this also overlaps with the description, in this case, the processor 39 first detects the coordinate data of the cursor (step S11), and obtains the coordinate data at both ends of the diagonal line of each window written in the image memory. Detection is performed in the order of display priority (step S12). Then, by comparing the coordinate data of each window with the coordinate data of the cursor, it is determined whether or not the above conditions (Xj ≦ X0 ≦ Xj + 1, Yj ≦ Y0 ≦ Yj + 1) are satisfied (step S13). Is satisfied, it is determined that the cursor is positioned in the window (step S3 shown in FIG. 3).
[0149]
As described above, the multi-window display device according to the fourth embodiment performs multi-window display and cursor detection using the bitmap memory 36 when the window shape is other than a rectangle, and the window shape is rectangular. In the case of, multi-window display and cursor detection are performed using the image memory of the window image generation unit 35. As a result, optimal cursor detection can be performed according to the window shape to be displayed in a multi-window, cursor detection can be performed more accurately and at high speed, and the same as the multi-window display device according to each of the above-described embodiments. An effect can be obtained.
[0150]
In the description of each embodiment described above, the detection of the window where the cursor is located is performed by hardware. However, this is on condition that each unit is operated in synchronization with the display scanning of the monitor device. Of course, it may be performed in software, and various modifications can be made according to the design or the like as long as the technical idea of the present invention is not deviated.
[0151]
【The invention's effect】
The cursor detection device according to the present invention can accurately and quickly detect a window where a cursor is located from a plurality of windows displayed in a multi-window regardless of the number, shape, complexity, and the like of the windows.
[0152]
Therefore, when the cursor detection device is provided in a computer device or the like that executes an application program for each window, the responsiveness can be improved, and a more preferable user interface can be provided.
[Brief description of the drawings]
FIG. 1 is a block diagram of a first embodiment in which a cursor detection device according to the present invention is applied to a multi-window display device using a display time composition method.
FIG. 2 is a block diagram of a vertical position detector and a horizontal position detector provided in the multi-window display device according to the first embodiment.
FIG. 3 is a flowchart for explaining a detection operation of a window where the cursor is located in the multi-window display device according to the first embodiment.
FIG. 4 is a flowchart of a subroutine for explaining a detection operation of a window where a cursor is located in the multi-window display device according to the first embodiment.
FIG. 5 is a block diagram of a second embodiment in which the cursor detection device according to the present invention is applied to a multi-window display device using a display time composition method.
FIG. 6 is a block diagram of a window detection unit provided in the multi-window display device according to the second embodiment.
FIG. 7 is a block diagram of a third embodiment (and a fourth embodiment) in which the cursor detection device according to the present invention is applied to a drawing multi-window display device.
FIG. 8 is a schematic diagram for explaining transparent color data drawn in a bitmap memory by a transparent color image drawing unit provided in the multi-window display device according to the third embodiment.
FIG. 9 is a flowchart for explaining a detection operation of a window where a cursor is positioned in the multi-window display device according to the third embodiment.
FIG. 10 is a diagram for explaining both a drawing time composition method and a display time composition method for performing multi-window display;
FIG. 11 is a block diagram of a conventional computer system that performs multi-window display.
FIG. 12 is a schematic diagram for explaining an operation of detecting a window where a cursor is located from among windows displayed in a multi-window in a conventional computer system.
FIG. 13 is a schematic diagram for explaining an operation of detecting a window where a cursor is located from each window having a shape other than a rectangular shape displayed in a multi-window in a conventional computer system.
[Explanation of symbols]
  DESCRIPTION OF SYMBOLS 1 ... Window image generation part, 2 ... Window detection part, 3 ... Data selector
  4 ... monitor device, 5 ... processor, 6 ... address generation circuit, 7 ... image memory
  8 ... Mask circuit, 9 ... Vertical position detection circuit, 10 ... Horizontal position detection circuit
  11 ... AND gate, 12 ... Priority encoder
  27 ... Transparent color image drawing unit, 28 ...Processor29 ... Comparator
  30 ... Transparent color detection circuit, 31 ... Transparent color image register
  36 ... Bitmap memory

Claims (5)

各ウィンドウに表示するウィンドウ画像情報を、該各ウィンドウに対応する複数の記憶手段にそれぞれ書き込み、該各記憶手段に書き込まれたウィンドウ画像情報を表示手段の表示走査に同期してそれぞれ同時に読み出し、この各記憶手段から読み出された各ウィンドウ画像情報を、ウィンドウの表示優先順位に応じて各画素毎に選択して表示手段に供給する表示時合成方式によりマルチウィンドウ表示された複数のウィンドウの中から、表示画面上のカーソルが位置するウィンドウを検出するカーソル検出装置であって、
表示画面上のカーソルの位置を検出する処理を、上記表示手段の表示走査に同期して行うカーソル位置検出手段と、
上記各記憶手段から読み出された情報が、そのウィンドウ内に表示されるウィンドウ画像情報であるか否かをそれぞれ検出する処理を、上記表示手段の表示走査に同期して行うウィンドウ画像検出手段と、
上記ウィンドウ画像検出手段からの各検出出力と、上記カーソル位置検出手段からの現在のカーソルの表示位置のタイミングであることを示す情報としてのカーソル位置検出出力とを、上記表示手段の表示走査に同期して比較することにより、ウィンドウ画像検出手段により検出されたウィンドウ画像情報のウィンドウ画像内にカーソルが位置するか否かを検出する一致検出手段と、
上記一致検出手段からそのウィンドウ画像内にカーソルが位置することを示す検出出力が一つのみ供給された場合、そのウィンドウ画像情報を記憶している記憶手段を検出し、この記憶手段に記憶されたウィンドウ画像情報を表示するウィンドウをカーソルが位置するウィンドウとして検出し、上記一致検出手段からそのウィンドウ画像内にカーソルが位置することを示す検出出力が複数供給された場合、該各ウィンドウ画像情報を表示するウィンドウのうち、表示優先順位の最も高いウィンドウのウィンドウ画像情報を記憶している記憶手段を検出し、この記憶手段に記憶されたウィンドウ画像情報を表示するウィンドウをカーソルが位置するウィンドウとして検出するウィンドウ検出手段と
を有することを特徴とするカーソル検出装置。
The window image information to be displayed in each window is written in a plurality of storage means corresponding to each window, and the window image information written in each storage means is read out simultaneously in synchronization with the display scanning of the display means. Each window image information read from each storage means is selected for each pixel in accordance with the display priority order of the windows and supplied to the display means from among a plurality of windows displayed in a multi-window by a display-time composition method. A cursor detection device for detecting a window where a cursor is positioned on a display screen,
Cursor position detecting means for performing processing for detecting the position of the cursor on the display screen in synchronization with the display scanning of the display means;
Window image detecting means for performing processing for detecting whether or not the information read from each storage means is window image information displayed in the window in synchronization with display scanning of the display means; ,
The respective detection outputs from the window image detection means and the cursor position detection output as information indicating the timing of the current cursor display position from the cursor position detection means are synchronized with the display scanning of the display means. And a coincidence detecting means for detecting whether or not the cursor is positioned in the window image of the window image information detected by the window image detecting means,
When only one detection output indicating that the cursor is positioned in the window image is supplied from the coincidence detection means, the storage means storing the window image information is detected and stored in the storage means. When a window for displaying window image information is detected as a window where the cursor is located, and a plurality of detection outputs indicating that the cursor is located within the window image are supplied from the coincidence detecting means, each window image information is displayed. The storage means storing the window image information of the window having the highest display priority among the windows to be detected is detected, and the window displaying the window image information stored in the storage means is detected as the window where the cursor is positioned. And a window detecting means.
一つの記憶手段に対して複数のウィンドウ画像情報を書き込み制御する複数ウィンドウ書き込み制御手段を有し、
上記複数ウィンドウ書き込み制御手段により、一つの記憶手段に対して複数のウィンドウ画像情報が書き込まれている場合、上記ウィンドウ検出手段は、カーソルが位置するウィンドウのウィンドウ画像情報が記憶されている記憶手段の検出後に、該記憶手段に記憶されている複数のウィンドウ画像情報による複数のウィンドウの表示位置を、該各ウィンドウの表示優先順位の高い順に検出し、この各ウィンドウの表示位置と、上記カーソル位置検出手段により検出されたカーソルの表示位置とを順次比較し、カーソルが位置するとして最初に検出されたウィンドウを、カーソルが位置するウィンドウとして検出することを特徴とする請求項1記載のカーソル検出装置。
A plurality of window writing control means for writing and controlling a plurality of window image information to one storage means
When a plurality of window image information is written in one storage means by the multiple window writing control means, the window detection means is a storage means in which the window image information of the window where the cursor is located is stored. after the detection, the display position of multiple windows with multiple windows image information stored in said storing means, detects the display priority in descending order of the respective windows, the display position of each window, the cursor position detector 2. The cursor detection apparatus according to claim 1, wherein the cursor is sequentially compared with the display position of the cursor detected by the means, and the window first detected as the cursor is positioned is detected as the window where the cursor is positioned.
各ウィンドウに表示するウィンドウ画像情報を、該各ウィンドウに対応する複数の記憶手段にそれぞれ書き込み、該各記憶手段に書き込まれたウィンドウ画像情報を表示手段の表示走査に同期してそれぞれ同時に読み出し、この各記憶手段から読み出された各ウィンドウ画像情報を、ウィンドウの表示優先順位に応じて各画素毎に選択して表示手段に供給する表示時合成方式によりマルチウィンドウ表示された複数のウィンドウの中から、表示画面上のカーソルが位置するウィンドウを検出するカーソル検出装置であって、
表示画面上のカーソルの位置を検出する処理を、上記表示手段の表示走査に同期して行うカーソル位置検出手段と、
上記各記憶手段のウィンドウ画像情報が書き込まれた領域以外の領域に、該ウィンドウ画像情報に対して判別可能な判別情報を書き込み制御する判別情報書き込み手段と、
上記各記憶手段から読み出されたウィンドウ画像情報及び判別情報の中から該ウィンドウ画像情報を検出する処理を、上記表示手段の表示走査に同期して行うウィンドウ画像検出手段と、
上記ウィンドウ画像検出手段からのウィンドウ画像情報であるか否かを示す情報としての各検出出力と、上記カーソル位置検出手段からの現在のカーソルの表示位置のタイミングであることを示す情報としてのカーソル位置検出出力とを、表示手段の表示走査に同期して比較することにより、ウィンドウ画像検出手段により検出されたウィンドウ画像内にカーソルが位置するか否かを検出する一致検出手段と、
上記一致検出手段からそのウィンドウ画像内にカーソルが位置することを示す検出出力が一つのみ供給された場合、そのウィンドウ画像情報を表示するウィンドウをカーソルが位置するウィンドウとして検出し、上記一致検出手段からそのウィンドウ画像内にカーソルが位置することを示す検出出力が複数供給された場合、該各ウィンドウ画像情報を表示するウィンドウのうち、表示優先順位の最も高いウィンドウをカーソルが位置するウィンドウとして検出するウィンドウ検出手段と
を有することを特徴とするカーソル検出装置。
The window image information to be displayed in each window is written in a plurality of storage means corresponding to each window, and the window image information written in each storage means is read out simultaneously in synchronization with the display scanning of the display means. Each window image information read from each storage means is selected for each pixel in accordance with the display priority order of the windows and supplied to the display means from among a plurality of windows displayed in a multi-window by a display-time composition method. A cursor detection device for detecting a window where a cursor is positioned on a display screen,
Cursor position detecting means for performing processing for detecting the position of the cursor on the display screen in synchronization with the display scanning of the display means;
Discriminating information writing means for writing discriminating information discriminating with respect to the window image information in an area other than the area where the window image information is written in each storage means,
Window image detection means for performing processing for detecting the window image information from the window image information and the discrimination information read from each storage means in synchronization with display scanning of the display means;
Each detection output as information indicating whether or not the window image information is from the window image detection means, and the cursor position as information indicating the timing of the current cursor display position from the cursor position detection means A coincidence detecting means for detecting whether or not the cursor is positioned in the window image detected by the window image detecting means by comparing the detection output with the display scanning of the display means;
When only one detection output indicating that the cursor is located in the window image is supplied from the coincidence detection means, the window displaying the window image information is detected as the window where the cursor is located, and the coincidence detection means When a plurality of detection outputs indicating that the cursor is located in the window image is supplied from among the windows displaying the window image information, the window having the highest display priority is detected as the window where the cursor is located. And a window detecting means.
各ウィンドウに表示するウィンドウ画像情報を記憶手段にそれぞれ書き込み、該記憶手段に書き込まれたウィンドウ画像情報をモニタ装置の表示走査に同期して読み出し表示手段に供給する描画時合成方式によりマルチウィンドウ表示された複数のウィンドウの中から、表示画面上のカーソルが位置するウィンドウを検出するカーソル検出装置であって、
上記記憶手段に書き込まれる前に、各ウィンドウに表示するウィンドウ画像情報をそれぞれ書き込むための複数の一時記憶手段と、
上記各一時記憶手段にウィンドウ画像情報が書き込まれた領域以外の領域に、該ウィンドウ画像情報に対して判別可能な判別情報を書き込み制御する判別情報書き込み手段と、
表示画面上のカーソルの位置を検出するカーソル位置検出手段と、
各ウィンドウ画像を表示するウィンドウの表示優先順位の高い順に、上記各一時記憶手段から各ウィンドウ画像情報及び判別情報を読み出し、上記カーソル位置検出手段により検出されたカーソルの位置座標を示すカーソル位置情報の示すカーソル位置にある情報がウィンドウ画像情報であるか判別情報であるかを検出し、カーソルの位置する情報がウィンドウ画像情報であると最初に判別された該ウィンドウ画像情報を有するウィンドウを、カーソルが位置するウィンドウとして検出するウィンドウ検出手段と
を有することを特徴とするカーソル検出装置。
Writing each window image information to be displayed on each window in the storage unit, the multi-window by drawing upon the synthesis method of supplying the read display means in synchronism with the display scanning of the monitor device each window image information written in 該記憶means A cursor detection device for detecting a window in which a cursor on a display screen is located from a plurality of displayed windows,
A plurality of temporary storage means for respectively writing window image information to be displayed in each window before being written to the storage means;
Discrimination information writing means for writing and controlling discrimination information that can be discriminated with respect to the window image information in an area other than the area in which the window image information is written in each temporary storage means;
Cursor position detecting means for detecting the position of the cursor on the display screen;
High display priority of a window that displays each window image sequentially, each read each window image information and determination information from the temporary storage means, the upper Symbol cursor position information indicating a position coordinate of the cursor is detected by the cursor position detector It is detected whether the information at the cursor position indicated by is the window image information or the discrimination information, and the window having the window image information first determined that the information at the cursor is the window image information is And a window detecting means for detecting as a window where the cursor is located.
マルチウィンドウ表示の際のウィンドウ形状が長方形状であった場合、その各ウィンドウのウィンドウ画像情報を上記記憶手段に書き込み制御し、該ウィンドウ形状が長方形状以外の形状であった場合、その各ウィンドウのウィンドウ画像情報を上記各一時記憶手段に書き込み制御する書き込み制御手段を有し、
上記ウィンドウ検出手段は、上記長方形状のウィンドウ形状のウィンドウ画像情報が上記記憶手段に書き込まれた場合、上記記憶手段に書き込まれた各ウィンドウ画像情報による各ウィンドウの表示位置を、該各ウィンドウの表示優先順位の高い順に検出し、この各ウィンドウの表示位置と、上記カーソル位置検出手段により検出されたカーソルの表示位置とを順次比較し、カーソルが位置するとして最初に検出されたウィンドウを、カーソルが位置するウィンドウとして検出し、長方形状以外のウィンドウ形状のウィンドウ画像情報が上記各一時記憶手段に書き込まれた場合、各ウィンドウ画像を表示するウィンドウの表示優先順位の高い順に、上記各一時記憶手段から各ウィンドウ画像情報及び判別情報を読み出し、上記カーソル位置検出手段により検出されたカーソルの位置座標を示すカーソル位置情報の示すカーソルの位置にある情報がウィンドウ画像情報であるか判別情報であるかを検出し、カーソルの位置する情報がウィンドウ画像情報であると最初に判別された該ウィンドウ画像情報を有するウィンドウを、カーソルが位置するウィンドウとして検出することを特徴とする請求項4記載のカーソル検出装置。
If the window shape during multi-window display was rectangular shape, the window image information of the respective windows to the write control in the storage means, when the window shape is a shape other than rectangular shape, each of its Write control means for controlling the window image information of the window to be written in each temporary storage means,
When the window image information of the rectangular window shape is written in the storage unit, the window detection unit displays the display position of each window based on each window image information written in the storage unit. detected in order of priority, the display position of each window, the cursor position detecting means sequentially comparing the display position of the detected cursor by the first detected window as the cursor is located, the cursor detected as a window located, rectangular if the window shape window image information other than the shape is written to the temporary storage unit above order high display priority of a window that displays each window image, each temporary memory means reading each window image information and determination information from the upper Symbol cursor position detection Information at the cursor indicated by the cursor position information indicating the position coordinates of the detected cursor to detect whether the identification information is the window image information by means, when information in which the cursor is located is a window image information 5. The cursor detection apparatus according to claim 4, wherein a window having the window image information determined first is detected as a window where the cursor is located.
JP19483996A 1996-07-24 1996-07-24 Cursor detection device Expired - Fee Related JP3647556B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19483996A JP3647556B2 (en) 1996-07-24 1996-07-24 Cursor detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19483996A JP3647556B2 (en) 1996-07-24 1996-07-24 Cursor detection device

Publications (2)

Publication Number Publication Date
JPH1039848A JPH1039848A (en) 1998-02-13
JP3647556B2 true JP3647556B2 (en) 2005-05-11

Family

ID=16331137

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19483996A Expired - Fee Related JP3647556B2 (en) 1996-07-24 1996-07-24 Cursor detection device

Country Status (1)

Country Link
JP (1) JP3647556B2 (en)

Also Published As

Publication number Publication date
JPH1039848A (en) 1998-02-13

Similar Documents

Publication Publication Date Title
US4200869A (en) Data display control system with plural refresh memories
KR940006348B1 (en) Terminal device in a bitmapped graphics workstation
JPH04106593A (en) Still image display device
JPH083784B2 (en) Bitmap Graph Six Station
US4529978A (en) Method and apparatus for generating graphic and textual images on a raster scan display
JPS60158484A (en) Display memory control system
JPS62269989A (en) Display controller
US4885699A (en) Data processing apparatus for editing, filing, and printing image data by means of visual observation of the data on a display screen
EP0062669B1 (en) Graphic and textual image generator for a raster scan display
JP3647556B2 (en) Cursor detection device
JP3578533B2 (en) Image display control device
JPH077252B2 (en) Cursor generator
US4011546A (en) Display apparatus
JPH04318892A (en) Information processor and display control circuit
JP3322109B2 (en) Display control device
JP2821121B2 (en) Display control device
JP3354725B2 (en) Display device
EP0470768B1 (en) Scheduling drawing operations of moving images
JPH0887260A (en) Graphic cursor generating device
JPS5819624Y2 (en) Graphic information reading device using a light pen
JPS616684A (en) Cursor display control system
KR940006808B1 (en) Cusor generator
JPH05130504A (en) Image display controller
JP2861159B2 (en) Window display control device
JPS6261156B2 (en)

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040401

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20041130

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050105

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050201

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050209

LAPS Cancellation because of no payment of annual fees