Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
As requested in #36 `BriskMenuWindow` is now a base class that all windows must implement `BriskMenuEntryButton` must also be implemented for launcher buttons This PR also includes a fix for #78 It also fixes the date range in all licence headers
- Loading branch information
Stefan Ric
committed
Jan 17, 2018
1 parent
9e4cb8f
commit c31ccc5
Showing
46 changed files
with
2,815 additions
and
1,087 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<gresources> | ||
<gresource prefix="/com/solus-project/brisk/menu"> | ||
<file>styling.css</file> | ||
<file>classic/styling.css</file> | ||
<file>dash/styling.css</file> | ||
</gresource> | ||
</gresources> |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
.brisk-button-vertical { | ||
padding: 0px; | ||
margin: 0px; | ||
} | ||
|
||
.brisk-button { | ||
padding: 0px; | ||
margin: 0px; | ||
} | ||
|
||
.brisk-dash { | ||
background-color: alpha(@theme_bg_color, 0.95); | ||
} | ||
|
||
.brisk-dash .dash-category-button { | ||
border: 1px solid transparent; | ||
background-color: transparent; | ||
font-weight: bold; | ||
} | ||
|
||
.brisk-dash .dash-category-button:checked { | ||
background-color: mix(@theme_bg_color, #000000, 0.2); | ||
border: 1px solid alpha(@theme_fg_color, 0.1); | ||
} | ||
|
||
.brisk-dash .dash-category-button:hover { | ||
background-color: mix(@theme_bg_color, #000000, 0.2); | ||
border: 1px solid alpha(#000, 0.2); | ||
} | ||
|
||
.brisk-dash .header { | ||
background-color: mix(@theme_bg_color, #000000, 0.1); | ||
border-bottom: 1px solid mix(@theme_base_color, #000000, 0.35); | ||
box-shadow: 0px 1px 1px alpha(@theme_fg_color, 0.04); | ||
} | ||
|
||
.brisk-dash .header .section-box-holder { | ||
margin: 5px; | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
/* | ||
* This file is part of brisk-menu. | ||
* | ||
* Copyright © 2016-2018 Brisk Menu Developers | ||
* | ||
* This program is free software; you can redistribute it and/or modify | ||
* it under the terms of the GNU General Public License as published by | ||
* the Free Software Foundation; either version 2 of the License, or | ||
* (at your option) any later version. | ||
*/ | ||
|
||
#pragma once | ||
|
||
#include "backend/section.h" | ||
#include <glib-object.h> | ||
#include <gtk/gtk.h> | ||
|
||
G_BEGIN_DECLS | ||
|
||
typedef struct _BriskClassicCategoryButton BriskClassicCategoryButton; | ||
typedef struct _BriskClassicCategoryButtonClass BriskClassicCategoryButtonClass; | ||
|
||
#define BRISK_TYPE_CLASSIC_CATEGORY_BUTTON brisk_classic_category_button_get_type() | ||
#define BRISK_CLASSIC_CATEGORY_BUTTON(o) \ | ||
(G_TYPE_CHECK_INSTANCE_CAST((o), \ | ||
BRISK_TYPE_CLASSIC_CATEGORY_BUTTON, \ | ||
BriskClassicCategoryButton)) | ||
#define BRISK_IS_CLASSIC_CATEGORY_BUTTON(o) \ | ||
(G_TYPE_CHECK_INSTANCE_TYPE((o), BRISK_TYPE_CLASSIC_CATEGORY_BUTTON)) | ||
#define BRISK_CLASSIC_CATEGORY_BUTTON_CLASS(o) \ | ||
(G_TYPE_CHECK_CLASS_CAST((o), \ | ||
BRISK_TYPE_CLASSIC_CATEGORY_BUTTON, \ | ||
BriskClassicCategoryButtonClass)) | ||
#define BRISK_IS_CLASSIC_CATEGORY_BUTTON_CLASS(o) \ | ||
(G_TYPE_CHECK_CLASS_TYPE((o), BRISK_TYPE_CLASSIC_CATEGORY_BUTTON)) | ||
#define BRISK_CLASSIC_CATEGORY_BUTTON_GET_CLASS(o) \ | ||
(G_TYPE_INSTANCE_GET_CLASS((o), \ | ||
BRISK_TYPE_CLASSIC_CATEGORY_BUTTON, \ | ||
BriskClassicCategoryButtonClass)) | ||
|
||
/** | ||
* Construct a new BriskClassicCategoryButton from the given group | ||
*/ | ||
GtkWidget *brisk_classic_category_button_new(BriskSection *section); | ||
|
||
GType brisk_classic_category_button_get_type(void); | ||
|
||
G_END_DECLS | ||
|
||
/* | ||
* Editor modelines - https://www.wireshark.org/tools/modelines.html | ||
* | ||
* Local variables: | ||
* c-basic-offset: 8 | ||
* tab-width: 8 | ||
* indent-tabs-mode: nil | ||
* End: | ||
* | ||
* vi: set shiftwidth=8 tabstop=8 expandtab: | ||
* :indentSize=8:tabSize=8:noTabs=true: | ||
*/ |
Oops, something went wrong.