summaryrefslogtreecommitdiffstats
path: root/webkit/build
diff options
context:
space:
mode:
authorbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-06 17:03:15 +0000
committerbrettw@google.com <brettw@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-06 17:03:15 +0000
commita8f643b401ec655adbe20d98dc862f168b25b17a (patch)
treea9a8d414ea876a71f8f5b5a9f8d72ee9b812f75a /webkit/build
parente32306c541215cf71e9464abc2f786f064dfff9a (diff)
downloadchromium_src-a8f643b401ec655adbe20d98dc862f168b25b17a.zip
chromium_src-a8f643b401ec655adbe20d98dc862f168b25b17a.tar.gz
chromium_src-a8f643b401ec655adbe20d98dc862f168b25b17a.tar.bz2
Add support for arbitrarily transformed Windows buttons text fields, and select boxes (but does not affect scroll bars). I created a helper class, ThemeHelperWin, which automatically wraps the logic necessary to do this. There are three modes: draw the form control normally, draw it at a different size (for scaling, just tell Windows it's a different size and don't transform the graphics coordinates), or arbitrary transforms (where it's drawn to an offscreen buffer and transformed by our graphics layer.
Review URL: http://codereview.chromium.org/9008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4890 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/build')
-rw-r--r--webkit/build/port/port.vcproj8
1 files changed, 8 insertions, 0 deletions
diff --git a/webkit/build/port/port.vcproj b/webkit/build/port/port.vcproj
index 7464c87..b18530a 100644
--- a/webkit/build/port/port.vcproj
+++ b/webkit/build/port/port.vcproj
@@ -974,6 +974,14 @@
RelativePath="..\..\port\platform\graphics\SkiaUtils.h"
>
</File>
+ <File
+ RelativePath="..\..\port\platform\graphics\ThemeHelperWin.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\..\port\platform\graphics\ThemeHelperWin.h"
+ >
+ </File>
<Filter
Name="svg"
>