3Depict
|
#include "propertyGridUpdater.h"
#include "wxcommon.h"
#include "common/stringFuncs.h"
#include "common/basics.h"
#include <wx/propgrid/advprops.h>
#include <wx/numformatter.h>
#include <vector>
#include <string>
Functions | |
void | updateFilterPropertyGrid (wxPropertyGrid *g, const Filter *f, const string &stateString) |
void | updateCameraPropertyGrid (wxPropertyGrid *g, const Camera *c) |
std::string | getPropValueFromEvent (wxPropertyGridEvent &event) |
std::string getPropValueFromEvent | ( | wxPropertyGridEvent & | event | ) |
References ColourRGBA::rgbString(), and stream_cast().
Referenced by PrefDialog::OnFilterCellChange(), and MainWindowFrame::OnGridFilterPropertyChange().
void updateCameraPropertyGrid | ( | wxPropertyGrid * | g, |
const Camera * | c | ||
) |
References ASSERT, ColourRGBA::b(), boolStrDec(), choiceStringToVector(), CameraProperty::data, ColourRGBA::g(), Camera::getProperties(), CameraProperty::key, CameraProperty::name, ColourRGBA::parse(), PROPERTY_TYPE_BOOL, PROPERTY_TYPE_CHOICE, PROPERTY_TYPE_COLOUR, PROPERTY_TYPE_INTEGER, PROPERTY_TYPE_POINT3D, PROPERTY_TYPE_REAL, PROPERTY_TYPE_STRING, CameraProperties::props, ColourRGBA::r(), stream_cast(), and CameraProperty::type.
Referenced by VisController::updateCameraPropGrid().
void updateFilterPropertyGrid | ( | wxPropertyGrid * | g, |
const Filter * | f, | ||
const string & | stateString | ||
) |
References ASSERT, ColourRGBA::b(), boolStrDec(), choiceStringToVector(), FilterProperty::data, FilterProperty::dataSecondary, ColourRGBA::g(), FilterPropGroup::getGroup(), FilterPropGroup::getGroupTitle(), Filter::getProperties(), FilterProperty::helpText, FilterProperty::key, FilterProperty::name, FilterPropGroup::numGroups(), ColourRGBA::parse(), PROPERTY_TYPE_BOOL, PROPERTY_TYPE_CHOICE, PROPERTY_TYPE_COLOUR, PROPERTY_TYPE_DIR, PROPERTY_TYPE_FILE, PROPERTY_TYPE_INTEGER, PROPERTY_TYPE_POINT3D, PROPERTY_TYPE_REAL, PROPERTY_TYPE_STRING, ColourRGBA::r(), stream_cast(), and FilterProperty::type.
Referenced by MainWindowFrame::OnComboFilter(), ExportAnimationDialog::OnFilterTreeCtrlSelChanged(), PrefDialog::OnResetFilterAllButton(), StashDialog::OnTreeSelChange(), and VisController::updateFilterPropGrid().