Skip to content

Commit b6b8c5e

Browse files
committed
Merge pull request #11 from CuriousLearner/feedback
Updates description and links of talks
2 parents 7cd45d9 + d0d9ee6 commit b6b8c5e

26 files changed

+564
-80
lines changed

pydelhiapp/data/but_drk.png

-6.38 KB
Binary file not shown.

pydelhiapp/data/but_light.png

-6.11 KB
Binary file not shown.

pydelhiapp/data/but_overlay.png

-3.2 KB
Binary file not shown.

pydelhiapp/data/default-0.png

656 KB
Loading

pydelhiapp/data/default.atlas

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"default-0.png": {"hamburger": [1403, 1806, 128, 128], "center": [2, 1229, 408, 408], "jnu": [2, 1639, 721, 407], "fossee": [1403, 1936, 320, 110], "but_light": [1708, 1740, 249, 60], "but_drk": [1457, 1740, 249, 60], "delhivery": [1027, 1802, 374, 244], "but_overlay": [1533, 1874, 249, 60], "logo": [1725, 1970, 207, 76], "ticket": [725, 1689, 300, 357], "transparent": [1959, 1788, 12, 12], "ig": [412, 1276, 260, 361], "analyticsvidya": [1027, 1700, 428, 100]}}

pydelhiapp/data/defaulttheme-0.png

70.8 KB
Loading

pydelhiapp/data/defaulttheme.atlas

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"defaulttheme-0.png": {"progressbar_background": [391, 227, 24, 24], "tab_btn_disabled": [264, 137, 32, 32], "tab_btn_pressed": [366, 137, 32, 32], "image-missing": [152, 171, 48, 48], "splitter_h": [174, 123, 32, 7], "splitter_down": [501, 253, 7, 32], "splitter_disabled_down": [503, 291, 7, 32], "vkeyboard_key_down": [468, 137, 32, 32], "vkeyboard_disabled_key_down": [400, 137, 32, 32], "selector_right": [248, 223, 55, 62], "player-background": [2, 287, 103, 103], "selector_middle": [191, 223, 55, 62], "spinner": [235, 82, 29, 37], "tab_btn_disabled_pressed": [298, 137, 32, 32], "switch-button_disabled": [277, 291, 43, 32], "textinput_disabled_active": [372, 326, 64, 64], "splitter_grip": [36, 50, 12, 26], "vkeyboard_key_normal": [2, 44, 32, 32], "button_disabled": [80, 82, 29, 37], "media-playback-stop": [302, 171, 48, 48], "splitter": [501, 87, 7, 32], "splitter_down_h": [140, 123, 32, 7], "sliderh_background_disabled": [72, 132, 41, 37], "modalview-background": [464, 456, 45, 54], "button": [142, 82, 29, 37], "splitter_disabled": [502, 137, 7, 32], "checkbox_radio_disabled_on": [433, 87, 32, 32], "slider_cursor": [402, 171, 48, 48], "vkeyboard_disabled_background": [68, 221, 64, 64], "checkbox_disabled_on": [297, 87, 32, 32], "sliderv_background_disabled": [2, 78, 37, 41], "button_disabled_pressed": [111, 82, 29, 37], "audio-volume-muted": [102, 171, 48, 48], "close": [417, 231, 20, 20], "action_group_disabled": [452, 171, 33, 48], "vkeyboard_background": [2, 221, 64, 64], "checkbox_off": [331, 87, 32, 32], "tab_disabled": [305, 253, 96, 32], "sliderh_background": [115, 132, 41, 37], "switch-button": [322, 291, 43, 32], "tree_closed": [439, 231, 20, 20], "bubble_btn_pressed": [435, 291, 32, 32], "selector_left": [134, 223, 55, 62], "filechooser_file": [174, 326, 64, 64], "checkbox_radio_disabled_off": [399, 87, 32, 32], "checkbox_radio_on": [196, 137, 32, 32], "checkbox_on": [365, 87, 32, 32], "button_pressed": [173, 82, 29, 37], "audio-volume-high": [464, 406, 48, 48], "audio-volume-low": [2, 171, 48, 48], "progressbar": [305, 227, 32, 24], "previous_normal": [487, 187, 19, 32], "separator": [504, 342, 5, 48], "filechooser_folder": [240, 326, 64, 64], "checkbox_radio_off": [467, 87, 32, 32], "textinput_active": [306, 326, 64, 64], "textinput": [438, 326, 64, 64], "player-play-overlay": [122, 395, 117, 115], "media-playback-pause": [202, 171, 48, 48], "sliderv_background": [41, 78, 37, 41], "ring": [354, 402, 108, 108], "bubble_arrow": [487, 175, 16, 10], "slider_cursor_disabled": [352, 171, 48, 48], "checkbox_disabled_off": [469, 291, 32, 32], "action_group_down": [2, 121, 33, 48], "spinner_disabled": [204, 82, 29, 37], "splitter_disabled_h": [106, 123, 32, 7], "bubble": [107, 325, 65, 65], "media-playback-start": [252, 171, 48, 48], "vkeyboard_disabled_key_normal": [434, 137, 32, 32], "overflow": [230, 137, 32, 32], "tree_opened": [461, 231, 20, 20], "action_item": [339, 227, 24, 24], "bubble_btn": [401, 291, 32, 32], "audio-volume-medium": [52, 171, 48, 48], "action_group": [37, 121, 33, 48], "spinner_pressed": [266, 82, 29, 37], "filechooser_selected": [2, 392, 118, 118], "tab": [403, 253, 96, 32], "action_bar": [158, 133, 36, 36], "action_view": [365, 227, 24, 24], "tab_btn": [332, 137, 32, 32], "switch-background": [192, 291, 83, 32], "splitter_disabled_down_h": [72, 123, 32, 7], "action_item_down": [367, 291, 32, 32], "switch-background_disabled": [107, 291, 83, 32], "textinput_disabled": [241, 399, 111, 111], "splitter_grip_h": [483, 239, 26, 12]}}

pydelhiapp/data/fossee.png

-36.9 KB
Binary file not shown.

pydelhiapp/data/glsl/default.fs

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
$HEADER$
2+
void main (void){
3+
gl_FragColor = frag_color * texture2D(texture0, tex_coord0);
4+
}

pydelhiapp/data/glsl/default.png

224 Bytes
Loading

pydelhiapp/data/glsl/default.vs

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
$HEADER$
2+
void main (void) {
3+
frag_color = color * vec4(1.0, 1.0, 1.0, opacity);
4+
tex_coord0 = vTexCoords0;
5+
gl_Position = projection_mat * modelview_mat * vec4(vPosition.xy, 0.0, 1.0);
6+
}

pydelhiapp/data/glsl/header.fs

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#ifdef GL_ES
2+
precision highp float;
3+
#endif
4+
5+
/* Outputs from the vertex shader */
6+
varying vec4 frag_color;
7+
varying vec2 tex_coord0;
8+
9+
/* uniform texture samplers */
10+
uniform sampler2D texture0;

pydelhiapp/data/glsl/header.vs

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
#ifdef GL_ES
2+
precision highp float;
3+
#endif
4+
5+
/* Outputs to the fragment shader */
6+
varying vec4 frag_color;
7+
varying vec2 tex_coord0;
8+
9+
/* vertex attributes */
10+
attribute vec2 vPosition;
11+
attribute vec2 vTexCoords0;
12+
13+
/* uniform variables */
14+
uniform mat4 modelview_mat;
15+
uniform mat4 projection_mat;
16+
uniform vec4 color;
17+
uniform float opacity;

pydelhiapp/data/hamburger.png

-6.37 KB
Binary file not shown.

pydelhiapp/data/ig.jpg

-94.5 KB
Binary file not shown.
2.82 KB
Loading

pydelhiapp/data/jnu.png

-82.5 KB
Binary file not shown.

pydelhiapp/data/logo.png

-16.6 KB
Binary file not shown.

pydelhiapp/data/pydelhi-conf-events.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"img": "img/kiran.jpg",
2323
"schedule-item-date": "10:00 AM - 10:45 AM",
2424
"schedule-item-title": "Keynote by Kiran Jonnalagadda",
25-
"schedule-item-text": "Kiran Jonnalagadda is a co-founder of [ref='http://hasgeek.com']HasGeek[/ref], creator of [ref='http://hasjob.co']Hasjob[/ref], and a volunteer with the [ref='http://savetheinternet.in]SaveTheInternet.in[/ref] Coalition."
25+
"schedule-item-text": "Kiran Jonnalagadda is a co-founder of [color=rgb(49,207,155)][ref='http://hasgeek.com']HasGeek[/ref][/color], creator of [color=rgb(49,207,155)][ref='http://hasjob.co']Hasjob[/ref][/color], and a volunteer with the [color=rgb(49,207,155)][ref='http://savetheinternet.in]SaveTheInternet.in[/ref][/color] Coalition."
2626
},
2727
{
2828
"img": "img/mic.jpg",
@@ -75,8 +75,8 @@
7575
{
7676
"img": "img/mic.jpg",
7777
"schedule-item-date": "4:50 PM - 5:20 PM",
78-
"schedule-item-title": "[ref='https://cfp.pydelhi.org/pydelhi-conference-2016/proposals/python-in-the-sdn-world/']Python in the SDN World[/ref]",
79-
"schedule-item-text": "Talk by Sridhar Rao"
78+
"schedule-item-title": "Talk on ",
79+
"schedule-item-text": "Talk by Jithin Kumar B.P"
8080
},
8181
{
8282
"img": "img/panel.jpg",

pydelhiapp/data/style.kv

+313
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,313 @@
1+
#:kivy 1.0
2+
3+
<Label>:
4+
canvas:
5+
Color:
6+
rgba: 1, 1, 1, 1
7+
Rectangle:
8+
texture: self.texture
9+
size: self.texture_size
10+
pos: int(self.center_x - self.texture_size[0] / 2.), int(self.center_y - self.texture_size[1] / 2.)
11+
12+
<-Button,-ToggleButton>:
13+
state_image: self.background_normal if self.state == 'normal' else self.background_down
14+
disabled_image: self.background_disabled_normal if self.state == 'normal' else self.background_disabled_down
15+
canvas:
16+
Color:
17+
rgba: self.background_color
18+
BorderImage:
19+
border: self.border
20+
pos: self.pos
21+
size: self.size
22+
source: self.disabled_image if self.disabled else self.state_image
23+
Color:
24+
rgba: 1, 1, 1, 1
25+
Rectangle:
26+
texture: self.texture
27+
size: self.texture_size
28+
pos: int(self.center_x - self.texture_size[0] / 2.), int(self.center_y - self.texture_size[1] / 2.)
29+
30+
<BubbleContent>
31+
opacity: .7 if self.disabled else 1
32+
rows: 1
33+
canvas:
34+
Color:
35+
rgba: self.parent.background_color if self.parent else (1, 1, 1, 1)
36+
BorderImage:
37+
border: self.parent.border if self.parent else (16, 16, 16, 16)
38+
texture: root.parent._bk_img.texture if root.parent else None
39+
size: self.size
40+
pos: self.pos
41+
42+
<BubbleButton>:
43+
background_normal: 'atlas://data/images/defaulttheme/bubble_btn'
44+
background_down: 'atlas://data/images/defaulttheme/bubble_btn_pressed'
45+
background_disabled_normal: 'atlas://data/images/defaulttheme/bubble_btn'
46+
background_disabled_down: 'atlas://data/images/defaulttheme/bubble_btn_pressed'
47+
border: (0, 0, 0, 0)
48+
49+
<Scatter>:
50+
canvas.before:
51+
PushMatrix
52+
MatrixInstruction:
53+
matrix: self.transform
54+
canvas.after:
55+
PopMatrix
56+
57+
58+
<RelativeLayout>:
59+
canvas.before:
60+
PushMatrix
61+
Translate:
62+
xy: self.pos
63+
canvas.after:
64+
PopMatrix
65+
66+
<Image,AsyncImage>:
67+
canvas:
68+
Color:
69+
rgba: self.color
70+
Rectangle:
71+
texture: self.texture
72+
size: self.norm_image_size
73+
pos: self.center_x - self.norm_image_size[0] / 2., self.center_y - self.norm_image_size[1] / 2.
74+
75+
<EffectWidget>:
76+
canvas.before:
77+
Translate:
78+
xy: -self.x, -self.y
79+
canvas:
80+
Color:
81+
rgba: 1, 1, 1, 1
82+
Rectangle:
83+
texture: self.texture
84+
pos: self.pos
85+
size: self.size
86+
87+
<TabbedPanelContent>
88+
rows: 1
89+
padding: 3
90+
canvas:
91+
Color:
92+
rgba: self.parent.background_color if self.parent else (1, 1, 1, 1)
93+
BorderImage:
94+
border: self.parent.border if self.parent else (16, 16, 16, 16)
95+
source: (root.parent.background_disabled_image if self.disabled else root.parent.background_image) if root.parent else None
96+
size: self.size
97+
pos: self.pos
98+
99+
<TabbedPanelStrip>
100+
rows: 1
101+
102+
<StripLayout>
103+
padding: '2dp', '2dp', '2dp', '2dp'
104+
canvas.before:
105+
BorderImage:
106+
pos: self.pos
107+
size: self.size
108+
border: root.border
109+
source: root.background_image
110+
111+
<TabbedPanelHeader>:
112+
halign: 'center'
113+
valign: 'middle'
114+
background_normal: 'atlas://data/images/defaulttheme/tab_btn'
115+
background_disabled_normal: 'atlas://data/images/defaulttheme/tab_btn_disabled'
116+
background_down: 'atlas://data/images/defaulttheme/tab_btn_pressed'
117+
background_disabled_down: 'atlas://data/images/defaulttheme/tab_btn_pressed'
118+
border: (8, 8, 8, 8)
119+
font_size: '15sp'
120+
121+
<Selector>
122+
allow_stretch: True
123+
124+
<TextInput>:
125+
canvas.before:
126+
Color:
127+
rgba: self.background_color
128+
BorderImage:
129+
border: self.border
130+
pos: self.pos
131+
size: self.size
132+
source: (self.background_disabled_active if self.disabled else self.background_active) if self.focus else (self.background_disabled_normal if self.disabled else self.background_normal)
133+
Color:
134+
rgba: (self.cursor_color if self.focus and not self.cursor_blink else (0, 0, 0, 0))
135+
Rectangle:
136+
pos: [int(x) for x in self.cursor_pos]
137+
size: 1, -self.line_height
138+
Color:
139+
rgba: self.disabled_foreground_color if self.disabled else (self.hint_text_color if not self.text else self.foreground_color)
140+
141+
<TextInputCutCopyPaste>:
142+
but_cut: cut.__self__
143+
but_copy: copy.__self__
144+
but_paste: paste.__self__
145+
but_selectall: selectall.__self__
146+
147+
size_hint: None, None
148+
size: '150sp', '50sp'
149+
BubbleButton:
150+
id: cut
151+
text: 'Cut'
152+
on_release: root.do('cut')
153+
BubbleButton:
154+
id: copy
155+
text: 'Copy'
156+
on_release: root.do('copy')
157+
BubbleButton:
158+
id: paste
159+
text: 'Paste'
160+
on_release: root.do('paste')
161+
BubbleButton:
162+
id: selectall
163+
text: 'Select All'
164+
on_release: root.do('selectall')
165+
166+
<StencilView>:
167+
canvas.before:
168+
StencilPush
169+
Rectangle:
170+
pos: self.pos
171+
size: self.size
172+
StencilUse
173+
174+
canvas.after:
175+
StencilUnUse
176+
Rectangle:
177+
pos: self.pos
178+
size: self.size
179+
StencilPop
180+
181+
<FileChooserListLayout>:
182+
on_entry_added: treeview.add_node(args[1])
183+
on_entries_cleared: treeview.root.nodes = []
184+
on_subentry_to_entry: not args[2].locked and treeview.add_node(args[1], args[2])
185+
on_remove_subentry: args[2].nodes = []
186+
BoxLayout:
187+
pos: root.pos
188+
size: root.size
189+
size_hint: None, None
190+
orientation: 'vertical'
191+
BoxLayout:
192+
size_hint_y: None
193+
height: '30dp'
194+
orientation: 'horizontal'
195+
Widget:
196+
# Just for spacing
197+
width: '10dp'
198+
size_hint_x: None
199+
Label:
200+
text: 'Name'
201+
text_size: self.size
202+
halign: 'left'
203+
bold: True
204+
Label:
205+
text: 'Size'
206+
text_size: self.size
207+
size_hint_x: None
208+
halign: 'right'
209+
bold: True
210+
Widget:
211+
# Just for spacing
212+
width: '10dp'
213+
size_hint_x: None
214+
ScrollView:
215+
id: scrollview
216+
do_scroll_x: False
217+
Scatter:
218+
do_rotation: False
219+
do_scale: False
220+
do_translation: False
221+
size: treeview.size
222+
size_hint_y: None
223+
TreeView:
224+
id: treeview
225+
hide_root: True
226+
size_hint_y: None
227+
width: scrollview.width
228+
height: self.minimum_height
229+
on_node_expand: root.controller.entry_subselect(args[1])
230+
on_node_collapse: root.controller.close_subselection(args[1])
231+
232+
# ModalView widget
233+
<ModalView>:
234+
canvas:
235+
Color:
236+
rgba: root.background_color[:3] + [root.background_color[-1] * self._anim_alpha]
237+
Rectangle:
238+
size: self._window.size if self._window else (0, 0)
239+
240+
Color:
241+
rgb: 1, 1, 1
242+
BorderImage:
243+
source: root.background
244+
border: root.border
245+
pos: self.pos
246+
size: self.size
247+
248+
249+
# Popup widget
250+
<Popup>:
251+
_container: container
252+
GridLayout:
253+
padding: '12dp'
254+
cols: 1
255+
size_hint: None, None
256+
pos: root.pos
257+
size: root.size
258+
259+
Label:
260+
text: root.title
261+
color: root.title_color
262+
size_hint_y: None
263+
height: self.texture_size[1] + dp(16)
264+
text_size: self.width - dp(16), None
265+
font_size: root.title_size
266+
font_name: root.title_font
267+
halign: root.title_align
268+
269+
Widget:
270+
size_hint_y: None
271+
height: dp(4)
272+
canvas:
273+
Color:
274+
rgba: root.separator_color
275+
Rectangle:
276+
pos: self.x, self.y + root.separator_height / 2.
277+
size: self.width, root.separator_height
278+
279+
BoxLayout:
280+
id: container
281+
282+
<ScrollView>:
283+
canvas.after:
284+
Color:
285+
rgba: self._bar_color if (self.do_scroll_y and self.viewport_size[1] > self.height) else [0, 0, 0, 0]
286+
Rectangle:
287+
pos: (self.right - self.bar_width - self.bar_margin) if self.bar_pos_y == 'right' else (self.x + self.bar_margin), self.y + self.height * self.vbar[0]
288+
size: min(self.bar_width, self.width), self.height * self.vbar[1]
289+
Color:
290+
rgba: self._bar_color if (self.do_scroll_x and self.viewport_size[0] > self.width) else [0, 0, 0, 0]
291+
Rectangle:
292+
pos: self.x + self.width * self.hbar[0], (self.y + self.bar_margin) if self.bar_pos_x == 'bottom' else (self.top - self.bar_margin - self.bar_width)
293+
size: self.width * self.hbar[1], min(self.bar_width, self.height)
294+
295+
296+
# =============================================================================
297+
# Screen Manager
298+
# =============================================================================
299+
300+
<ScreenManager>:
301+
canvas.before:
302+
StencilPush
303+
Rectangle:
304+
pos: self.pos
305+
size: self.size
306+
StencilUse
307+
canvas.after:
308+
StencilUnUse
309+
Rectangle:
310+
pos: self.pos
311+
size: self.size
312+
StencilPop
313+

pydelhiapp/data/ticket.png

-26.2 KB
Binary file not shown.

pydelhiapp/data/transparent.png

-2.68 KB
Binary file not shown.

0 commit comments

Comments
 (0)