From 9bbba24d1deafa8595005de4f5a4bdcff63fcde8 Mon Sep 17 00:00:00 2001 From: kohait Date: Sun, 10 Jul 2011 20:20:59 +0000 Subject: [PATCH] bazaar: BoostPyTest: exporting the various edit fields git-svn-id: svn://ultimatepp.org/upp/trunk@3633 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- bazaar/CtrlLibBoostPy/Button.cpp | 55 +++++++++ bazaar/CtrlLibBoostPy/ButtonOption.cpp | 43 +++++++ bazaar/CtrlLibBoostPy/CtrlCore.cpp | 5 + bazaar/CtrlLibBoostPy/CtrlLibBoostPy.cpp | 9 +- bazaar/CtrlLibBoostPy/CtrlLibBoostPy.h | 19 +++- bazaar/CtrlLibBoostPy/CtrlLibBoostPy.upp | 7 +- bazaar/CtrlLibBoostPy/EditCtrl.cpp | 32 ------ bazaar/CtrlLibBoostPy/EditDouble.cpp | 33 ++++++ bazaar/CtrlLibBoostPy/EditField.cpp | 138 +++++++++++++++++++++++ bazaar/CtrlLibBoostPy/EditInt.cpp | 33 ++++++ bazaar/CtrlLibBoostPy/EditInt64.cpp | 33 ++++++ bazaar/CtrlLibBoostPy/EditString.cpp | 26 +++++ bazaar/CtrlLibBoostPy/Option.cpp | 53 +++++++++ bazaar/CtrlLibBoostPy/Pusher.cpp | 43 ++++++- bazaar/CtrlLibBoostPy/Switch.cpp | 70 ++++++++++++ bazaar/CtrlLibBoostPy/template.cpp | 14 +++ bazaar/CtrlProp/CtrlProp.upp | 1 - bazaar/CtrlProp/CtrlPropCommon.cpp | 28 ----- bazaar/CtrlProp/CtrlPropCommon.h | 2 - bazaar/CtrlProp/CtrlPropEdit.cpp | 86 ++++++-------- bazaar/CtrlProp/CtrlPropEdit.h | 6 +- bazaar/RectCtrlTest/init | 5 + 22 files changed, 618 insertions(+), 123 deletions(-) create mode 100644 bazaar/CtrlLibBoostPy/EditDouble.cpp create mode 100644 bazaar/CtrlLibBoostPy/EditField.cpp create mode 100644 bazaar/CtrlLibBoostPy/EditInt.cpp create mode 100644 bazaar/CtrlLibBoostPy/EditInt64.cpp create mode 100644 bazaar/CtrlLibBoostPy/EditString.cpp create mode 100644 bazaar/CtrlLibBoostPy/template.cpp delete mode 100644 bazaar/CtrlProp/CtrlPropCommon.cpp create mode 100644 bazaar/RectCtrlTest/init diff --git a/bazaar/CtrlLibBoostPy/Button.cpp b/bazaar/CtrlLibBoostPy/Button.cpp index 56213d7b4..c337c7fb9 100644 --- a/bazaar/CtrlLibBoostPy/Button.cpp +++ b/bazaar/CtrlLibBoostPy/Button.cpp @@ -3,11 +3,66 @@ using namespace boost::python; NAMESPACE_UPP +class ButtonWrap : public Button, public wrapper