Glimmr Form Fields

version 1/101201 by Erik Temple

  • Home page
  • Beginning
  • Previous
  • Next



  • Section - Input loop event handling rules
    [These rules hook into the functionality provided by the Glulx input loops extension. They allow us to "pre-handle" input, flagging it as non-char input (which is what the field char input loop is primarily looking for), and then delay the handling of the event until we bounce back to the VM_ReadKeyboard input loop.]

    First input loop event-handling rule for a mouse-event when the current input loop is field char input (this is the delay mouse handling during field input rule):
        now keystroke-code is the null char;
        delay input handling.

    First input loop event-handling rule for a hyperlink-event when the current input loop is field char input (this is the delay hyperlink handling during field input rule):
        now keystroke-code is the null char;
        delay input handling.

    First input loop event-handling rule for a timer-event when the current input loop is field char input (this is the delay timer handling during field input rule):
        now keystroke-code is the null char;
        delay input handling.