tools
rcdiscover-gui
logo.h
Go to the documentation of this file.
1
/*
2
* Roboception GmbH
3
* Munich, Germany
4
* www.roboception.com
5
*
6
* Copyright (c) 2024 Roboception GmbH
7
* All rights reserved
8
*
9
* Author: Heiko Hirschmueller
10
*/
11
12
#ifndef RC_LOGO_H
13
#define RC_LOGO_H
14
15
#include <FL/Fl.H>
16
#include <FL/Fl_Box.H>
17
#include <FL/Fl_Image.H>
18
19
class
Logo
:
public
Fl_Box
20
{
21
public
:
22
23
Logo
(
int
x,
int
y,
int
w,
int
h);
24
~Logo
();
25
26
void
startSpinning
();
27
void
stopSpinning
();
28
void
nextRotation
();
29
30
private
:
31
32
Fl_RGB_Image *
copyScaledRotated
(
const
Fl_RGB_Image *
image
,
int
width,
int
height,
double
a);
33
34
void
draw
();
35
36
Fl_RGB_Image *
image_orig
;
37
Fl_RGB_Image *
image
;
38
39
bool
spinning
;
40
double
rotation
;
41
};
42
43
#endif
Logo::rotation
double rotation
Definition:
logo.h:40
Logo
Definition:
logo.h:19
Logo::copyScaledRotated
Fl_RGB_Image * copyScaledRotated(const Fl_RGB_Image *image, int width, int height, double a)
Definition:
logo.cc:121
Logo::draw
void draw()
Definition:
logo.cc:91
Logo::image
Fl_RGB_Image * image
Definition:
logo.h:37
Logo::nextRotation
void nextRotation()
Definition:
logo.cc:81
Logo::image_orig
Fl_RGB_Image * image_orig
Definition:
logo.h:36
Logo::startSpinning
void startSpinning()
Definition:
logo.cc:55
Logo::Logo
Logo(int x, int y, int w, int h)
Definition:
logo.cc:36
Logo::stopSpinning
void stopSpinning()
Definition:
logo.cc:66
Logo::~Logo
~Logo()
Definition:
logo.cc:47
Logo::spinning
bool spinning
Definition:
logo.h:39
rcdiscover
Author(s): Heiko Hirschmueller
, Raphael Schaller
autogenerated on Thu Aug 1 2024 02:55:56