CFx SDK Documentation
2026 SP0
Loading...
Searching...
No Matches
SDK
CFx
commonui_inc
UI
FxUIImageView.h
Go to the documentation of this file.
1
//
2
// (C) Copyright 2005-2025 by Graebert GmbH.
3
//
4
// Permission to use, copy, modify, and distribute this software in
5
// object code form for any purpose and without fee is hereby granted,
6
// provided that the above copyright notice appears in all copies and
7
// that both that copyright notice and the limited warranty and
8
// restricted rights notice below appear in all supporting
9
// documentation.
10
//
11
// GRAEBERT PROVIDES THIS PROGRAM "AS IS" AND WITH ALL FAULTS.
12
// GRAEBERT SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTY OF
13
// MERCHANTABILITY OR FITNESS FOR A PARTICULAR USE. GRAEBERT GMBH
14
// DOES NOT WARRANT THAT THE OPERATION OF THE PROGRAM WILL BE
15
// UNINTERRUPTED OR ERROR FREE.
16
17
#pragma once
18
19
#include "
FxUIBaseView.h
"
20
24
25
class
CFxUIPainter
;
26
class
CFxUIPixmap
;
27
28
class
COMMONUI_API
CFxUIImageView
:
public
CFxUIBaseView
29
{
30
public
:
32
CFxUIImageView
();
33
35
~CFxUIImageView
();
36
42
const
CFxUIPixmap
*
pixmap
()
const
;
43
49
void
setPixmap
(
const
CFxUIPixmap
&
pixmap
);
50
56
CFxUIPainter
*
GetPainter
();
57
58
CFxUISignal
<
void
(
bool
)>&
clicked
();
59
CFxUISignal
<
void
(
bool
)>&
rightClicked
();
60
61
protected
:
62
70
virtual
void
paintEvent
(
CFxUIPaintEvent
* e );
71
};
COMMONUI_API
#define COMMONUI_API
Definition
FxCommonFramework.h:20
FxUIBaseView.h
CFxUIBaseView::CFxUIBaseView
CFxUIBaseView()
CFxUIImageView::GetPainter
CFxUIPainter * GetPainter()
CFxUIImageView::rightClicked
CFxUISignal< void(bool)> & rightClicked()
CFxUIImageView::~CFxUIImageView
~CFxUIImageView()
CFxUIImageView::clicked
CFxUISignal< void(bool)> & clicked()
CFxUIImageView::CFxUIImageView
CFxUIImageView()
CFxUIImageView::paintEvent
virtual void paintEvent(CFxUIPaintEvent *e)
CFxUIImageView::setPixmap
void setPixmap(const CFxUIPixmap &pixmap)
CFxUIImageView::pixmap
const CFxUIPixmap * pixmap() const
CFxUIPaintEvent
Definition
FxUIEvent.h:108
CFxUIPainter
Definition
FxUIPainter.h:51
CFxUIPixmap
Definition
FxUIPixmap.h:46
CFxUISignal
Definition
FxUISignal.h:72
void
typedef void(APIENTRYP PFNGLACTIVETEXTUREPROC)(GLenum texture)
Generated on Tue Apr 15 2025 11:29:57