processing / processing/processing4

Need non-AWT ways to get display count, width, height, pixel density

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

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

主要言語
Java
スター
494
フォーク
183
平均マージ
4時間 39分
マージ済み PR(30日)
3

説明

Created by: benfry

We need either 1) an alternative/native method to make these work, or 2) a per-Surface version of them.

The second option is still problematic since we don't know what PSurface will be used when settings() is called. So either we need to start passing that to the command line, or do something more clever, i.e. once size() or fullScreen() is called, use the renderer to create an object that can handle these device settings on a per-surface type basis.

For now, displayWidth and displayHeight will be 0 when --disable-awt is used.

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

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

はじめの一歩

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

調査の方向性

まず、--disable-awt を使用したときに displayWidth、displayHeight、ピクセル密度がどのように扱われるかを追跡し、次に issue で言及されている size()、fullScreen()、renderer、PSurface のパスを調べます。完了の条件は、ディスプレイの寸法に対して 0 を返すのではなく、定義済みの非 AWT 実装または実用的な Per-Surface アプローチを提供することです。

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

評価

技術スタック
java
領域
desktop
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
30/100

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

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