summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-01-05 22:07:50 +0100
committerDave Davenport <qball@gmpclient.org>2017-01-05 22:07:50 +0100
commitf2a40499914469e87713642a315267954f5cc547 (patch)
tree8707f5cea4485b20548c45fa90cedc5b7e66a818 /include
parentfb59be5d72f86e7bfceb8a40efdf417d0385a829 (diff)
Remove separator
Diffstat (limited to 'include')
-rw-r--r--include/view-internal.h3
-rw-r--r--include/widgets/separator.h51
2 files changed, 0 insertions, 54 deletions
diff --git a/include/view-internal.h b/include/view-internal.h
index 0b7e6e5b..51a1c90d 100644
--- a/include/view-internal.h
+++ b/include/view-internal.h
@@ -3,7 +3,6 @@
#include "widgets/container.h"
#include "widgets/widget.h"
#include "widgets/textbox.h"
-#include "widgets/separator.h"
#include "widgets/listview.h"
#include "widgets/box.h"
#include "keyb.h"
@@ -36,8 +35,6 @@ struct RofiViewState
textbox *text;
/** #textbox showing the state of the case sensitive and sortng. */
textbox *case_indicator;
- /** #separator widget below the input bar. */
- separator *input_bar_separator;
/** #listview holding the displayed elements. */
listview *list_view;
diff --git a/include/widgets/separator.h b/include/widgets/separator.h
deleted file mode 100644
index 3d94a989..00000000
--- a/include/widgets/separator.h
+++ /dev/null
@@ -1,51 +0,0 @@
-#ifndef ROFI_SEPARATOR_H
-#define ROFI_SEPARATOR_H
-#include <cairo.h>
-#include "widget.h"
-
-/**
- * @defgroup separator separator
- * @ingroup widget
- *
- * Displays a horizontal separator line. The height of the widget determines the line width.
- *
- * @{
- */
-
-/**
- * Abstract handle to the separator widget internal state.
- */
-typedef struct _separator separator;
-
-/**
- * Direction of the separator.
- */
-typedef enum
-{
- S_HORIZONTAL = 0,
- S_VERTICAL = 1
-} separator_type;
-
-/**
- * The style of the separator line.
- */
-typedef enum
-{
- S_LINE_NONE,
- S_LINE_SOLID,
- S_LINE_DASH
-} separator_line_style;
-
-/**
- * @param name The name of the widget.
- * @param type The type of separator.
- * @param sw The thickness of the separator.
- *
- * Create a horizontal separator with height h.
- *
- * @returns a new separator, free with ::widget_free
- */
-separator *separator_create ( const char *name, separator_type type, short sw );
-
-/*@}*/
-#endif // ROFI_SEPARATOR_H