KiCad PCB EDA Suite
DIALOG_IMAGE_EDITOR Class Reference

#include <dialog_image_editor.h>

Inheritance diagram for DIALOG_IMAGE_EDITOR:

Public Member Functions

 DIALOG_IMAGE_EDITOR (wxWindow *aParent, BITMAP_BASE *aItem)
 
 ~DIALOG_IMAGE_EDITOR ()
 
void TransferToImage (BITMAP_BASE *aItem)
 Function TransferToImage copy edited image to aItem. More...
 

Private Member Functions

void OnGreyScaleConvert (wxCommandEvent &event) override
 
void OnRedrawPanel (wxPaintEvent &event) override
 
bool TransferDataFromWindow () override
 
bool CheckValues ()
 

Private Attributes

BITMAP_BASEm_workingImage
 

Detailed Description

Definition at line 35 of file dialog_image_editor.h.

Constructor & Destructor Documentation

◆ DIALOG_IMAGE_EDITOR()

DIALOG_IMAGE_EDITOR::DIALOG_IMAGE_EDITOR ( wxWindow *  aParent,
BITMAP_BASE aItem 
)

◆ ~DIALOG_IMAGE_EDITOR()

DIALOG_IMAGE_EDITOR::~DIALOG_IMAGE_EDITOR ( )
inline

Definition at line 42 of file dialog_image_editor.h.

42{ delete m_workingImage; }
BITMAP_BASE * m_workingImage

References m_workingImage.

Member Function Documentation

◆ CheckValues()

bool DIALOG_IMAGE_EDITOR::CheckValues ( )
private

◆ OnGreyScaleConvert()

void DIALOG_IMAGE_EDITOR::OnGreyScaleConvert ( wxCommandEvent &  event)
overrideprivate

◆ OnRedrawPanel()

void DIALOG_IMAGE_EDITOR::OnRedrawPanel ( wxPaintEvent &  event)
overrideprivate

◆ TransferDataFromWindow()

bool DIALOG_IMAGE_EDITOR::TransferDataFromWindow ( )
overrideprivate

◆ TransferToImage()

void DIALOG_IMAGE_EDITOR::TransferToImage ( BITMAP_BASE aItem)

Function TransferToImage copy edited image to aItem.

Member Data Documentation

◆ m_workingImage

BITMAP_BASE* DIALOG_IMAGE_EDITOR::m_workingImage
private

Definition at line 38 of file dialog_image_editor.h.

Referenced by ~DIALOG_IMAGE_EDITOR().


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