mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
gui/dboxinfo: cleanup
This commit is contained in:
@@ -59,12 +59,6 @@
|
|||||||
#include <map>
|
#include <map>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
#include <ctype.h>
|
|
||||||
|
|
||||||
static const int FSHIFT = 16; /* nr of bits of precision */
|
|
||||||
#define FIXED_1 (1<<FSHIFT) /* 1.0 as fixed-point */
|
|
||||||
#define LOAD_INT(x) ((x) >> FSHIFT)
|
|
||||||
#define LOAD_FRAC(x) LOAD_INT(((x) & (FIXED_1-1)) * 100)
|
|
||||||
|
|
||||||
CDBoxInfoWidget::CDBoxInfoWidget()
|
CDBoxInfoWidget::CDBoxInfoWidget()
|
||||||
{
|
{
|
||||||
@@ -78,7 +72,6 @@ CDBoxInfoWidget::CDBoxInfoWidget()
|
|||||||
y = 0;
|
y = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int CDBoxInfoWidget::exec(CMenuTarget* parent, const std::string &)
|
int CDBoxInfoWidget::exec(CMenuTarget* parent, const std::string &)
|
||||||
{
|
{
|
||||||
if (parent)
|
if (parent)
|
||||||
|
Reference in New Issue
Block a user