import "MacDarkMode.hpp"
#include "../GUI/Widgets/Label.hpp"
#include "wx/graphics.h"
#include "wx/osx/core/cfstring.h"
#include "wx/osx/private.h"
import <algorithm>
import <Cocoa/Cocoa.h>
import <Foundation/Foundation.h>
import <AppKit/NSScreen.h>
import <WebKit/WebKit.h>
#include <objc/runtime.h>
#include <wx/dataview.h>
#include <wx/osx/cocoa/dataview.h>
#include <wx/osx/dataview.h>
Go to the source code of this file.
|
| namespace | Slic3r |
| | |/ Copyright (c) Prusa Research 2020 - 2023 Enrico Turri @enricoturri1966 |/ |/ PrusaSlicer is released under the terms of the AGPLv3 or higher |/
|
| namespace | Slic3r::GUI |
◆ get_gesture_handler()
| wxEvtHandler * get_gesture_handler |
( |
NSView * | view | ) |
|
|
static |
◆ is_scroll_pan_active()
| bool is_scroll_pan_active |
( |
NSView * | view | ) |
|
|
static |
◆ set_scroll_pan_active()
| void set_scroll_pan_active |
( |
NSView * | view, |
|
|
bool | active ) |
|
static |
◆ StaticGroup_layoutBadge()
| void StaticGroup_layoutBadge |
( |
void * | group, |
|
|
void * | badge ) |
478{
479 NSView * vg = (NSView *)group;
480 NSView * vb = (NSView *)badge;
481 vb.translatesAutoresizingMaskIntoConstraints = NO;
482 [vg addConstraint: [NSLayoutConstraint constraintWithItem:vb attribute:NSLayoutAttributeTop relatedBy:NSLayoutRelationEqual toItem:vg attribute:NSLayoutAttributeTop multiplier:1.0 constant:15]];
483 [vg addConstraint: [NSLayoutConstraint constraintWithItem:vb attribute:NSLayoutAttributeRight relatedBy:NSLayoutRelationEqual toItem:vg attribute:NSLayoutAttributeRight multiplier:1.0 constant:-1]];
484}
◆ addObserver
◆ gesture_handler_key
◆ scroll_pan_active_key
| char scroll_pan_active_key |
|
static |