#include "GUI/PrefsWindow.H"
#include "Component/ModelComponent.H"
#include "Component/ModelParam.H"
#include "GUI/XWinManaged.H"
#include "Image/Image.H"
#include "Image/Pixels.H"
#include "Image/DrawOps.H"
#include "Util/log.H"
#include "Util/sformat.H"
#include <X11/keysym.h>
Go to the source code of this file.
Classes | |
class | PrefItemMPNum< MP, T > |
Template class for numeric preference items based on OModelParam or NModelParam. More... | |
class | PrefItemMPStr |
Template class for non-numeric preference items based on OModelParam or NModelParam. More... | |
Defines | |
#define | HANDLE_NUM_PARAM_TYPE(T) |
Definition in file PrefsWindow.C.
#define HANDLE_NUM_PARAM_TYPE | ( | T | ) |
if (OModelParam<T>* p = dynamic_cast<OModelParam<T>*>(mp)) \ { \ new PrefItemMPNum<OModelParam<T>, T> \ (this, p, comp, \ /* takeOwnership = */ true); \ return; \ } \ if (NModelParam<T>* p = dynamic_cast<NModelParam<T>*>(mp)) \ { \ new PrefItemMPNum<NModelParam<T>, T> \ (this, p, comp, \ /* takeOwnership = */ true); \ return; \ }