Skip to content

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

Open
@processing-bot

Description

@processing-bot

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions