OrcaSlicer latest
OrcaSlicer
Loading...
Searching...
No Matches
NSTextField(textColor) Category Reference

Instance Methods

(void) - setTextColor2: [implementation]

Class Methods

(void) + load [implementation]

Detailed Description

Method Documentation

◆ load

+ (void) load
implementation
199{
200 Method setTextColor = class_getInstanceMethod([NSTextField class], @selector(setTextColor:));
201 Method setTextColor2 = class_getInstanceMethod([NSTextField class], @selector(setTextColor2:));
202 method_exchangeImplementations(setTextColor, setTextColor2);
203}
Method
Definition SeamContour.hpp:35

References load.

Referenced by load.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ setTextColor2:

- (void) setTextColor2: (NSColor *) textColor
implementation
184 :(NSColor *)textColor
185{
187 [self setTextColor2: textColor];
188 }else{
190 [self setTextColor2 : NSColor.darkGrayColor];
191 }else{
192 [self setTextColor2 : NSColor.whiteColor];
193 }
194 }
195}
bool is_in_full_screen_mode
Definition MacDarkMode.mm:26
NSTextField * mainframe_text_field
Definition MacDarkMode.mm:25

References Slic3r::GUI::is_in_full_screen_mode, Slic3r::GUI::mainframe_text_field, and setTextColor2:.

Referenced by setTextColor2:.

Here is the call graph for this function:
Here is the caller graph for this function:

The documentation for this category was generated from the following file:
  • /home/runner/work/OrcaSlicer/OrcaSlicer/src/slic3r/Utils/MacDarkMode.mm