processing / processing/processing-website

Surface methods should be replaced by new core methods in the reference

オープン
#335 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

Help Wanted Reference
主要言語
MDX
スター
90
フォーク
122
平均マージ
1時間 43分
マージ済み PR(30日)
3

説明

Processing 4 added new core functions to replace the surface methods as can be seen in the Beta 5 and Beta 7 release notes. These changes are also mentioned here https://github.com/processing/processing4/issues/53

The reference needs to be updated to reflect those updates:

  • windowResize(w, h) replaces surface.setSize(w, h)
  • windowResizable() replaces surface.setResizable() (reference)
  • windowMove(x, y) replaces surface.setLocation(x, y) (reference)
  • windowTitle() replaces surface.setTitle() (reference)
  • new windowResized() event handler
  • new windowMoved() event handler

In case you want to contribute to this task, here is how to edit the reference.

Note: surface methods are still backwards compatible but you are encouraged to use the new methods for future sketches

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

docs/reference.md と、setResizable、setLocation、setTitle にリンクされているリファレンスページから始めます。リファレンスを更新して、一覧にある6つのウィンドウメソッドとイベントハンドラーを説明し、その後、チェックリストのすべての項目が網羅され、legacy の surface メソッドが後方互換として識別されていることを確認します。

索引モデルが issue の本文から書いたものです。

評価

領域
documentation
issue の種類
ドキュメント
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
明確に書かれている
初心者へのやさしさ
48/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。