CTWM
|
#include "ctwm.h"
#include <sys/time.h>
#include <assert.h>
#include <stdio.h>
#include <string.h>
#include <X11/extensions/shape.h>
#include "ctwm_atoms.h"
#include "events.h"
#include "icons.h"
#include "image.h"
#include "screen.h"
#include "util.h"
#include "vscreen.h"
#include "win_utils.h"
#include "animate.h"
Go to the source code of this file.
Macros | |
#define | MAXANIMATIONSPEED 20 |
Functions | |
static void | Animate (void) |
static void | AnimateButton (TBWindow *tbw) |
static void | AnimateHighlight (TwmWindow *t) |
static void | AnimateIcons (ScreenInfo *scr, Icon *icon) |
static bool | AnimateRoot (void) |
void | TryToAnimate (void) |
void | StartAnimation (void) |
void | StopAnimation (void) |
void | SetAnimationSpeed (int speed) |
void | ModifyAnimationSpeed (int incr) |
Variables | |
int | Animating = 0 |
int | AnimationSpeed = 0 |
bool | AnimationActive = false |
bool | MaybeAnimate = true |
struct timeval | AnimateTimeout |
#define MAXANIMATIONSPEED 20 |
Definition at line 27 of file animate.c.
Referenced by ModifyAnimationSpeed(), SetAnimationSpeed(), and StartAnimation().
Definition at line 168 of file animate.c.
References AnimateButton(), AnimateHighlight(), AnimateIcons(), AnimateRoot(), Animating, AnimationSpeed, ScreenInfo::currentvs, dpy, EventTime, ScreenInfo::FirstWindow, ScreenInfo::Focus, MaybeAnimate, ScreenInfo::_TBInfo::nleft, ScreenInfo::_TBInfo::nright, NumScreens, PlaceX, ScreenList, send_clientmessage(), ScreenInfo::TBInfo, visible(), WorkSpaceWindow::w, and VirtualScreen::wsw.
Referenced by TryToAnimate().
Definition at line 241 of file animate.c.
References dpy, Image::next, Image::pixmap, and PlaceX.
Referenced by Animate().
Definition at line 255 of file animate.c.
References dpy, Image::next, Image::pixmap, and PlaceX.
Referenced by Animate().
|
static |
Definition at line 276 of file animate.c.
References Icon::bm_w, dpy, GetIconOffset(), Icon::has_title, MyFont::height, Icon::height, ScreenInfo::IconFont, Icon::image, Image::mask, Image::next, Image::pixmap, PlaceX, ScreenInfo::ShapeWindow, Icon::w, Icon::w_width, and x.
Referenced by Animate().
Definition at line 315 of file animate.c.
References WorkSpaceWindow::currentwspc, ScreenInfo::DontPaintRootWindow, dpy, WorkSpace::image, WorkSpaceWindow::mswl, Image::next, VirtualScreen::next, NumScreens, Image::pixmap, PlaceX, ScreenInfo::Root, ScreenList, WorkSpaceWindow::state, ScreenInfo::vScreenList, MapSubwindow::w, VirtualScreen::window, WMS_buttons, WorkSpaceMgr::workSpaceList, ScreenInfo::workSpaceManagerActive, ScreenInfo::workSpaceMgr, and VirtualScreen::wsw.
Referenced by Animate().
Definition at line 134 of file animate.c.
References AnimateTimeout, AnimationActive, AnimationSpeed, MAXANIMATIONSPEED, PlaceX, and StopAnimation().
Referenced by f_slowdownanimation_impl(), and f_speedupanimation_impl().
Definition at line 124 of file animate.c.
References AnimationSpeed, MAXANIMATIONSPEED, and PlaceX.
Referenced by do_number_keyword().
Definition at line 89 of file animate.c.
References AnimateTimeout, AnimationActive, AnimationSpeed, MAXANIMATIONSPEED, and PlaceX.
Referenced by ctwm_main(), and f_startanimation_impl().
Definition at line 117 of file animate.c.
References AnimationActive.
Referenced by DoRestart(), f_stopanimation_impl(), LoadXwdImage(), and ModifyAnimationSpeed().
Definition at line 55 of file animate.c.
References Animate(), Animating, AnimationSpeed, PlaceX, and tracefile.
Referenced by CtwmNextEvent().
Definition at line 34 of file animate.c.
Referenced by CtwmNextEvent(), ModifyAnimationSpeed(), and StartAnimation().
int Animating = 0 |
Definition at line 30 of file animate.c.
Referenced by Animate(), HandleClientMessage(), and TryToAnimate().
Definition at line 32 of file animate.c.
Referenced by CtwmNextEvent(), LoadXwdImage(), ModifyAnimationSpeed(), StartAnimation(), and StopAnimation().
int AnimationSpeed = 0 |
Definition at line 31 of file animate.c.
Referenced by Animate(), CtwmNextEvent(), ModifyAnimationSpeed(), SetAnimationSpeed(), StartAnimation(), and TryToAnimate().
Definition at line 33 of file animate.c.
Referenced by Animate(), CreateIconWindow(), CtwmNextEvent(), GotoWorkSpace(), HandleMapRequest(), IconUp(), SetFocusVisualAttributes(), and WMgrSetMapState().