JPH07129362A - Method for scrolling picture - Google Patents

Method for scrolling picture

Info

Publication number
JPH07129362A
JPH07129362A JP5301045A JP30104593A JPH07129362A JP H07129362 A JPH07129362 A JP H07129362A JP 5301045 A JP5301045 A JP 5301045A JP 30104593 A JP30104593 A JP 30104593A JP H07129362 A JPH07129362 A JP H07129362A
Authority
JP
Japan
Prior art keywords
screen
scrolling
display
graphic
key
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.)
Pending
Application number
JP5301045A
Other languages
Japanese (ja)
Inventor
Masaaki Iriuchijima
正明 入内島
Makoto Kurosawa
真 黒澤
Satomi Horii
里見 堀井
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP5301045A priority Critical patent/JPH07129362A/en
Publication of JPH07129362A publication Critical patent/JPH07129362A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To quickly execute scrolling by erasing a graphic picture, scrolling only a text picture and displaying the graphic picture at the time of stopping scroll instruction. CONSTITUTION:When an optical key on a keyboard 2 is depressed, whether or not the key corresponds to scrolling is judged. When the key corresponds to scrolling, a movable flag 10A is turned on and whether or not a cursor position is within a display enabled area is judged. When outside the display enabled area, whether or not a graphic picture is erased is judged, and when the picture is not erased, the graphic picture is erased and an erase flag 10B is turned on. If the movable flag 10A is turned on when the key depression corresponding to scrolling is released or when a key other than the key corresponding to scrolling is depressed, whether or not the cursor position is within the display enabled area is judged. When outside the area, a graphic picture is displayed, the erase flag 10B is turned off and the movable flag is also turned off.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はグラフィックデータとテ
キストデータとが混在している画面をスクロールさせる
画面スクロール方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a screen scroll method for scrolling a screen in which graphic data and text data are mixed.

【0002】[0002]

【従来の技術】CRT等の表示画面にデータ表示が行わ
れている状態で、その表示可能領域外にカーソルを移動
させる等の操作を行うと、表示画面の表示可能領域が移
動、いわゆるスクロールが行われる。
2. Description of the Related Art When data is displayed on a display screen of a CRT or the like, an operation such as moving the cursor outside the displayable area causes the displayable area of the display screen to move, so-called scrolling. Done.

【0003】また、エディタ等のデータでは、グラフィ
ックデータとテキストデータとが混在しており、このよ
うなグラフィック、テキスト混在画面の表示内容をスク
ロールする場合、スクロールに対応する機能キーの押下
によって行う。この際、テキスト画面に対するスクロー
ルは、画面バッファに格納されたテキストデータのブロ
ック転送によって行い、グラフィック画面に対するスク
ロールは、その都度再表示が行われる。即ち、グラフィ
ック画面のスクロールは、次画面のデータを画面移動毎
に作成し、これを表示させるものである。従って、スク
ロール機能キーを連続押下した場合は、対応する回数分
のグラフィック画面の再表示が行われていた。
Further, in data of an editor or the like, graphic data and text data are mixed, and when scrolling the display contents of such a graphic / text mixed screen, the function key corresponding to the scroll is pressed. At this time, scrolling on the text screen is performed by block transfer of the text data stored in the screen buffer, and scrolling on the graphic screen is redisplayed each time. That is, the scroll of the graphic screen is for creating the data of the next screen every time the screen is moved and displaying it. Therefore, when the scroll function key is continuously pressed, the graphic screen is displayed again for the corresponding number of times.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、従来の
画面スクロール方法では、スクロール対応キーを連続で
押下した場合、それに対応する回数分のグラフィック画
面再表示が伴うため、希望表示位置までのスクロールに
時間を要すると共に、操作者にとって再表示による画面
のちらつきが気になるといった問題点があった。
However, in the conventional screen scrolling method, when the scroll-capable key is continuously pressed, the graphic screen is redisplayed by the number of times corresponding thereto, so that it takes time to scroll to the desired display position. In addition, there is a problem that the operator is concerned about the flicker of the screen due to the redisplay.

【0005】本発明は、上記従来の問題点を解決するた
めになされたもので、グラフィック、テキスト混在画面
のスクロールを高速に行うと共に、画面のちらつきを少
なくすることのできる画面スクロール方法を提供するこ
とを目的とする。
The present invention has been made to solve the above-mentioned conventional problems, and provides a screen scrolling method capable of scrolling a graphic / text mixed screen at high speed and reducing screen flicker. The purpose is to

【0006】[0006]

【課題を解決するための手段】本発明の画面スクロール
方法は、テキストデータとグラフィックデータが混在し
たデータを表示し、この表示画面のスクロールを行う画
面スクロール方法において、スクロールが指示された場
合は、グラフィック画面を消去して、テキスト画面のみ
スクロールさせ、グラフィック画面は、スクロールの指
示が停止した時点で表示することを特徴とするものであ
る。
According to the screen scroll method of the present invention, data in which text data and graphic data are mixed is displayed, and in the screen scroll method for scrolling the display screen, when scroll is instructed, It is characterized in that the graphic screen is erased and only the text screen is scrolled, and the graphic screen is displayed when the scroll instruction is stopped.

【0007】[0007]

【作用】本発明の画面スクロール方法においては、キー
ボードから任意のキーが押下された場合、先ず、押下さ
れたキーが、スクロールに対応したキーか否かを判定す
る。スクロールに対応したキーであった場合は、移動フ
ラグをONとし、カーソル位置が表示可能領域内である
かを判定する。カーソル位置が表示可能領域外であった
場合、グラフィック画面が消去中かを判定し、消去され
ていない場合はグラフィック画面を消去し、消去フラグ
をONとする。そして、テキスト画面のみをスクロール
する。一方、スクロール対応キーの押下が解除された場
合やスクロール対応キーでないキーが押下された場合、
移動フラグがONか否かを判定し、ONになっていた場
合は、カーソル位置が表示可能領域内であるかを判定す
る。そして、カーソル位置が表示可能領域外であった場
合は、グラフィック画面を表示させ、消去フラグをOF
Fにすると共に、移動フラグもOFFとする。
In the screen scrolling method of the present invention, when an arbitrary key is pressed from the keyboard, it is first determined whether or not the pressed key corresponds to scrolling. If the key corresponds to scrolling, the movement flag is set to ON, and it is determined whether the cursor position is within the displayable area. If the cursor position is outside the displayable area, it is determined whether the graphic screen is being erased. If not, the graphic screen is erased and the erase flag is turned on. Then, only the text screen is scrolled. On the other hand, if the scroll-enabled key is released, or if a key that is not a scroll-enabled key is pressed,
It is determined whether or not the movement flag is ON, and if it is ON, it is determined whether or not the cursor position is within the displayable area. If the cursor position is outside the displayable area, the graphic screen is displayed and the erase flag is set to OF.
The flag is set to F and the movement flag is also set to OFF.

【0008】[0008]

【実施例】以下、本発明の実施例を図面を用いて詳細に
説明する。図1は本発明の画面スクロール方法を説明す
るためのフローチャートであるが、このフローチャート
を説明するのに先立ち、本発明の画面スクロール方法を
実施するためのシステムを説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings. FIG. 1 is a flow chart for explaining the screen scroll method of the present invention. Prior to explaining this flow chart, a system for implementing the screen scroll method of the present invention will be described.

【0009】図2は、そのシステム構成を示すブロック
図である。図のシステムは、マイクロコンピュータ等か
らなるものであり、表示部1、キーボード2、制御部
3、データ格納部4から構成されている。表示部1は、
テキストデータやグラフィックデータを表示するための
CRT等からなるディスプレイである。キーボード2
は、データ入力や画面のスクロールを行うための機能キ
ーといった各種のキーを備えた入力部である。
FIG. 2 is a block diagram showing the system configuration. The system shown in the figure comprises a microcomputer and the like, and comprises a display unit 1, a keyboard 2, a control unit 3, and a data storage unit 4. The display unit 1 is
The display is a CRT or the like for displaying text data and graphic data. Keyboard 2
Is an input unit including various keys such as function keys for data input and screen scrolling.

【0010】制御部3は、表示部1への表示制御や、キ
ーボード2からのデータ処理等を行う制御部であり、連
続押下認識手段31、テキスト画面表示手段32、グラ
フィック画面表示手段33、表示制御手段34を備えて
いる。
The control unit 3 is a control unit for controlling display on the display unit 1, data processing from the keyboard 2, and the like. The continuous press recognition unit 31, text screen display unit 32, graphic screen display unit 33, and display The control means 34 is provided.

【0011】連続押下認識手段31は、キーボード2か
らのキー入力を受け取るキーボードバッファを備え、こ
のキーボードバッファからのキーコードに基づき、スク
ロール機能キーが連続して押下されているか、また連続
押下状態から解除されたかを認識する機能を有してい
る。テキスト画面表示手段32は、表示制御手段34か
らの制御に基づき、表示部1に対してテキスト画面の表
示を行うものである。グラフィック画面表示手段33
は、テキスト画面表示手段32と同様に、表示制御手段
34からの指示に基づき表示部1に対してグラフィック
画面の表示を行うものである。
The continuous depression recognizing means 31 has a keyboard buffer for receiving a key input from the keyboard 2. Based on the key code from the keyboard buffer, whether the scroll function key is continuously depressed, or from the continuously depressed state, It has a function of recognizing whether it has been canceled. The text screen display means 32 displays a text screen on the display unit 1 under the control of the display control means 34. Graphic screen display means 33
Like the text screen display unit 32, displays a graphic screen on the display unit 1 based on an instruction from the display control unit 34.

【0012】表示制御手段34は、連続押下認識手段3
1からの認識結果に基づき、移動フラグ10Aや消去フ
ラグ10Bの設定、解除を行うと共に、スクロール後の
表示位置の算出といった演算処理を行う制御部である。
また、ここで、移動フラグ10Aとは、スクロール対応
キーが押下されたか否かを示すフラグであり、消去フラ
グ10Bとは表示画面中にグラフィック画面が表示され
ているか否かを示すフラグである。尚、データ格納部4
は、表示データ等を格納するための外部記憶装置であ
る。
The display control means 34 is the continuous press recognition means 3
It is a control unit that sets and releases the movement flag 10A and the erasure flag 10B based on the recognition result from 1 and performs arithmetic processing such as calculation of a display position after scrolling.
Further, here, the movement flag 10A is a flag indicating whether or not the scroll corresponding key is pressed, and the deletion flag 10B is a flag indicating whether or not the graphic screen is displayed on the display screen. The data storage unit 4
Is an external storage device for storing display data and the like.

【0013】次に、図1のフローチャートに基づき、こ
のようなシステムにおける画面スクロール方法を説明す
る。先ず、連続押下認識手段31は、キーボードバッフ
ァから一文字分の読出しを行い(ステップS1)、これ
がスクロール対応のキーのコードと等しいかを判定する
(ステップS2)。尚、本実施例ではスクロール対応キ
ーをカーソル移動キーとしている。
Next, a screen scroll method in such a system will be described with reference to the flow chart of FIG. First, the continuous press recognition means 31 reads one character from the keyboard buffer (step S1) and determines whether this is equal to the code of the scroll-compatible key (step S2). In this embodiment, the scroll-compatible keys are cursor movement keys.

【0014】このステップS2において、スクロール対
応キーのコードと等しい場合は、これを表示制御手段3
4に通知し、表示制御手段34は、スクロール対応キー
が押下状態であることを示す移動フラグ10AをONに
設定する(ステップS3)。そして、表示位置が表示域
内にあるか、即ちカーソル位置が現在表示している画面
内で移動可能かを判定し(ステップS4)、表示域内の
場合は、上記ステップS1〜S4を繰り返して行う。
In step S2, if the code is the same as the code of the scroll-compatible key, the code is displayed.
4, and the display control means 34 sets the movement flag 10A indicating that the scroll corresponding key is in the pressed state to ON (step S3). Then, it is determined whether the display position is within the display area, that is, whether the cursor position can be moved within the currently displayed screen (step S4). If it is within the display area, the above steps S1 to S4 are repeated.

【0015】図3は、このような表示画面のスクロール
状態を示す説明図である。図において、100は表示画
面、101はテキスト画面データ、102はグラフィッ
ク画面データ、103はカーソルを示している。図3
(a)の状態は、画面スクロール前の状態であり、カー
ソル103の位置も画面左寄りとなっている。そして、
図3(a)から(b)への状態が、上記ステップS1〜
S4の状態であり、この場合は、カーソル103位置が
右に移動しているだけで、グラフィック画面データ10
2はそのまま表示されている。
FIG. 3 is an explanatory diagram showing a scrolling state of such a display screen. In the figure, 100 is a display screen, 101 is text screen data, 102 is graphic screen data, and 103 is a cursor. Figure 3
The state of (a) is a state before screen scrolling, and the position of the cursor 103 is also on the left side of the screen. And
The state from FIG. 3A to FIG.
In the state of S4, in this case, the position of the cursor 103 is moved to the right, and the graphic screen data 10
2 is displayed as it is.

【0016】上記ステップS4において、カーソル位置
が表示域内ではなかった場合、即ち、図3(b)の状態
からカーソル103を更に右に移動させた場合、表示制
御手段34は、グラフィック画面が消去中か否かを、消
去フラグ10Bに基づき判定する(ステップS5)。こ
の判定の結果、グラフィック画面が表示中であった場合
は、グラフィック画面の消去を行うようグラフィック画
面表示手段33に指示し、また、消去フラグをONに設
定する(ステップS6)。また、グラフィック画面が消
去中であった場合は、そのままテキスト画面をスクロー
ルするようテキスト画面表示手段32に対して指示を行
う(ステップS7)。
In step S4, if the cursor position is not within the display area, that is, if the cursor 103 is moved further to the right from the state of FIG. 3B, the display control means 34 is erasing the graphic screen. Whether or not it is determined based on the erase flag 10B (step S5). If the result of this determination is that the graphic screen is being displayed, the graphic screen display means 33 is instructed to erase the graphic screen, and the erase flag is set to ON (step S6). If the graphic screen is being erased, the text screen display means 32 is instructed to scroll the text screen as it is (step S7).

【0017】このような処理による表示例が図3(c)
に示す状態である。図示のように、図3(b)の状態か
ら表示位置が一文字分右に移動し、かつグラフィック画
面データ102が消去されている。従って、スクロール
対応キーを連続して押下している間は、ステップS1〜
S7の処理を繰り返すことになり、テキスト画面のみが
移動する。これが図3(d)に示す状態である。
A display example by such processing is shown in FIG.
Is the state shown in. As shown, the display position has moved to the right by one character from the state of FIG. 3B, and the graphic screen data 102 has been deleted. Therefore, while the scroll-compatible key is continuously pressed, steps S1 to S1
Since the process of S7 is repeated, only the text screen moves. This is the state shown in FIG.

【0018】一方、スクロール対応キーが押下されなく
なると、連続押下認識手段31は、連続押下が解除され
たと判定する。即ち、ステップS1においてキーボード
バッファから読み込んだコードが、スクロール対応キー
のコードではない場合、あるいは何もコードがなかった
場合、ステップS2におけるスクロール対応キーの判定
は“NO”となり、ステップS8に移行する。
On the other hand, when the scroll-compatible key is no longer pressed, the continuous press recognition means 31 determines that the continuous press has been released. That is, when the code read from the keyboard buffer in step S1 is not the code of the scroll corresponding key or there is no code, the determination of the scroll corresponding key in step S2 becomes "NO", and the process proceeds to step S8. .

【0019】ステップS8では、表示制御手段34は、
移動フラグ10AがONか否かを判定し、ONでなけれ
ば押下されたキーに対応した処理を行う。また、移動フ
ラグ10AがONであった場合は、カーソル位置が表示
域内であるかを判定する(ステップS9)。ここで、表
示域外であった場合は、グラフィック画面が消去されて
いるため、グラフィック画面を表示するようグラフィッ
ク画面表示手段33に対して指示を行い、かつ消去フラ
グ10BをOFFに設定する(ステップS10)。その
後は、移動フラグ10AもOFFとし(ステップS1
1)、ステップS1に戻る。これが、図3(e)に示す
状態であり、テキスト画面データ101における右寄り
のデータが表示されていると共に、グラフィック画面デ
ータ102も表示されている。
In step S8, the display control means 34
It is determined whether or not the movement flag 10A is ON, and if it is not ON, processing corresponding to the pressed key is performed. When the movement flag 10A is ON, it is determined whether the cursor position is within the display area (step S9). If it is outside the display area, the graphic screen has been erased, so the graphic screen display means 33 is instructed to display the graphic screen and the erase flag 10B is set to OFF (step S10). ). After that, the movement flag 10A is also turned off (step S1).
1) and returns to step S1. This is the state shown in FIG. 3E, in which the data on the right side of the text screen data 101 is displayed, and the graphic screen data 102 is also displayed.

【0020】また、ステップS9において、カーソル位
置が表示域内であった場合は、グラフィック画面データ
102も表示画面100上に表示されている状態である
ため、そのままステップS11で移動フラグ10AをO
FFに設定し、ステップS1に戻る。
If the cursor position is within the display area in step S9, the graphic screen data 102 is also displayed on the display screen 100. Therefore, the movement flag 10A is set to 0 in step S11.
Set to FF and return to step S1.

【0021】尚、上記実施例では表示画面100のスク
ロールをカーソル103の移動キーによって行う場合を
説明したが、カーソル103位置とは無関係に画面移動
させるスクロールあるいは上下方向へのスクロールの場
合は改行キー(CRキー)等であっても同様に行うこと
ができる。
In the above embodiment, the case where the scroll of the display screen 100 is performed by the movement key of the cursor 103 has been described. The same can be done with (CR key) or the like.

【0022】[0022]

【発明の効果】以上説明したように、本発明の画面スク
ロール方法によれば、テキスト画面とグラフィック画面
が混在した表示画面をスクロールする場合、グラフィッ
ク画面を消去してテキスト画面のみをスクロールさせ、
グラフィック画面はスクロールの指示が停止した時点で
表示するようにしたので、スクロールを高速に行うこと
ができると共に、スクロール時の画面のちらつきも減少
させることができ、その結果ユーザインタフェースの向
上を図ることができる。
As described above, according to the screen scrolling method of the present invention, when scrolling a display screen in which a text screen and a graphic screen are mixed, the graphic screen is erased and only the text screen is scrolled.
Since the graphic screen is displayed when the scrolling instruction is stopped, the scrolling can be performed at high speed and the flicker of the screen during scrolling can be reduced, resulting in improvement of the user interface. You can

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

【図1】本発明の画面スクロール方法を説明するための
のフローチャートである。
FIG. 1 is a flow chart for explaining a screen scroll method of the present invention.

【図2】本発明の画面スクロール方法を実施するための
システム構成を示すブロック図である。
FIG. 2 is a block diagram showing a system configuration for implementing the screen scrolling method of the present invention.

【図3】本発明の画面スクロール方法における表示画面
のスクロール状態を示す説明図である。
FIG. 3 is an explanatory diagram showing a scrolling state of a display screen in the screen scrolling method of the present invention.

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

1 表示部 2 キーボード 3 制御部 31 連続押下認識手段 32 テキスト画面表示手段 33 グラフィック画面表示手段 34 表示制御手段 10A 移動フラグ 10B 消去フラグ DESCRIPTION OF SYMBOLS 1 display part 2 keyboard 3 control part 31 continuous pressing recognition means 32 text screen display means 33 graphic screen display means 34 display control means 10A movement flag 10B deletion flag

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 テキストデータとグラフィックデータが
混在したデータを表示し、この表示画面のスクロールを
行う画面スクロール方法において、 スクロールが指示された場合は、グラフィック画面を消
去して、テキスト画面のみスクロールさせ、グラフィッ
ク画面は、スクロールの指示が停止した時点で表示する
ことを特徴とする画面スクロール方法。
1. A screen scroll method for displaying data in which text data and graphic data are mixed and scrolling the display screen. When scrolling is instructed, the graphic screen is erased and only the text screen is scrolled. The screen scroll method is characterized in that the graphic screen is displayed when the scroll instruction is stopped.
JP5301045A 1993-11-05 1993-11-05 Method for scrolling picture Pending JPH07129362A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5301045A JPH07129362A (en) 1993-11-05 1993-11-05 Method for scrolling picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5301045A JPH07129362A (en) 1993-11-05 1993-11-05 Method for scrolling picture

Publications (1)

Publication Number Publication Date
JPH07129362A true JPH07129362A (en) 1995-05-19

Family

ID=17892201

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5301045A Pending JPH07129362A (en) 1993-11-05 1993-11-05 Method for scrolling picture

Country Status (1)

Country Link
JP (1) JPH07129362A (en)

Similar Documents

Publication Publication Date Title
JPH0421197B2 (en)
KR0132554B1 (en) System and method for scrolling control
JPH07129550A (en) Document processor
JP2506120B2 (en) Image display method
JPS625293A (en) Window display control system
JPH07129362A (en) Method for scrolling picture
JP2783472B2 (en) Information processing device
JP2635656B2 (en) Display control method
JPH03256116A (en) Information processing device and menu display method
JPH0470925A (en) Help message display system
JPH05108300A (en) Mouse cursor display system
JPH05298377A (en) Input history information processing device
JP2781773B2 (en) LCD touch panel device
JPH03246591A (en) Method and device for display control
JPH0535682A (en) Information memory
JPH07110747A (en) Data display method
JPH08147301A (en) Display method for document processor
JP3038691B2 (en) Window moving device
JPH01307818A (en) Conversational data display system
JPH07160464A (en) Display controller
JPH01287723A (en) Key input information display device
JPH04149632A (en) document creation device
JPH01200393A (en) Image controller
JPH0193812A (en) System for displaying help screen
JPH053007B2 (en)