OpenTTD Source: NewGrfDebugSpritePicker Struct Reference

OpenTTD Source 15.0-RC2

Data Fields
NewGrfDebugSpritePicker Struct Reference

Spritepicker of SpriteAligner. More...

`#include <newgrf_debug.h>`

## Data Fields
NewGrfDebugSpritePickerMode | mode
| Current state.
void * | clicked_pixel
| Clicked pixel (pointer to blitter buffer)
FlatSet< SpriteID > | sprites
| Sprites found.

## Detailed Description

Spritepicker of SpriteAligner.

Definition at line 26 of file newgrf_debug.h.

## Field Documentation

## ◆ clicked_pixel

void* NewGrfDebugSpritePicker::clicked_pixel

Clicked pixel (pointer to blitter buffer)

Definition at line 28 of file newgrf_debug.h.

Referenced by GfxBlitter(), and HandleMouseEvents().

## ◆ mode

NewGrfDebugSpritePickerMode NewGrfDebugSpritePicker::mode

Current state.

Definition at line 27 of file newgrf_debug.h.

Referenced by SpriteAlignerWindow::DrawWidget(), GfxBlitter(), HandleMouseEvents(), SpriteAlignerWindow::OnClick(), and UpdateWindows().

## ◆ sprites

FlatSet<SpriteID> NewGrfDebugSpritePicker::sprites

Sprites found.

Definition at line 29 of file newgrf_debug.h.

Referenced by SpriteAlignerWindow::DrawWidget(), GfxBlitter(), HandleMouseEvents(), SpriteAlignerWindow::OnClick(), and SpriteAlignerWindow::OnInvalidateData().

The documentation for this struct was generated from the following file:

- src/newgrf_debug.h