From 6da5fdf741adb178eaafcd610ed61fbd9ff503d7 Mon Sep 17 00:00:00 2001 From: kohait Date: Tue, 17 Aug 2010 15:24:12 +0000 Subject: [PATCH] uppweb: AboutChameleon proper chameleonizing of own Ctrl git-svn-id: svn://ultimatepp.org/upp/trunk@2620 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- .../srcdoc.tpp/AboutChameleon$en-us.tpp | 230 ++++++++++++++++++ 1 file changed, 230 insertions(+) create mode 100644 uppsrc/CtrlCore/srcdoc.tpp/AboutChameleon$en-us.tpp diff --git a/uppsrc/CtrlCore/srcdoc.tpp/AboutChameleon$en-us.tpp b/uppsrc/CtrlCore/srcdoc.tpp/AboutChameleon$en-us.tpp new file mode 100644 index 000000000..e0e1361e8 --- /dev/null +++ b/uppsrc/CtrlCore/srcdoc.tpp/AboutChameleon$en-us.tpp @@ -0,0 +1,230 @@ +topic "Cameleon Rendering & Creating own chameleonized Ctrl's"; +[ $$0,0#00000000000000000000000000000000:Default] +[{_}%EN-US +[s0; [*R6 Cameleon Rendering `& Creating own chameleonized Ctrl`'s]&] +[s0; &] +[s0; [2 Ultimate`+`+ uses a key feature to yield almost identical look +on target platforms. It is called `'Chameleon`' and was meant +to be only a slim layer to resemble target platform look, but +passing time has evolved to a rich featured part of Ultimate`+`+. +Own custom Controls can be created quite fast, but often lack +the proper support for Chameleon thechnology, rendering an ugly +spot in your overall application, when it uses the other Ultimate`+`+ +standard controls, which are `'Chameleon aware`'. So here is +how you can extend / properly create a Ctrl derived Ultimate`+`+ +control with chamelon support.]&] +[s0;2 &] +[s0; [*2 1) define what you consider Style for your control]&] +[s0;2 &] +[s0; [2 In .h file]&] +[s0;C1 &] +[s0; [C1 struct Style : ChStyle