git-svn-id: https://svn.webkit.org/repository/webkit/trunk@14974 268f45cc-cd09-0410...
authorkdecker <kdecker@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 Jun 2006 17:48:14 +0000 (17:48 +0000)
committerkdecker <kdecker@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 Jun 2006 17:48:14 +0000 (17:48 +0000)
WebKitTools/ChangeLog
WebKitTools/Drosera/Images/glossyHeaderPressed.png [new file with mode: 0644]
WebKitTools/Drosera/debugger.html
WebKitTools/Drosera/debugger.js

index ae4e34f4a1dcf789828707b97a9ecf835a5d2993..82d862061b7d9860e0ec6ce5fe019cabf857a98e 100644 (file)
@@ -1,3 +1,10 @@
+2006-06-22  Kevin Decker         <kdecker@apple.com>
+
+        Reviewed by Anders.
+
+        - Added pressed column header image.
+        - Made column headers behave more like Xcode.
+
 2006-06-22  Timothy Hatcher  <timothy@apple.com>
 
         Reviewed by Kevin Decker.
diff --git a/WebKitTools/Drosera/Images/glossyHeaderPressed.png b/WebKitTools/Drosera/Images/glossyHeaderPressed.png
new file mode 100644 (file)
index 0000000..6b0dd60
Binary files /dev/null and b/WebKitTools/Drosera/Images/glossyHeaderPressed.png differ
index f2454001aa83bdc74a43463ad4639d145cd0e31c..3060b32f9f323d7e6ede88653385ede48fe70e1a 100644 (file)
@@ -44,7 +44,7 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 <div id="leftPane">
 <div id="stackframe">
 <table id="stackframeTableHeader">
-<tr class="column"><th class="stackNumber">#</th><th>Function</th><th class="scrollCorner"></th></tr>
+<tr class="column"><th class="stackNumber" onmousedown="headerMouseDown(this);" onmouseup="headerMouseUp(this);" onmouseout="headerMouseOut(this);">#</th><th onmousedown="headerMouseDown(this);" onmouseup="headerMouseUp(this);" onmouseout="headerMouseOut(this);">Function</th><th class="scrollCorner"></th></tr>
 </table>
 <div id="stackframeBody">
 <div class="infoBackground"></div>
@@ -56,7 +56,7 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 <div id="infoDivider"></div>
 <div id="variables">
 <table id="variablesTableHeader">
-<tr class="column"><th class="variable">Variable</th><th>Value</th><th class="scrollCorner"></th></tr>
+<tr class="column"><th class="variable" onmousedown="headerMouseDown(this);" onmouseup="headerMouseUp(this);" onmouseout="headerMouseOut(this);">Variable</th><th onmousedown="headerMouseDown(this);" onmouseup="headerMouseUp(this);" onmouseout="headerMouseOut(this);">Value</th><th class="scrollCorner"></th></tr>
 </table>
 <div id="variablesBody">
 <div class="infoBackground"></div>
index 92d70e9a9ecb6cddc5d4ea898fe13d5712867e88..a7314dc0b5156f0efd4a2a870eee1c5f4aa18425 100644 (file)
@@ -49,6 +49,19 @@ function keyPressed(event) {
     else if (event.charCode == 115) step();
 }
 
+
+function headerMouseDown(element) {
+    element.style.background = "url(glossyHeaderPressed.png) repeat-x";
+}
+
+function headerMouseUp(element) {
+    element.style.background = "url(glossyHeader.png) repeat-x";
+}
+
+function headerMouseOut(element) {
+    element.style.background = "url(glossyHeader.png) repeat-x";
+}
+
 function dividerDragStart(element, dividerDrag, dividerDragEnd, event) {
     element.dragging = true;
     element.dragLastX = event.clientX + window.scrollX;