mirror of
https://cagebreak.project-repo.co/cagebreak.git
synced 2026-08-09 15:19:11 +02:00
- Add message functionality (as per Issue 29 in Bugs.md)
- message <text>
- configure_message
- Add (as per Issue 30 in Bugs.md)
- movetoprevscreen
- movetoscreen <n>
- screen <n>
- additional output functionality for monitor numbering
- Improve configuration documentation
- Fix Issue 31 in Bugs.md (word omission)
- Improve README.md and split off some files
- Add SECURITY.md
- Add Hashes.md (hashes of cagebreak binaries and man pages if built reproducably)
- Add Changelog.md (changelog for major and minor releases but not patches)
- Add FAQ.md (updated information from the former wiki)
- Depreciate wiki
- Fix Issue 32 in Bugs.md
- Improve release checklist to partially prevent the above issue
in the future
- Fix Issue 33 in Bugs.md
- Fix Issue 34 in Bugs.md
- Manage gpg keys
- Add new cagebreak gpg signing keys
- Add new cagebreak email contact gpg key
- Add new project-repo AUR gpg key (relevant for cagebreak-pkgbuild)
40 lines
778 B
C
40 lines
778 B
C
#ifndef MESSAGE_H
|
|
|
|
#define MESSAGE_H
|
|
|
|
#include <wayland-server-core.h>
|
|
|
|
struct cg_output;
|
|
struct wlr_box;
|
|
struct wlr_texture;
|
|
|
|
enum cg_message_align {
|
|
CG_MESSAGE_TOP_LEFT,
|
|
CG_MESSAGE_TOP_RIGHT,
|
|
CG_MESSAGE_BOTTOM_LEFT,
|
|
CG_MESSAGE_BOTTOM_RIGHT,
|
|
CG_MESSAGE_CENTER,
|
|
};
|
|
|
|
struct cg_message_config {
|
|
char *font;
|
|
int display_time;
|
|
float bg_color[4];
|
|
float fg_color[4];
|
|
};
|
|
|
|
struct cg_message {
|
|
struct wlr_box *position;
|
|
struct wlr_texture *message;
|
|
struct wl_list link;
|
|
};
|
|
|
|
void
|
|
message_printf(struct cg_output *output, const char *fmt, ...);
|
|
void
|
|
message_printf_pos(struct cg_output *output, struct wlr_box *position,
|
|
enum cg_message_align, const char *fmt, ...);
|
|
void
|
|
message_clear(struct cg_output *output);
|
|
|
|
#endif /* end of include guard MESSAGE_H */
|