A modern Music Player Daemon based on Rockbox open source high quality audio player
libadwaita audio rust zig deno mpris rockbox mpd
at master 32 lines 780 B view raw
1/* 2 * xrick/rects.h 3 * 4 * Copyright (C) 1998-2002 BigOrno (bigorno@bigorno.net). 5 * Copyright (C) 2008-2014 Pierluigi Vicinanza. 6 * All rights reserved. 7 * 8 * The use and distribution terms for this software are contained in the file 9 * named README, which can be found in the root of this distribution. By 10 * using this software in any fashion, you are agreeing to be bound by the 11 * terms of this license. 12 * 13 * You must not remove this notice, or any other, from this software. 14 */ 15 16#ifndef _RECTS_H 17#define _RECTS_H 18 19#include "xrick/system/basic_types.h" 20 21typedef struct rect_s { 22 U16 x, y; 23 U16 width, height; 24 struct rect_s *next; 25} rect_t; 26 27extern void rects_free(rect_t *); 28extern rect_t *rects_new(U16, U16, U16, U16, rect_t *); 29 30#endif /* ndef _RECTS_H */ 31 32/* eof */