mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 23:36:41 +02:00
27 lines
591 B
C++
27 lines
591 B
C++
//
|
|
// UIUtil.h
|
|
// interface/src
|
|
//
|
|
// Created by Ryan Huffman on 09/02/2014.
|
|
// Copyright 2014 High Fidelity, Inc.
|
|
//
|
|
// Distributed under the Apache License, Version 2.0.
|
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
|
//
|
|
|
|
|
|
#ifndef hifi_UIUtil_h
|
|
#define hifi_UIUtil_h
|
|
|
|
#include <QWidget>
|
|
|
|
class UIUtil {
|
|
public:
|
|
static int getWindowTitleBarHeight(const QWidget* window);
|
|
static void scaleWidgetFontSizes(QWidget* widget);
|
|
|
|
private:
|
|
static void internalScaleWidgetFontSizes(QWidget* widget, float scale);
|
|
};
|
|
|
|
#endif // hifi_UIUtil_h
|