Changeset View
Changeset View
Standalone View
Standalone View
toplevel.h
Show First 20 Lines • Show All 370 Lines • ▼ Show 20 Line(s) | 301 | public: | |||
---|---|---|---|---|---|
371 | virtual qreal bufferScale() const; | 371 | virtual qreal bufferScale() const; | ||
372 | virtual QPoint clientPos() const = 0; // inside of geometry() | 372 | virtual QPoint clientPos() const = 0; // inside of geometry() | ||
373 | /** | 373 | /** | ||
374 | * Describes how the client's content maps to the window geometry including the frame. | 374 | * Describes how the client's content maps to the window geometry including the frame. | ||
375 | * The default implementation is a 1:1 mapping meaning the frame is part of the content. | 375 | * The default implementation is a 1:1 mapping meaning the frame is part of the content. | ||
376 | */ | 376 | */ | ||
377 | virtual QPoint clientContentPos() const; | 377 | virtual QPoint clientContentPos() const; | ||
378 | virtual QSize clientSize() const = 0; | 378 | virtual QSize clientSize() const = 0; | ||
379 | virtual QRect visibleRect() const; // the area the window occupies on the screen | 379 | /** | ||
380 | virtual QRect decorationRect() const; // rect including the decoration shadows | 380 | * Returns a rectangle that the window occupies on the screen, including drop-shadows. | ||
381 | */ | ||||
382 | virtual QRect visibleRect() const; | ||||
381 | virtual QRect transparentRect() const = 0; | 383 | virtual QRect transparentRect() const = 0; | ||
382 | virtual bool isClient() const; | 384 | virtual bool isClient() const; | ||
383 | virtual bool isDeleted() const; | 385 | virtual bool isDeleted() const; | ||
384 | 386 | | |||
385 | // prefer isXXX() instead | 387 | // prefer isXXX() instead | ||
386 | // 0 for supported types means default for managed/unmanaged types | 388 | // 0 for supported types means default for managed/unmanaged types | ||
387 | virtual NET::WindowType windowType(bool direct = false, int supported_types = 0) const = 0; | 389 | virtual NET::WindowType windowType(bool direct = false, int supported_types = 0) const = 0; | ||
388 | bool hasNETSupport() const; | 390 | bool hasNETSupport() const; | ||
▲ Show 20 Lines • Show All 653 Lines • Show Last 20 Lines |