inactive_press.h 413 B

1234567891011121314
  1. // This file is part of Desktop App Toolkit,
  2. // a set of libraries for developing nice desktop applications.
  3. //
  4. // For license and copyright information please follow this link:
  5. // https://github.com/desktop-app/legal/blob/master/LEGAL
  6. //
  7. #pragma once
  8. namespace Ui {
  9. void MarkInactivePress(not_null<QWidget*> widget, bool was);
  10. [[nodiscard]] bool WasInactivePress(not_null<QWidget*> widget);
  11. } // namespace Ui