| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2006, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2004, 2006, 2008 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 float imageScaleFactor() const { return m_imageScaleFactor; } | 112 float imageScaleFactor() const { return m_imageScaleFactor; } |
| 113 | 113 |
| 114 private: | 114 private: |
| 115 Type m_type; | 115 Type m_type; |
| 116 RefPtr<Image> m_image; | 116 RefPtr<Image> m_image; |
| 117 IntPoint m_hotSpot; | 117 IntPoint m_hotSpot; |
| 118 float m_imageScaleFactor; | 118 float m_imageScaleFactor; |
| 119 }; | 119 }; |
| 120 | 120 |
| 121 IntPoint determineHotSpot(Image*, const IntPoint& specifiedHotSpot); | 121 IntPoint determineHotSpot(Image*, const IntPoint& specifiedHotSpot); |
| 122 Cursor rasterizeSVGCursor(const Cursor&, float imageScaleFactor); |
| 122 | 123 |
| 123 const Cursor& pointerCursor(); | 124 const Cursor& pointerCursor(); |
| 124 const Cursor& crossCursor(); | 125 const Cursor& crossCursor(); |
| 125 const Cursor& handCursor(); | 126 const Cursor& handCursor(); |
| 126 const Cursor& moveCursor(); | 127 const Cursor& moveCursor(); |
| 127 const Cursor& iBeamCursor(); | 128 const Cursor& iBeamCursor(); |
| 128 const Cursor& waitCursor(); | 129 const Cursor& waitCursor(); |
| 129 const Cursor& helpCursor(); | 130 const Cursor& helpCursor(); |
| 130 const Cursor& eastResizeCursor(); | 131 const Cursor& eastResizeCursor(); |
| 131 const Cursor& northResizeCursor(); | 132 const Cursor& northResizeCursor(); |
| (...skipping 28 matching lines...) Expand all Loading... |
| 160 const Cursor& zoomInCursor(); | 161 const Cursor& zoomInCursor(); |
| 161 const Cursor& zoomOutCursor(); | 162 const Cursor& zoomOutCursor(); |
| 162 const Cursor& copyCursor(); | 163 const Cursor& copyCursor(); |
| 163 const Cursor& noneCursor(); | 164 const Cursor& noneCursor(); |
| 164 const Cursor& grabCursor(); | 165 const Cursor& grabCursor(); |
| 165 const Cursor& grabbingCursor(); | 166 const Cursor& grabbingCursor(); |
| 166 | 167 |
| 167 } // namespace WebCore | 168 } // namespace WebCore |
| 168 | 169 |
| 169 #endif // Cursor_h | 170 #endif // Cursor_h |
| OLD | NEW |