コード例 #1
0
  public Surface(ProtocolContext context) {
    this.context = context;
    init(context.getFbWidth(), context.getFbHeight());

    if (!context.getSettings().isViewOnly()) {
      setUserInputEnabled(true, context.getSettings().isConvertToAscii());
    }
    showCursor = context.getSettings().getMouseCursorTrack() != LocalPointer.HIDE;
  }