LeechCraft  0.6.70-13605-g8cd066ad6a
Modular cross-platform feature rich live environment.
LC::Util::Compat Namespace Reference

Functions

QDateTime Created (const QFileInfo &info)
 
int Width (const QFontMetrics &fm, const QString &text)
 
auto SizeInBytes (const QImage &img)
 
auto GetScreenWithFallback (const QPoint &p)
 
QRect AvailableGeometry (const QPoint &p)
 
QRect ScreenGeometry (const QPoint &p)
 

Function Documentation

◆ AvailableGeometry()

QRect LC::Util::Compat::AvailableGeometry ( const QPoint &  p)
inline

Definition at line 59 of file screengeometry.h.

References GetScreenWithFallback().

+ Here is the call graph for this function:

◆ Created()

QDateTime LC::Util::Compat::Created ( const QFileInfo &  info)
inline

Definition at line 61 of file fileinfo.h.

◆ GetScreenWithFallback()

auto LC::Util::Compat::GetScreenWithFallback ( const QPoint &  p)

Definition at line 44 of file screengeometry.h.

Referenced by AvailableGeometry(), and ScreenGeometry().

+ Here is the caller graph for this function:

◆ ScreenGeometry()

QRect LC::Util::Compat::ScreenGeometry ( const QPoint &  p)
inline

Definition at line 64 of file screengeometry.h.

References GetScreenWithFallback().

+ Here is the call graph for this function:

◆ SizeInBytes()

auto LC::Util::Compat::SizeInBytes ( const QImage &  img)
inline

Definition at line 61 of file imagebytes.h.

Referenced by LC::Util::XWrapper::GetWindowTitle().

+ Here is the caller graph for this function:

◆ Width()

int LC::Util::Compat::Width ( const QFontMetrics &  fm,
const QString &  text 
)
inline

Definition at line 61 of file fontwidth.h.

Referenced by LC::Util::DrawOverlayText().

+ Here is the caller graph for this function: