Changeset View
Changeset View
Standalone View
Standalone View
toplevel.h
Show First 20 Lines • Show All 385 Lines • ▼ Show 20 Line(s) | 256 | public: | |||
---|---|---|---|---|---|
386 | const EffectWindowImpl* effectWindow() const; | 386 | const EffectWindowImpl* effectWindow() const; | ||
387 | /** | 387 | /** | ||
388 | * Window will be temporarily painted as if being at the top of the stack. | 388 | * Window will be temporarily painted as if being at the top of the stack. | ||
389 | * Only available if Compositor is active, if not active, this method is a no-op. | 389 | * Only available if Compositor is active, if not active, this method is a no-op. | ||
390 | */ | 390 | */ | ||
391 | void elevate(bool elevate); | 391 | void elevate(bool elevate); | ||
392 | 392 | | |||
393 | /** | 393 | /** | ||
394 | * @returns Whether the Toplevel has a Shadow or not | | |||
395 | * @see shadow | | |||
396 | */ | | |||
397 | bool hasShadow() const; | | |||
398 | /** | | |||
399 | * Returns the pointer to the Toplevel's Shadow. A Shadow | 394 | * Returns the pointer to the Toplevel's Shadow. A Shadow | ||
400 | * is only available if Compositing is enabled and the corresponding X window | 395 | * is only available if Compositing is enabled and the corresponding X window | ||
401 | * has the Shadow property set. | 396 | * has the Shadow property set. | ||
402 | * If a shadow is available hasShadow returns @c true. | 397 | * @returns The Shadow belonging to this Toplevel, @c null if there's no Shadow. | ||
403 | * @returns The Shadow belonging to this Toplevel, may be @c NULL. | | |||
404 | * @see hasShadow | | |||
405 | */ | 398 | */ | ||
406 | const Shadow *shadow() const; | 399 | const Shadow *shadow() const; | ||
407 | Shadow *shadow(); | 400 | Shadow *shadow(); | ||
408 | /** | 401 | /** | ||
409 | * Updates the Shadow associated with this Toplevel from X11 Property. | 402 | * Updates the Shadow associated with this Toplevel from X11 Property. | ||
410 | * Call this method when the Property changes or Compositing is started. | 403 | * Call this method when the Property changes or Compositing is started. | ||
411 | */ | 404 | */ | ||
412 | void getShadow(); | 405 | void getShadow(); | ||
▲ Show 20 Lines • Show All 560 Lines • Show Last 20 Lines |