diff options
author | pescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7> | 2009-01-24 05:38:13 +0000 |
---|---|---|
committer | pescuma <pescuma@c086bb3d-8645-0410-b8da-73a8550f86e7> | 2009-01-24 05:38:13 +0000 |
commit | de4ef8a65afd0c38f8bbdfcb3b90ff82a98d1483 (patch) | |
tree | feefeaeb3734eaebdb5872609606edc84d6f8fa3 /Plugins/skins/SkinLib/V8Templates.cpp | |
parent | be94a568ef65120465b49f5c6db90cd4ec3c3eb2 (diff) |
skins: fix for floats and added valign (not used yet)
git-svn-id: http://pescuma.googlecode.com/svn/trunk/Miranda@133 c086bb3d-8645-0410-b8da-73a8550f86e7
Diffstat (limited to 'Plugins/skins/SkinLib/V8Templates.cpp')
-rw-r--r-- | Plugins/skins/SkinLib/V8Templates.cpp | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/Plugins/skins/SkinLib/V8Templates.cpp b/Plugins/skins/SkinLib/V8Templates.cpp index dba4a14..4900e13 100644 --- a/Plugins/skins/SkinLib/V8Templates.cpp +++ b/Plugins/skins/SkinLib/V8Templates.cpp @@ -36,9 +36,18 @@ Handle<ObjectTemplate> V8Templates::getGlobalTemplate() return globalTemplate;
Handle<ObjectTemplate> templ = ObjectTemplate::New();
- templ->Set(String::New("LEFT"), String::New("LEFT"));
- templ->Set(String::New("CENTER"), String::New("CENTER"));
- templ->Set(String::New("RIGHT"), String::New("RIGHT"));
+ templ->Set(String::New("HORIZONTAL_ALIGN_LEFT"), String::New("HORIZONTAL_ALIGN_LEFT"));
+ templ->Set(String::New("LEFT"), String::New("HORIZONTAL_ALIGN_LEFT"));
+ templ->Set(String::New("HORIZONTAL_ALIGN_CENTER"), String::New("HORIZONTAL_ALIGN_CENTER"));
+ templ->Set(String::New("CENTER"), String::New("HORIZONTAL_ALIGN_CENTER"));
+ templ->Set(String::New("HORIZONTAL_ALIGN_RIGHT"), String::New("HORIZONTAL_ALIGN_RIGHT"));
+ templ->Set(String::New("RIGHT"), String::New("HORIZONTAL_ALIGN_RIGHT"));
+ templ->Set(String::New("VERTICAL_ALIGN_TOP"), String::New("VERTICAL_ALIGN_TOP"));
+ templ->Set(String::New("TOP"), String::New("VERTICAL_ALIGN_TOP"));
+ templ->Set(String::New("VERTICAL_ALIGN_CENTER"), String::New("VERTICAL_ALIGN_CENTER"));
+ templ->Set(String::New("CENTER"), String::New("VERTICAL_ALIGN_CENTER"));
+ templ->Set(String::New("VERTICAL_ALIGN_BOTTOM"), String::New("VERTICAL_ALIGN_BOTTOM"));
+ templ->Set(String::New("BOTTOM"), String::New("VERTICAL_ALIGN_BOTTOM"));
templ->Set(String::New("CHECKBOX"), String::New("CHECKBOX"));
templ->Set(String::New("NUMBER"), String::New("NUMBER"));
templ->Set(String::New("TEXT"), String::New("TEXT"));
|