[ Previous | Next | Contents | Glossary | Home | Search ]
Motif and CDE 2.1 Style Guide Certification Checklist



Cursor

[ ]
When using an explicit focus policy, use an element cursor on a control to indicate focus emphasis, unless a cursor is visible on some element within the control.

[ ]
Use a text cursor at the appropriate point when a control is in a state where characters typed by the user may be inserted in the control or in which characters displayed within the control may be selected.

[ ]
Use a graphics cursor in a control when keyboard users need to be able to place elements at specific (x,y) positions or to select elements within an arbitrary rectangle.

[ ]
Use an element cursor on a control to indicate focus emphasis if a cursor is displayed within that control but is not visible because it is clipped or scrolled out of view.

[ ]
A control that uses a text or graphics cursor must keep track of the cursor position even when the control does not have focus.

[ ]
When the user clicks the SELECT button at a legitimate cursor position within a control that uses keyboard navigation to move the cursor, move the cursor to the location at which SELECT was clicked.

[ ]
When the user presses Ctrl SELECT at a legitimate cursor position within a control that uses keyboard navigation to move the cursor, move the cursor to the location at which SELECT was pressed, but do not perform any other action, unless pressing Ctrl SELECT already has a predefined meaning in that control.

[ ]
Text and graphics cursors should not track the pointer; they should only move via keyboard navigation or when a mouse button is pressed, even when in a window that uses an implicit focus policy.

[ ]
An element cursor used within a control (other than a spring-sensitive control) should not track the pointer when in a window that uses an explicit focus policy.

[ ]
When using keyboard navigation, do not skip over an element solely because it is obscured by another window or by an icon in the workspace.

[ ]
If a control keeps track of a cursor position within the control even when the control does not have focus, do one of the following:

  1. Make the cursor more visible when the control has focus.

  2. Place an element cursor on the control as a whole when it has focus.

  3. [ ]
    If a control hides a cursor but keeps track of its position within the control when the control does not have focus, then when the control gains focus, show the cursor at the position it was in (relative to the underlying data) when the control last had focus, unless the application has changed the data or cursor position in the meantime.

    [ ]
    Within a selection scope that supports add mode and normal mode, change the appearance of the cursor, depending upon the mode. In particular, when an element cursor is used, draw a solid box around the element in normal mode and a dashed box around the element in add mode.

    [ ]
    Make sure that a text or graphics cursor used in a control is clearly distinguishable from the shape of the pointer when it is in that control.

    [ ]
    To make a cursor more visible when the control containing it has focus, use one of the following methods:

    1. Darken the cursor when the control has focus and dim the cursor when the control does not have focus.

    2. Use a blinking cursor when the control has focus and use a static cursor when the control does not have focus.

    3. Show the cursor when the control has focus and hide the cursor when the control does not have focus (except when the cursor is being used to show interacted emphasis).

    4. [ ]

      When insert mode is being used, display a text cursor as a vertical bar or I-beam at the cursor position.

      [ ]
      The size of the I-beam cursor should be proportional to the current font.

      [ ]

      When replace mode is being used, use a block or underline to make the text cursor appear to be displayed on a character, though it actually is positioned immediately before that character.


      [ Previous | Next | Contents | Glossary | Home | Search ]