week-header: created the basic skeleton of the week-header

Created the .h, .c and .ui file of week header. Also made changes in the Makefile.am for it to get built.
This commit is contained in:
pandusonu2
2016-12-01 23:48:52 -02:00
committed by Georges Basile Stavracas Neto
parent 3656c781da
commit 69cade3d77
8 changed files with 389 additions and 20 deletions
+1
View File
@@ -61,6 +61,7 @@ EXTRA_DIST= \
ui/search-view.ui \
ui/source-dialog.ui \
ui/time-selector.ui \
ui/week-header.ui \
ui/window.ui \
ui/year-view.ui \
theme/gtk-styles.css \
+1
View File
@@ -12,6 +12,7 @@
<file alias="search-view.ui" compressed="true" preprocess="xml-stripblanks">ui/search-view.ui</file>
<file alias="source-dialog.ui" compressed="true" preprocess="xml-stripblanks">ui/source-dialog.ui</file>
<file alias="time-selector.ui" compressed="true" preprocess="xml-stripblanks">ui/time-selector.ui</file>
<file alias="week-header.ui" compressed="true" preprocess="xml-stripblanks">ui/week-header.ui</file>
<file alias="window.ui" compressed="true" preprocess="xml-stripblanks">ui/window.ui</file>
<file alias="year-view.ui" compressed="true" preprocess="xml-stripblanks">ui/year-view.ui</file>
<file alias="gtk-styles.css" compressed="true">theme/gtk-styles.css</file>
+29
View File
@@ -0,0 +1,29 @@
<?xml version="1.0"?>
<interface>
<template class="GcalWeekHeader" parent="GtkScrolledWindow">
<property name="visible">True</property>
<property name="shadow_type">out</property>
<property name="hexpand">True</property>
<child>
<object class="GtkViewport">
<property name="visible">True</property>
<child>
<object class="GtkOverlay">
<property name="visible">True</property>
<child>
<object class="GtkDrawingArea">
<property name="visible">True</property>
<signal name="draw" handler="gcal_week_header_draw" object="GcalWeekHeader" swapped="yes"/>
</object>
</child>
<child type="overlay">
<object class="GtkGrid" id="grid">
<property name="visible">True</property>
</object>
</child>
</object>
</child>
</object>
</child>
</template>
</interface>