2007-05-22 18:53:17 +04:00
|
|
|
/*
|
|
|
|
* $Id$
|
|
|
|
*
|
2008-10-02 13:42:19 +04:00
|
|
|
* ede-desktop, desktop and icon manager
|
2007-05-22 18:53:17 +04:00
|
|
|
* Part of Equinox Desktop Environment (EDE).
|
2008-10-02 13:42:19 +04:00
|
|
|
* Copyright (c) 2006-2008 EDE Authors.
|
2007-05-22 18:53:17 +04:00
|
|
|
*
|
|
|
|
* This program is licensed under terms of the
|
|
|
|
* GNU General Public License version 2 or newer.
|
|
|
|
* See COPYING for details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __UTILS_H__
|
|
|
|
#define __UTILS_H__
|
|
|
|
|
2009-12-24 18:47:29 +03:00
|
|
|
#include <X11/Xlib.h>
|
2008-09-15 15:00:23 +04:00
|
|
|
#include <FL/Fl_Window.H>
|
|
|
|
#include <FL/Fl_Image.H>
|
2007-06-18 18:18:35 +04:00
|
|
|
|
2007-05-22 20:27:33 +04:00
|
|
|
void draw_xoverlay(int x, int y, int w, int h);
|
|
|
|
void clear_xoverlay(void);
|
2007-06-18 18:18:35 +04:00
|
|
|
void set_xoverlay_drawable(Fl_Window* win);
|
|
|
|
|
2007-06-20 14:58:07 +04:00
|
|
|
Pixmap create_mask(Fl_Image* img);
|
2007-06-18 18:18:35 +04:00
|
|
|
|
|
|
|
char* get_basename(const char* path);
|
2008-10-02 16:16:04 +04:00
|
|
|
bool is_temp_filename(const char* path);
|
2007-05-22 20:27:33 +04:00
|
|
|
|
2007-05-22 18:53:17 +04:00
|
|
|
#endif
|