Skip to content

Commit

Permalink
YAY YAY IT IS WORKING
Browse files Browse the repository at this point in the history
  • Loading branch information
ialexi committed Apr 16, 2010
1 parent 922f4c1 commit 1d2ceb6
Show file tree
Hide file tree
Showing 23 changed files with 406 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apps/hedwig/resources/guide/touch.json

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions apps/hedwig/resources/main_page.js
Expand Up @@ -39,7 +39,17 @@ Hedwig.mainPage = SC.Page.design({
classNames: ["paper-view"],
theme: "paper",
childViews: "contentView topToolbar".w(),

// update master hidden status since we are doing this manually...
masterIsHidden: NO,
masterIsHiddenDidChange: function() {
console.error("MHDC");
this.topToolbar.set("masterIsHidden", this.get("masterIsHidden"));
}.observes("masterIsHidden"),

topToolbar: SC.ToolbarView.design(SC.Animatable, SC.FlowedLayout, {
masterIsHidden: NO,

layout: { top: 0, right: 0, left: 0, height: 44 },

style: {
Expand Down
92 changes: 92 additions & 0 deletions docs/build/articles/controls/button/touch.html
@@ -0,0 +1,92 @@
<html><head><title>Docs
</title><meta http-equiv: 'Content-Type' content="text/html; charset=utf-8" />
<style type="text/css">
body {
font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
margin: 0px;
margin-bottom:1em;
font-family: sans-serif;
font-size: 10px;
line-height:1.2;
}

.content { font-size: 14px; }

code {
font-family: Monaco, Inconsolata, Courier, fixed-width;
font-size: 12px;
}

pre code {
margin-right: 1em;
border: 1px solid #a0b0a0;
overflow-y: hidden;
overflow-x: auto;
background: #f5f9f5;
display:block;
padding: 1em;
}

a { text-decoration: none; color: rgb(50, 50, 155); }


.header {
background-color: rgb(38, 43, 50);
height: 60px;
padding-top:17px;
padding-bottom:17px;
padding-left:2em;
}

.header a.img {
float: left;
}

.header .here {
float:left;
margin-top:27px;
margin-left:5px;
color: rgb(200, 255, 200);
font-size: 25px;
}

.header span.here {
margin-top:34px;
font-size:15px;
color: white;
}

.header a.item {
float:right;
margin-top: 34px;
margin-right:10px;
color: white;
font-size:15px;
}

.header a.item:hover {
text-decoration: underline;
}

.content {
padding-top: 1em;
padding-left: 2em;
padding-right: 2em;
}

img { margin-left: auto; margin-right: auto; display: block; }


h1, h2, h3 { color: rgb(100, 155, 100); }

code .class { color: rgb(0, 0, 150); }
/*code .variable { color: rgb(10, 70, 10); }*/
code .comment { color: rgb(100, 150, 200); }
code .string { color: rgb(0, 100, 10); }
code .number { color: rgb(0, 0, 255); }
code .keyword, code .this { color: rgb(25, 110, 25); font-weight: bold; }
</style>
</head><body><div class="header"><a href="../../../index.html" class="img"><img src="../../../resources/logo.png" /></a><a href="../../../index.html" class="here">Documentation
</a><a href="../../../reference/index.html" class="item">SproutCore Reference
</a></div><div class="content"><h1>ButtonView Touch Support</h1>
</div><div class="footer"></div></body></html>
1 change: 1 addition & 0 deletions docs/build/articles/controls/button/touch.json
@@ -0,0 +1 @@
{"content":"<h1>ButtonView Touch Support</h1>","errors":[],"demos":{},"articleDirectory":"articles/controls/button/","outputDirectory":"build/","title":"ButtonView Touch Support"}
2 changes: 2 additions & 0 deletions docs/build/articles/controls/button/touch.md
@@ -0,0 +1,2 @@
ButtonView Touch Support
========================
92 changes: 92 additions & 0 deletions docs/build/articles/controls/scroll/touch.html
@@ -0,0 +1,92 @@
<html><head><title>Docs
</title><meta http-equiv: 'Content-Type' content="text/html; charset=utf-8" />
<style type="text/css">
body {
font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
margin: 0px;
margin-bottom:1em;
font-family: sans-serif;
font-size: 10px;
line-height:1.2;
}

.content { font-size: 14px; }

code {
font-family: Monaco, Inconsolata, Courier, fixed-width;
font-size: 12px;
}

pre code {
margin-right: 1em;
border: 1px solid #a0b0a0;
overflow-y: hidden;
overflow-x: auto;
background: #f5f9f5;
display:block;
padding: 1em;
}

a { text-decoration: none; color: rgb(50, 50, 155); }


.header {
background-color: rgb(38, 43, 50);
height: 60px;
padding-top:17px;
padding-bottom:17px;
padding-left:2em;
}

.header a.img {
float: left;
}

.header .here {
float:left;
margin-top:27px;
margin-left:5px;
color: rgb(200, 255, 200);
font-size: 25px;
}

.header span.here {
margin-top:34px;
font-size:15px;
color: white;
}

.header a.item {
float:right;
margin-top: 34px;
margin-right:10px;
color: white;
font-size:15px;
}

.header a.item:hover {
text-decoration: underline;
}

.content {
padding-top: 1em;
padding-left: 2em;
padding-right: 2em;
}

img { margin-left: auto; margin-right: auto; display: block; }


h1, h2, h3 { color: rgb(100, 155, 100); }

code .class { color: rgb(0, 0, 150); }
/*code .variable { color: rgb(10, 70, 10); }*/
code .comment { color: rgb(100, 150, 200); }
code .string { color: rgb(0, 100, 10); }
code .number { color: rgb(0, 0, 255); }
code .keyword, code .this { color: rgb(25, 110, 25); font-weight: bold; }
</style>
</head><body><div class="header"><a href="../../../index.html" class="img"><img src="../../../resources/logo.png" /></a><a href="../../../index.html" class="here">Documentation
</a><a href="../../../reference/index.html" class="item">SproutCore Reference
</a></div><div class="content"><h1>ScrollView Touch Support</h1>
</div><div class="footer"></div></body></html>
1 change: 1 addition & 0 deletions docs/build/articles/controls/scroll/touch.json
@@ -0,0 +1 @@
{"content":"<h1>ScrollView Touch Support</h1>","errors":[],"demos":{},"articleDirectory":"articles/controls/scroll/","outputDirectory":"build/","title":"ScrollView Touch Support"}
2 changes: 2 additions & 0 deletions docs/build/articles/controls/scroll/touch.md
@@ -0,0 +1,2 @@
ScrollView Touch Support
=========================
92 changes: 92 additions & 0 deletions docs/build/articles/touch/capturing.html
@@ -0,0 +1,92 @@
<html><head><title>Docs
</title><meta http-equiv: 'Content-Type' content="text/html; charset=utf-8" />
<style type="text/css">
body {
font-family: "Lucida Sans", "Lucida Grande", Verdana, Arial, sans-serif;
margin: 0px;
margin-bottom:1em;
font-family: sans-serif;
font-size: 10px;
line-height:1.2;
}

.content { font-size: 14px; }

code {
font-family: Monaco, Inconsolata, Courier, fixed-width;
font-size: 12px;
}

pre code {
margin-right: 1em;
border: 1px solid #a0b0a0;
overflow-y: hidden;
overflow-x: auto;
background: #f5f9f5;
display:block;
padding: 1em;
}

a { text-decoration: none; color: rgb(50, 50, 155); }


.header {
background-color: rgb(38, 43, 50);
height: 60px;
padding-top:17px;
padding-bottom:17px;
padding-left:2em;
}

.header a.img {
float: left;
}

.header .here {
float:left;
margin-top:27px;
margin-left:5px;
color: rgb(200, 255, 200);
font-size: 25px;
}

.header span.here {
margin-top:34px;
font-size:15px;
color: white;
}

.header a.item {
float:right;
margin-top: 34px;
margin-right:10px;
color: white;
font-size:15px;
}

.header a.item:hover {
text-decoration: underline;
}

.content {
padding-top: 1em;
padding-left: 2em;
padding-right: 2em;
}

img { margin-left: auto; margin-right: auto; display: block; }


h1, h2, h3 { color: rgb(100, 155, 100); }

code .class { color: rgb(0, 0, 150); }
/*code .variable { color: rgb(10, 70, 10); }*/
code .comment { color: rgb(100, 150, 200); }
code .string { color: rgb(0, 100, 10); }
code .number { color: rgb(0, 0, 255); }
code .keyword, code .this { color: rgb(25, 110, 25); font-weight: bold; }
</style>
</head><body><div class="header"><a href="../../index.html" class="img"><img src="../../resources/logo.png" /></a><a href="../../index.html" class="here">Documentation
</a><a href="../../reference/index.html" class="item">SproutCore Reference
</a></div><div class="content"><h1>Capturing</h1>
</div><div class="footer"></div></body></html>
1 change: 1 addition & 0 deletions docs/build/articles/touch/capturing.json
@@ -0,0 +1 @@
{"content":"<h1>Capturing</h1>","errors":[],"demos":{},"articleDirectory":"articles/touch/","outputDirectory":"build/","title":"Capturing"}
2 changes: 2 additions & 0 deletions docs/build/articles/touch/capturing.md
@@ -0,0 +1,2 @@
Capturing
==========

0 comments on commit 1d2ceb6

Please sign in to comment.