JP2721661B2 - Display method - Google Patents

Display method

Info

Publication number
JP2721661B2
JP2721661B2 JP8098305A JP9830596A JP2721661B2 JP 2721661 B2 JP2721661 B2 JP 2721661B2 JP 8098305 A JP8098305 A JP 8098305A JP 9830596 A JP9830596 A JP 9830596A JP 2721661 B2 JP2721661 B2 JP 2721661B2
Authority
JP
Japan
Prior art keywords
window
data
display
scroll bar
displayed
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 - Lifetime
Application number
JP8098305A
Other languages
Japanese (ja)
Other versions
JPH08255070A (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.)
Consejo Superior de Investigaciones Cientificas CSIC
Original Assignee
Consejo Superior de Investigaciones Cientificas CSIC
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
Family has litigation
First worldwide family litigation filed litigation Critical https://patents.darts-ip.com/?family=14216223&utm_source=google_patent&utm_medium=platform_link&utm_campaign=public_patent_search&patent=JP2721661(B2) "Global patent litigation dataset” by Darts-ip is licensed under a Creative Commons Attribution 4.0 International License.
Application filed by Consejo Superior de Investigaciones Cientificas CSIC filed Critical Consejo Superior de Investigaciones Cientificas CSIC
Priority to JP8098305A priority Critical patent/JP2721661B2/en
Publication of JPH08255070A publication Critical patent/JPH08255070A/en
Application granted granted Critical
Publication of JP2721661B2 publication Critical patent/JP2721661B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Digital Computer Display Output (AREA)
  • User Interface Of Digital Computer (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は表示方法に関し、
特に、ウィンドウとデータ資源に対するウィンドウ内表
示データの範囲を表わすスクロールバーとを対をなして
表示する表示方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a display method,
In particular, the present invention relates to a display method for displaying a pair of a window and a scroll bar indicating a range of display data in the window for a data resource.

【0002】[0002]

【従来の技術】図6および図7は従来のワークステーシ
ョンにおけるマルチウィンドウ表示方法を説明するため
の図であり、特に、図6はウィンドウWにデータ資源全
体を表示した場合を示し、図7はその一部を表示した場
合を示す。マルチウィンドウシステムでは、データ資源
を表示するウィンドウは通常データの一部のみを表示す
るようになっていて、その表示部分が全体に対してどの
位置に相当するのかを2つのスクロールバー100、2
00によって示している。また、スクロールバー10
0、200は全体に対し表示する部分を指定するのにも
用いられる。たとえば、図7に示す例では、上方と右方
とに表示されたハッチング部によりウィンドウWに表示
されていないデータがその方向に存在していることを示
している。ウィンドウWの表示内容をスクロールする場
合には、スクロールバー100または200の一端にカ
ーソルを移動し、マウスの移動に伴なって表示部分に相
当するスクロールバーの長さPhまたはPvを移動させ
て、移動状況を示す。
2. Description of the Related Art FIGS. 6 and 7 are diagrams for explaining a conventional multi-window display method in a workstation. FIG. 6 shows a case where the entire data resource is displayed in a window W, and FIG. This shows a case where a part thereof is displayed. In the multi-window system, a window for displaying data resources normally displays only a part of data, and two scroll bars 100, 2 indicate the position of the display part with respect to the whole.
It is indicated by 00. Also, scroll bar 10
0 and 200 are also used to designate a portion to be displayed for the whole. For example, in the example shown in FIG. 7, the data not displayed in the window W is present in the direction indicated by the hatched portions displayed on the upper and right sides. When scrolling the display content of the window W, the cursor is moved to one end of the scroll bar 100 or 200, and the length Ph or Pv of the scroll bar corresponding to the display portion is moved with the movement of the mouse. Indicates the movement status.

【0003】[0003]

【発明が解決しようとする課題】上述のごとく、従来の
マルチウィンドウシステムでは、表示内容をスクロール
させるとき、スクロールバーを移動させて表示内容のス
クロール状況を表わすようにしているが、従来の方法で
は、表示データ300、ウィンドウの標題400および
スクロールバー100、200を1つの描画データにま
とめて表示していたため、スクロールバーをマウスの移
動に合わせて描き変えるには、描画速度の点で無理があ
った。このため、従来は表示部分に相当するスクロール
バーを疑似的に移動させて表示部分が確定したときに、
その表示内容とスクロールバーの再描画を行うようにし
ている。したがって、従来の方法では、表示部分の確定
前後で表示内容が変わってしまうという問題点があり、
また、これを一致させようとすると、CPUに負担がか
かりすぎるため、リアルタイム動作が困難になるという
問題点があった。
As described above, in the conventional multi-window system, when scrolling the display contents, the scroll bar is moved to indicate the scrolling state of the display contents. , Display data 300, window title 400 and scroll bars 100 and 200 are displayed together in one drawing data, so it is not possible to draw the scroll bar in accordance with the movement of the mouse in terms of drawing speed. Was. For this reason, conventionally, when the scroll bar corresponding to the display portion is moved in a pseudo manner, and the display portion is determined,
The display contents and the scroll bar are redrawn. Therefore, in the conventional method, there is a problem that the display content changes before and after the display portion is determined,
In addition, there is a problem in that realizing a real-time operation becomes difficult because the load on the CPU is excessively increased when trying to match them.

【0004】それゆえに、この発明の主たる目的は、表
示内容のスクロール動作に合わせ、スクロールバーを同
時にスクロールできるような表示方法を提供することで
ある。
[0004] Therefore, a main object of the present invention is to provide a display method capable of simultaneously scrolling a scroll bar in accordance with a scroll operation of display contents.

【0005】[0005]

【課題を解決するための手段】本発明に係る表示方法
は、ウィンドウと、データ資源に対するウィンドウ内表
示データの範囲を表わすスクロールバーとを対をなして
表示する表示方法であって、前記データ資源を記憶する
第1の記憶ステップと、前記データ資源の表示サイズと
前記ウィンドウ内表示データのサイズとの比率を算出す
る算出ステップと、前記算出された比率に基づくスクロ
ールバーパターンを生成して記憶する第2の記憶ステッ
プと、及び前記データ資源及び前記スクロールバーパタ
ーンの一部を対をなしてウィンドウ表示している際に、
前記データ資源におけるウィンドウ表示データ読出領域
が移動したとき、その移動方向と逆方向に前記記憶され
たスクロールバーパターンの読出位置を移動させる移動
ステップとを備えて構成される。
A display method according to the present invention is a display method for displaying a window and a scroll bar representing a range of display data in a window for a data resource in a pair, wherein A first storage step of calculating the ratio of the display size of the data resource to the size of the display data in the window; and generating and storing a scroll bar pattern based on the calculated ratio. A second storage step, and when the data resources and a part of the scroll bar pattern are displayed in a window in pairs,
A moving step of moving the read position of the stored scroll bar pattern in a direction opposite to the moving direction when the window display data reading area in the data resource moves.

【0006】本発明に係る表示方法によれば、データ資
源の表示サイズとウィンドウ内表示データのサイズとの
比率を算出し、算出された比率に基づくスクロールバー
パターンを生成して記憶することで、ウィンドウ内表示
データのスクロール指示に連動して、その移動方向とは
逆方向にスクロールバーパターンを移動させる。特に、
一度生成したスクロールバーパターンの読出位置を変更
するだけで、スクロールバーパターンが移動表示される
ので、CPUの負荷は少なく、リアルタイムで描画を行
なうことができる。
According to the display method of the present invention, the ratio between the display size of the data resource and the size of the display data in the window is calculated, and a scroll bar pattern based on the calculated ratio is generated and stored. The scroll bar pattern is moved in the direction opposite to the moving direction in conjunction with the scroll instruction of the display data in the window. Especially,
Since the scroll bar pattern is moved and displayed only by changing the read position of the once generated scroll bar pattern, the load on the CPU is small and drawing can be performed in real time.

【0007】[0007]

【発明の実施の形態】図2はこの発明の一実施の形態の
電気的構成を示す概略ブロック図である。図2を参照し
て、この発明の一実施の形態の電気的構成について説明
する。
FIG. 2 is a schematic block diagram showing an electrical configuration of an embodiment of the present invention. With reference to FIG. 2, an electrical configuration of an embodiment of the present invention will be described.

【0008】ワークステーションには、MPU(マイク
ロ・プロセッサ・ユニット)1が設けられていて、MP
U1にはバスライン2を介してインターフェイス3、R
OM4、ワーキングRAM5、プログラムRAM6、画
像メモリ7、ビデオRAM8、CRTコントローラ9お
よびフロッピィディスクコントローラ10が接続されて
いる。インターフェイス3には、キーボード11とマウ
スコントローラ12とが接続される。
[0008] An MPU (microprocessor unit) 1 is provided in the work station.
U3 is connected to interface 3 via bus line 2 and R
The OM 4, the working RAM 5, the program RAM 6, the image memory 7, the video RAM 8, the CRT controller 9, and the floppy disk controller 10 are connected. A keyboard 11 and a mouse controller 12 are connected to the interface 3.

【0009】キーボード11は、アルファベットおよび
数字を入力するためのキーと、各種の制御キーとを有す
る。マウスコントローラ12は、マウス13のコントロ
ーラであり、マウス13の移動量に応じた移動量データ
と、マウス13のポイントキー操作時の制御データとを
MPU1からの要求信号に同期して出力する。ROM4
はシステムプログラムおよびアイコンパターン等の固定
データを記憶するものである。
The keyboard 11 has keys for inputting alphabets and numbers, and various control keys. The mouse controller 12 is a controller of the mouse 13, and outputs, in synchronization with a request signal from the MPU 1, movement amount data corresponding to the movement amount of the mouse 13 and control data at the time of operating a point key of the mouse 13. ROM4
Stores fixed data such as a system program and an icon pattern.

【0010】ワーキングRAM5は各処理データを記憶
する各種バッファ、レジスタバッファおよび各種メモリ
のアドレスレジスタを含む。さらに、ワーキングRAM
5には、マウス13によって移動されるカーソルの座標
値を保持するカーソルレジスタと、ウィンドウの優先順
位、ウィンドウのサイズ情報およびウィンドウメモリの
アドレス情報とを管理するウィンドウ管理テーブルと、
カーソルによって指示される位置の各ウィンドウ内のデ
ータを特定するための座標管理テーブルとが設けられて
いる。プログラムRAM6は、アプリケーションプログ
ラムを記憶するものである。
The working RAM 5 includes various buffers for storing processing data, register buffers, and address registers of various memories. In addition, working RAM
Reference numeral 5 denotes a cursor register for holding a coordinate value of a cursor moved by the mouse 13, a window management table for managing window priority, window size information, and window memory address information;
A coordinate management table for specifying data in each window at a position indicated by the cursor is provided. The program RAM 6 stores an application program.

【0011】画像メモリ7は、画像データを記憶するも
のであって、各ウィンドウごとに区画されている。画像
メモリ7の画像データはバスライン2を介してビデオR
AM8に転送される。ビデオRAM8はCRTディスプ
レイ14の画像に対応した画像データを記憶するもので
あり、当該画像データがCRTコントローラ9によって
CRTディスプレイ14と同期して読出され、表示出力
される。ビデオRAM8は、優先順位の低い画像より順
に書換えられ、最終的には最も優先順位の高い画像を記
憶する。
The image memory 7 stores image data and is divided for each window. The image data in the image memory 7 is transferred to the video R via the bus line 2.
Transferred to AM8. The video RAM 8 stores image data corresponding to an image on the CRT display 14. The image data is read out by the CRT controller 9 in synchronization with the CRT display 14, and is output. The video RAM 8 is rewritten in order from the image with the lowest priority, and finally stores the image with the highest priority.

【0012】CRTコントローラ9は上述のカーソルレ
ジスタのデータが供給されたとき、ビデオRAM8のデ
ータと合成してカーソルマークを表示する機能を有して
いる。フロッピィディスクコントローラ10は、フロッ
ピィディスク15をコントロールするものである。MP
U1はROM4のシステムプログラムおよびプログラム
RAM6のアプリケーションプログラムに従ってシステ
ム制御を行う。
The CRT controller 9 has a function of displaying a cursor mark by synthesizing the data with the data of the video RAM 8 when the data of the cursor register is supplied. The floppy disk controller 10 controls the floppy disk 15. MP
U1 controls the system according to the system program in the ROM 4 and the application program in the program RAM 6.

【0013】次に、上述のワークステーションの一般的
な動作について概略説明する。マウス13等の指示によ
って複数種類の画像データ(キャラクタデータを含む)
をマルチウィンドウにて表示する場合、画像データはカ
ーソルレジスタの座標値を基準とし、かつウィンドウサ
イズおよび優先順位に基づいて合成展開される。
Next, a general operation of the above-described workstation will be schematically described. Multiple types of image data (including character data) according to an instruction from the mouse 13 or the like
Is displayed in a multi-window, the image data is synthesized and developed based on the coordinate value of the cursor register and based on the window size and priority.

【0014】マウス13によってウィンドウ内の設定位
置を指示したとき、カーソルレジスタの座標値は座標管
理テーブルに基づいて対応するウィンドウ内の座標値に
変換され、各データ要素ごとに予め定められた固定座標
内にあるか否かが判定され、ポイントしたデータ要素が
特定される。この特定はアプリケーションプログラムに
よって定義され、通常のアイコン指示、キャラクタ指示
となる。また、ウィンドウ表示をする場合には、画像メ
モリ7中の表示開始アドレスとウィンドウサイズ、さら
にビデオRAM8の位置アドレスが保持され、画像デー
タはビデオRAM8に転送される。さらに、ウィンドウ
サイズ内のデータをスクロールする場合には、表示開始
アドレスを変位させてデータ伝送が行われる。
When a set position in the window is designated by the mouse 13, the coordinate value of the cursor register is converted into a coordinate value in the corresponding window based on the coordinate management table, and fixed coordinates determined in advance for each data element. Is determined, and the pointed data element is specified. This specification is defined by an application program, and is a normal icon instruction or character instruction. When a window is displayed, the display start address and window size in the image memory 7 and the position address of the video RAM 8 are held, and the image data is transferred to the video RAM 8. Furthermore, when scrolling data within the window size, data transmission is performed by displacing the display start address.

【0015】図1はこの発明の一実施の形態における画
像データを説明するための図である。図1を参照して、
画像データについて説明する。図1において、データ7
1、72および73は画像メモリ7に区画された各ウィ
ンドウに対応する画像データであり、各ウィンドウより
大きいデータサイズを有している。データ資源としての
データ71はウィンドウW1に対応する画像データであ
り、データ処理されたキャラクタデータまたはグラフィ
ックデータである。CRTディスプレイ14に表示され
るウィンドウW1の表示開始アドレスはアドレスポイン
タAP1に保持されていて、ウィンドウW1の枠711
のデータが読出されて表示されるようになっている。
FIG. 1 is a diagram for explaining image data according to an embodiment of the present invention. Referring to FIG.
The image data will be described. In FIG. 1, data 7
1, 72 and 73 are image data corresponding to each window partitioned in the image memory 7, and have a data size larger than each window. The data 71 as data resources is image data corresponding to the window W1, and is character data or graphic data subjected to data processing. The display start address of the window W1 displayed on the CRT display 14 is held in the address pointer AP1, and the frame 711 of the window W1 is displayed.
Is read out and displayed.

【0016】データ72は垂直スクロールバーウィンド
ウW2に対応するグラフィック画像データであり、ウィ
ンドウW1の表示範囲を表わす空白部721と、後で説
明する残部を表わすハッチングパターン部722と、ス
クロール方向を表わす方向指示アイコンとして利用され
る矢印パターン部723とで構成されている。ウィンド
ウW2の表示開始アドレスはアドレスポインタAP2に
保持されていて、ウィンドウW2の枠724のデータが
読出されて表示されるようになっている。データ73は
水平スクロールバーウィンドウW3に対応するグラフィ
ック画像データであり、上述の垂直スクロールバーパタ
ーンと同様の構成を有する。
The data 72 is graphic image data corresponding to the vertical scroll bar window W2, and includes a blank portion 721 indicating the display range of the window W1, a hatching pattern portion 722 indicating the remaining portion described later, and a direction indicating the scroll direction. And an arrow pattern portion 723 used as an instruction icon. The display start address of the window W2 is held by the address pointer AP2, and the data of the frame 724 of the window W2 is read and displayed. The data 73 is graphic image data corresponding to the horizontal scroll bar window W3, and has the same configuration as the above-described vertical scroll bar pattern.

【0017】ウィンドウW3の表示開始アドレスはアド
レスポインタAP3に保持されていて、ウィンドウW3
の枠734のデータが読出されて表示されるようになっ
ている。データ71、72および73は、各々AP1〜
AP3により読出されて、ビデオRAM8に転送され、
ビデオRAM8の予め定められた位置アドレスVAP
1、VAP2、VAP3をそれぞれ開始アドレスとして
書込まれて、合成記憶される。
The display start address of the window W3 is held in the address pointer AP3.
Is read out and displayed. Data 71, 72 and 73 are AP1-
It is read by AP3 and transferred to video RAM 8,
A predetermined position address VAP of the video RAM 8
1, VAP2, and VAP3 are respectively written as start addresses, and are combined and stored.

【0018】図3および図4はこの発明の一実施の形態
の表示動作を説明するためのフロー図であり、図5は動
作説明のための図である。次に、図1ないし図5を参照
して、この発明の一実施の形態の動作について説明す
る。
FIGS. 3 and 4 are flowcharts for explaining the display operation according to the embodiment of the present invention, and FIG. 5 is a diagram for explaining the operation. Next, the operation of the embodiment of the present invention will be described with reference to FIGS.

【0019】ウィンドウ形成にあたって、ステップS1
(図示ではS1と略称する)において、たとえばフロッ
ピィディスク15からのデータ読出、あるいは、キーボ
ード11からのデータ入力処理によって、ワーキングR
AM5上にデータが作成され、画像メモリ7の予め区画
されたエリアに画像データ71として記憶される。続い
て、ステップS2において、ウィンドウW1の形成処理
が行なわれ、ウィンドウ枠711が設定される。
In forming a window, step S1
In FIG. 1 (abbreviated as S1 in the figure), the working R is performed by, for example, reading data from the floppy disk 15 or inputting data from the keyboard 11.
Data is created on the AM 5 and stored as image data 71 in a previously partitioned area of the image memory 7. Subsequently, in step S2, a window W1 forming process is performed, and a window frame 711 is set.

【0020】続いて、ステップS3において、画像デー
タ71のサイズとウィンドウ枠711のサイズとの比率
が算出される。たとえば、図5(A)にしめすように、
ウィンドウ枠711が表示データ71に対して位置して
いる場合には、左方残部、表示部分、右方残部の比率は
l1:l2:l3の比率となる。続いて、ステップS4
において、l1、l2、l3により図1に示すようなス
クロールバーパターン72、73が画像メモリ7に形成
される。スクロールバーパターン73について図5
(B)を参照して説明すると、空白部731が中央部に
形成され、この両側部にl1+l3が合成されて、ハッ
チングパターン部732が形成される。
Subsequently, in step S3, the ratio between the size of the image data 71 and the size of the window frame 711 is calculated. For example, as shown in FIG.
When the window frame 711 is positioned with respect to the display data 71, the ratio of the left-side remaining portion, the display portion, and the right-side remaining portion is a ratio of 11:12:13. Subsequently, step S4
In, the scroll bar patterns 72 and 73 as shown in FIG. 1 are formed in the image memory 7 by l1, l2 and l3. FIG. 5 about the scroll bar pattern 73
To explain with reference to (B), a blank portion 731 is formed at the center portion, and l1 + l3 are combined on both sides to form a hatching pattern portion 732.

【0021】垂直スクロールバーパターン72も同様に
して形成される。スクロールバーパターン72および7
3は、ウィンドウ枠711が画像データ71の最端部に
移動したとき、ウィンドウW2、W3の対応する端部に
ハッチングパターンが表示されないように配分される。
The vertical scroll bar pattern 72 is formed in a similar manner. Scroll bar patterns 72 and 7
No. 3 is allocated so that the hatching pattern is not displayed at the corresponding ends of the windows W2 and W3 when the window frame 711 moves to the end of the image data 71.

【0022】その後、ステップS5において、各画像デ
ータがビデオRAM8に転送され、ウィンドウ内のデー
タのみが表示され、ステップS6において、マウス13
等のキー操作によってスクロールが指示されると、ステ
ップS7において、メモリアドレスが設定され、そのう
ちに対応した各画像データがビデオRAM8に転送され
る。
Thereafter, in step S5, each image data is transferred to the video RAM 8, and only the data in the window is displayed. In step S6, the mouse 13
When a scroll operation is instructed by a key operation such as a key operation, a memory address is set in step S7, and corresponding image data is transferred to the video RAM 8.

【0023】次に、上述の転送動作およびスクロール動
作を詳細に説明する。
Next, the above-described transfer operation and scroll operation will be described in detail.

【0024】ステップS11では、画像メモリ7のアド
レスポインタAP1からウィンドウW1に対応するたと
えばNバイトの画像データが順次読出されて、ビデオR
AM8に転送され、開始点VAP1を起点として書込ま
れる。続いて、ステップS12では、画像メモリ7のア
ドレスポインタAP2からウィンドウW2に対応するた
とえばMバイトの画像データが順次読出されて、ビデオ
RAM8に転送され、開始点VAP2を起点として書込
まれる。続いて、ステップS13では、画像メモリ7の
アドレスポインタAP3からウィンドウW3に対応する
たとえばPバイトの画像データが順次読出されて、ビデ
オRAM8に転送され、開始点VAP3を起点として書
込まれる。以上の処理によって、CRTディスプレイ1
4上に図5(C)のようなウィンドウが表示される。
In step S11, for example, N bytes of image data corresponding to the window W1 are sequentially read from the address pointer AP1 of the image memory 7, and the video R is read.
The data is transferred to the AM 8 and written starting from the start point VAP1. Subsequently, in step S12, for example, M-byte image data corresponding to the window W2 is sequentially read from the address pointer AP2 of the image memory 7, transferred to the video RAM 8, and written starting from the start point VAP2. Subsequently, in step S13, for example, P-byte image data corresponding to the window W3 is sequentially read from the address pointer AP3 of the image memory 7, transferred to the video RAM 8, and written starting from the start point VAP3. By the above processing, the CRT display 1
A window as shown in FIG.

【0025】マウス13の操作によって、矢印パターン
90を指示し、マウス13を移動することによりスクロ
ール処理に移行し、上下、左右方向のスクロール操作が
行なわれる。すなわち、ステップS14において、スク
ロール割込処理の開始が指示されると、ステップS15
において、垂直スクロールか否かが判別される。左右方
向へのスクロールであれば、続いて、ステップS16に
おいて、左方向へのスクロールか否かが判別される。ま
た、垂直方向へのスクロールであれば、ステップS21
において、上方へのスクロールか否かが判別される。
By operating the mouse 13, the arrow pattern 90 is pointed, and the mouse 13 is moved to shift to scroll processing, and scrolling operations in the up, down, left, and right directions are performed. That is, when the start of the scroll interruption process is instructed in step S14, step S15
In, it is determined whether or not vertical scrolling is performed. If scrolling in the left-right direction, subsequently, in step S16, it is determined whether or not scrolling is in the left direction. If scrolling is performed in the vertical direction, step S21 is performed.
In, it is determined whether or not scrolling is upward.

【0026】左方へのスクロールであれば、ステップS
17において、AP1−1を新たなAP1とし、続い
て、ステップS18において、AP3+1を新たなAP
3とする。右方へのスクロールであれば、ステップS1
9において、AP1+1を新たなAP1とし、続いて、
ステップS20において、AP3−1を新たなAP3と
する。上方へスクロールであれば、ステップS22にお
いて、AP1−n(nは画像データ71の水平データ
数)を新たなAP1とし、続いて、ステップS23にお
いて、AP2+m(mは画像データ72の水平データ
数)を新たなAP2とする。下方へのスクロールであれ
ば、ステップS24において、AP1+nを新たなAP
1とし、続いて、ステップS25におて、AP2−mを
新たなAP2とする。
If scrolling to the left, step S
In step S17, AP1-1 is set as the new AP1, and in step S18, AP3 + 1 is set as the new AP1.
3 is assumed. If scrolling to the right, step S1
At 9, AP1 + 1 is set as a new AP1, and subsequently,
In step S20, AP3-1 is set as a new AP3. If scrolling upward, in step S22, AP1-n (n is the number of horizontal data of the image data 71) is set as a new AP1, and in step S23, AP2 + m (m is the number of horizontal data of the image data 72). Is a new AP2. If scrolling downward, in step S24, AP1 + n is replaced with the new AP.
Then, in step S25, AP2-m is set as a new AP2.

【0027】上述のようにして、アドレスポインタを更
新して、所定の時間待機後、上述のステップS11、S
12およびS13を実行することによって、ウィンドウ
W1、W2およびW3がスクロールされる。すなわち、
左方へのスクロールであれば、ウィンドウW1のデータ
は右方にシフトされ、最左端に新たなデータが表示され
る。また、ウィンドウW3内のスクロールバーパターン
がウィンドウW1と逆方向にシフトされ、右端の残部を
示すハッチングパターン部が増加し、左端のハッチング
パターン部が減少する。右方へのスクロールであれば、
ウィンドウW1のデータは左方にシフトされ、最右端に
新たなデータが表示される。また、ウィンドウW3内の
スクロールバーパターンがウィンドウW1と逆方向にシ
フトされ、右端のハッチングパターン部が減少し、左端
のハッチングパターン部が増加する。
As described above, the address pointer is updated, and after waiting for a predetermined time, the above-described steps S11 and S11 are performed.
By executing steps 12 and S13, windows W1, W2 and W3 are scrolled. That is,
If scrolling to the left, the data in window W1 is shifted to the right and new data is displayed at the leftmost end. Further, the scroll bar pattern in the window W3 is shifted in the direction opposite to that of the window W1, the hatched pattern portion indicating the remaining portion at the right end increases, and the hatched pattern portion at the left end decreases. If scrolling to the right,
The data in the window W1 is shifted to the left, and new data is displayed at the rightmost end. Further, the scroll bar pattern in the window W3 is shifted in the direction opposite to that of the window W1, so that the hatched pattern portion at the right end decreases and the hatched pattern portion at the left end increases.

【0028】上方へのスクロールであれば、ウィンドウ
W1のデータは下方にシフトされ、最上端に新たなデー
タが表示される。また、ウィンドウW2内のスクロール
バーパターンがウィンドウW1と逆方向にシフトされ、
下端のハッチングパターン部が増加し、上端のハッチン
グパターン部が減少する。
In the case of scrolling upward, the data in the window W1 is shifted downward, and new data is displayed at the uppermost end. Also, the scroll bar pattern in the window W2 is shifted in the opposite direction to the window W1,
The hatching pattern at the lower end increases and the hatching pattern at the upper end decreases.

【0029】下方へのスクロールであれば、ウィンドウ
W1のデータは上方にシフトされ、最下端に新たなデー
タが表示される。また、ウィンドウW2内のスクロール
バーパターンがウィンドウW1と逆方向にシフトされ、
上端のハッチングパターンが増加し、下端のハッチング
パターンが減少する。
When scrolling downward, the data in the window W1 is shifted upward and new data is displayed at the lowermost position. Also, the scroll bar pattern in the window W2 is shifted in the opposite direction to the window W1,
The hatching pattern at the upper end increases and the hatching pattern at the lower end decreases.

【0030】なお、上述のウィンドウW1、W2および
W3のデータ比率を1:1:1であるとすると、上述の
方法でもよいが、一般的に画像データ71と画像データ
72、73比率が異なるため、好ましくは、ウィンドウ
W1のスクロール処理を複数回行なうごとに、ウィンド
ウW2、W3を1回スクロールさせるようにする。スク
ロールの比率は、画像データサイズとウィンドウ枠サイ
ズの比率によって決定すればよい。
If it is assumed that the data ratio of the windows W1, W2 and W3 is 1: 1: 1, the above-mentioned method may be used. However, since the image data 71 and the image data 72, 73 have different ratios in general, Preferably, each time the scroll processing of the window W1 is performed a plurality of times, the windows W2 and W3 are scrolled once. The scroll ratio may be determined by the ratio between the image data size and the window frame size.

【0031】[0031]

【発明の効果】以上のように、本発明の表示方法によれ
ば、データ資源の表示サイズとウィンドウ内表示データ
のサイズとの比率を算出し、算出された比率に基づくス
クロールバーパターンを生成して記憶することで、ウィ
ンドウ内表示データのスクロール指示に連動して、その
移動方向とは逆方向にスクロールバーパターンを移動さ
せる。特に、一度生成したスクロールバーパターンの読
出位置を変更するだけで、スクロールバーパターンが移
動表示されるので、CPUの負荷は少なく、リアルタイ
ムで描画を行なうことができる。
As described above, according to the display method of the present invention, the ratio between the display size of the data resource and the size of the display data in the window is calculated, and the scroll bar pattern based on the calculated ratio is generated. The scroll bar pattern is moved in the direction opposite to the moving direction in synchronization with the scroll instruction of the display data in the window. In particular, since the scroll bar pattern is moved and displayed only by changing the read position of the once generated scroll bar pattern, the load on the CPU is small and drawing can be performed in real time.

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

【図1】本発明の一実施の形態における画像データを説
明するための図である。
FIG. 1 is a diagram for explaining image data according to an embodiment of the present invention.

【図2】本発明の一実施の形態の電気的構成を示す概略
ブロック図である。
FIG. 2 is a schematic block diagram illustrating an electrical configuration of an embodiment of the present invention.

【図3】本発明の一実施の形態を説明するためのフロー
図である。
FIG. 3 is a flowchart for explaining an embodiment of the present invention.

【図4】本発明の一実施の形態の動作を説明するための
フロー図である。
FIG. 4 is a flowchart for explaining the operation of the embodiment of the present invention.

【図5】本発明の一実施の形態の動作説明のための図で
ある。
FIG. 5 is a diagram for explaining the operation of the embodiment of the present invention.

【図6】従来のワークステーションにおけるマルチウィ
ンドウ表示方式を説明するための図である。
FIG. 6 is a diagram for explaining a multi-window display method in a conventional workstation.

【図7】従来のワークステーションにおけるマルチウィ
ンドウ表示方式を説明するための図である。
FIG. 7 is a diagram for explaining a multi-window display method in a conventional workstation.

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

1 MPU 3 インターフェイス 4 ROM 5 ワーキングRAM 6 プログラムRAM 7 画像メモリ 8 ビデオRAM 9 CRTコントローラ 11 キーボード 12 マウスコントローラ 13 マウス 14 CRTディスプレイ 71 画像データ 711 ウィンドウW1の枠 72 垂直スクロールバーウィンドウW2に対応する
グラフィク画像データ 721 空白部 722 ハッチングパターン部 723 矢印パターン部 724 ウィンドウW2の枠 73 水平スクロールバーウィンドウW3に対応するグ
ラフィック画像データ 734 ウィンドウW3の枠 AP1、AP2、AP3 アドレスポインタ VAP1、VAP2、VAP3 書き込み開始点 W1、W2、W3 ウィンドウ
1 MPU 3 Interface 4 ROM 5 Working RAM 6 Program RAM 7 Image Memory 8 Video RAM 9 CRT Controller 11 Keyboard 12 Mouse Controller 13 Mouse 14 CRT Display 71 Image Data 711 Window W1 Frame 72 Graphic Image Corresponding to Vertical Scroll Bar Window W2 Data 721 Blank portion 722 Hatch pattern portion 723 Arrow pattern portion 724 Window W2 frame 73 Graphic image data corresponding to horizontal scroll bar window W3 734 Window W3 frame AP1, AP2, AP3 Address pointer VAP1, VAP2, VAP3 Write start point W1 , W2, W3 windows

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 ウィンドウと、データ資源に対するウィ
ンドウ内表示データの範囲を表わすスクロールバーとを
対をなして表示する表示方法であって、 前記データ資源を記憶する第1の記憶ステップと、 前記データ資源の表示サイズと前記ウィンドウ内表示デ
ータのサイズとの比率を算出する算出ステップと、 前記算出された比率に基づくスクロールバーパターンを
生成して記憶する第2の記憶ステップと、及び前記デー
タ資源及び前記スクロールバーパターンの一部を対をな
してウィンドウ表示している際に、前記データ資源にお
けるウィンドウ表示データ読出領域が移動したとき、そ
の移動方向と逆方向に前記記憶されたスクロールバーパ
ターンの読出位置を移動させる移動ステップとを備えた
表示方法。
1. A display method for displaying a window and a scroll bar representing a range of display data in a window for a data resource in a pair, comprising: a first storage step of storing the data resource; A calculating step of calculating a ratio between a display size of a resource and a size of the display data in the window; a second storing step of generating and storing a scroll bar pattern based on the calculated ratio; When a part of the scroll bar pattern is displayed as a pair of windows and the window display data read area in the data resource moves, the stored scroll bar pattern is read in a direction opposite to the moving direction. A moving step of moving a position.
JP8098305A 1996-04-19 1996-04-19 Display method Expired - Lifetime JP2721661B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8098305A JP2721661B2 (en) 1996-04-19 1996-04-19 Display method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8098305A JP2721661B2 (en) 1996-04-19 1996-04-19 Display method

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP63121337A Division JPH0746307B2 (en) 1988-05-18 1988-05-18 Display device

Publications (2)

Publication Number Publication Date
JPH08255070A JPH08255070A (en) 1996-10-01
JP2721661B2 true JP2721661B2 (en) 1998-03-04

Family

ID=14216223

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8098305A Expired - Lifetime JP2721661B2 (en) 1996-04-19 1996-04-19 Display method

Country Status (1)

Country Link
JP (1) JP2721661B2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6382560A (en) * 1986-09-27 1988-04-13 Toshiba Corp Data processor

Also Published As

Publication number Publication date
JPH08255070A (en) 1996-10-01

Similar Documents

Publication Publication Date Title
JPH06274586A (en) Displaying system
US5798749A (en) Graphic display control apparatus
CN100464368C (en) Display controller allowing overlapping display
JP3568555B2 (en) Display device
JP2721661B2 (en) Display method
JPH06259217A (en) Multiwindow system
JPH0516039B2 (en)
JP5262426B2 (en) Display processing apparatus and program
JPH0746307B2 (en) Display device
US6002391A (en) Display control device and a method for controlling display
JP2002258827A (en) Image display device
JPS61176985A (en) Crt display unit
JPH09231045A (en) Scroll method for drawing processing
JP2700021B2 (en) Window display control device and method
JP3266975B2 (en) Scroll image display method
JP3337385B2 (en) Display control circuit
KR940000597B1 (en) Multi-window display control system
JPH04288593A (en) Image display device
JP2535841B2 (en) Display controller
JPS6265080A (en) Graph display system
JPH0946515A (en) Magnification display controller
JPH10222695A (en) Plotting device and plotting method
JPS604985A (en) Display method
JPH04315220A (en) Image display system
JPS6324474A (en) Multiwindow display device