mirror of
https://github.com/davatorium/rofi.git
synced 2024-11-18 13:54:36 -05:00
37 lines
709 B
C
37 lines
709 B
C
#ifndef ROFI_SEPARATOR_H
|
|
#define ROFI_SEPARATOR_H
|
|
#include <cairo.h>
|
|
#include "widget.h"
|
|
|
|
/**
|
|
* @defgroup separator separator
|
|
* @ingroup widgets
|
|
*
|
|
* Displays a horizontal separator line. The height of the widget determines the line width.
|
|
*
|
|
* @{
|
|
*/
|
|
typedef struct _separator separator;
|
|
|
|
/**
|
|
* Direction of the separator.
|
|
*/
|
|
|
|
typedef enum
|
|
{
|
|
S_HORIZONTAL = 0,
|
|
S_VERTICAL = 1
|
|
} separator_type;
|
|
|
|
/**
|
|
* @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 ( separator_type type, short sw );
|
|
|
|
/*@}*/
|
|
#endif // ROFI_SEPARATOR_H
|