• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdemultimedia API Reference
  • KDE Home
  • Contact Us
 

libkcompactdisc

  • sources
  • kde-4.14
  • kdemultimedia
  • libkcompactdisc
Macros
wmlib_interface.cpp File Reference
#include "wmlib_interface.h"
#include <kdebug.h>
#include <klocale.h>
#include "wmlib/include/wm_cdrom.h"
#include "wmlib/include/wm_cdtext.h"
#include "wmlib/include/wm_helpers.h"
#include "wmlib_interface.moc"
Include dependency graph for wmlib_interface.cpp:

Go to the source code of this file.

Macros

#define PERCENT2RANGE(x, min, max)   ((((x) * ((max) - (min))) / 100 ) + (min))
 
#define RANGE2PERCENT(x, min, max)   (((x) - (min)) * 100)/ ((max) - (min))
 
#define TRACK_VALID(track)   ((track) && (track <= m_tracks))
 

Macro Definition Documentation

#define PERCENT2RANGE (   x,
  min,
  max 
)    ((((x) * ((max) - (min))) / 100 ) + (min))

Definition at line 137 of file wmlib_interface.cpp.

#define RANGE2PERCENT (   x,
  min,
  max 
)    (((x) - (min)) * 100)/ ((max) - (min))

Definition at line 136 of file wmlib_interface.cpp.

#define TRACK_VALID (   track)    ((track) && (track <= m_tracks))

Definition at line 35 of file wmlib_interface.cpp.

This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:28:18 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

libkcompactdisc

Skip menu "libkcompactdisc"
  • Main Page
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdemultimedia API Reference

Skip menu "kdemultimedia API Reference"
  • libkcddb
  • libkcompactdisc

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal