[go: up one dir, main page]

Menu

[f2b791]: / src / resize.h  Maximize  Restore  History

Download this file

43 lines (28 with data), 952 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/* $Id$
* resize.h
* Copyright (C) 1997-1999 Maciej Stachowiak and Greg J. Badros
*/
#ifndef RESIZE_H
#define RESIZE_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <X11/X.h>
#include <X11/Intrinsic.h>
#include "window_fwd.h"
void ComputeDeltaForResize(ScwmWindow *psw, int *pdx, int *pdy, int width, int height);
void ComputePositionForResize(ScwmWindow *psw, int *px, int *py, int width, int height);
void ConstrainSize(ScwmWindow *psw, int xmotion, int ymotion,
int *widthp, int *heightp);
void RedrawOutlineAtNewPosition(int x, int y, int width, int height);
#define RemoveRubberbandOutline() do { RedrawOutlineAtNewPosition(0,0,0,0); } while (0)
Bool InteractiveResize(ScwmWindow *psw, Bool fOpaque,
int *pwidthReturn, int *pheightReturn);
void init_resize_gcs();
#endif
/* Local Variables: */
/* tab-width: 8 */
/* c-basic-offset: 2 */
/* End: */
/* vim:ts=8:sw=2:sta
*/