~muktupavels/metacity/adwaita-icon-theme-lp-1414613

« back to all changes in this revision

Viewing changes to src/draw-workspace.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2005-10-03 22:44:28 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 sarge)
  • Revision ID: james.westby@ubuntu.com-20051003224428-ft31gkmz12qpzohj
Tags: 1:2.12.1-0ubuntu1
* New upstream release:
  - Thanks to Ray Strode, Havoc Pennington, and Elijah Newren for
    improvements in this release.
  - Truncate ridiculously long titles to avoid crashing or letting the
    pager crash (Ray, Havoc, Elijah) [#315070] (Ubuntu: #15995)
  - Get the tabbing window outline to work with gtk+ 2.8.4 again
    (Elijah) [#317528] (Ubuntu: #16589)
  - Translations: Mahay Alam Khan (bn), Francisco Javier F. Serrador (es), 
    Ivar Smolin (et), I\uffffaki Larra\uffffaga Murgoitio (eu), Luca 
    Ferretti (it), Christian Rose (sv), Clytie Siddall (vi), Funda 
    Wang (zh_CN)
* debian/control.in:
  - Bumped Standards-Version.
* debian/patches/003_bordersdrawingfix.patch:
  - dropped, fixed upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Draw a workspace */
 
2
 
 
3
/* This file should not be modified to depend on other files in
 
4
 * libwnck or metacity, since it's used in both of them
 
5
 */
 
6
 
 
7
/* 
 
8
 * Copyright (C) 2002 Red Hat Inc.
 
9
 * 
 
10
 * This program is free software; you can redistribute it and/or
 
11
 * modify it under the terms of the GNU General Public License as
 
12
 * published by the Free Software Foundation; either version 2 of the
 
13
 * License, or (at your option) any later version.
 
14
 *
 
15
 * This program is distributed in the hope that it will be useful, but
 
16
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 
17
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
18
 * General Public License for more details.
 
19
 * 
 
20
 * You should have received a copy of the GNU General Public License
 
21
 * along with this program; if not, write to the Free Software
 
22
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 
23
 * 02111-1307, USA.
 
24
 */
 
25
 
 
26
#ifndef WNCK_DRAW_WORKSPACE_H
 
27
#define WNCK_DRAW_WORKSPACE_H
 
28
 
 
29
#include <gdk/gdkdrawable.h>
 
30
#include <gdk-pixbuf/gdk-pixbuf.h>
 
31
#include <gtk/gtkwidget.h>
 
32
 
 
33
typedef struct
 
34
{
 
35
  GdkPixbuf *icon;
 
36
  GdkPixbuf *mini_icon;
 
37
  int x;
 
38
  int y;
 
39
  int width;
 
40
  int height;
 
41
 
 
42
  guint is_active : 1;
 
43
  
 
44
} WnckWindowDisplayInfo;
 
45
 
 
46
void wnck_draw_workspace (GtkWidget                   *widget,
 
47
                          GdkDrawable                 *drawable,
 
48
                          int                          x,
 
49
                          int                          y,
 
50
                          int                          width,
 
51
                          int                          height,
 
52
                          int                          screen_width,
 
53
                          int                          screen_height,
 
54
                          GdkPixbuf                   *workspace_background,
 
55
                          gboolean                     is_active,
 
56
                          const WnckWindowDisplayInfo *windows,
 
57
                          int                          n_windows);
 
58
 
 
59
#endif