34 #if !defined (USE_FINAL_H) && !defined (COMPILE_FINAL_CUT)    35   #error "Only <final/final.h> can be included directly."    39 #include "final/ftypes.h"    40 #include "final/util/fstring.h"    53     explicit FColorPair (FColor fg = FColor::Default, FColor bg = FColor::Default)
    59     auto getClassName() 
const -> 
FString    60     { 
return "FColorPair"; }
    62     inline auto getForegroundColor() 
const noexcept -> FColor
    65     inline auto getBackgroundColor() 
const noexcept -> FColor
    69     inline void setForegroundColor (FColor color) noexcept
    72     inline void setBackgroundColor (FColor color) noexcept
    75     inline void setColorPair (
const FColorPair& pair) noexcept
    77       fg_color = pair.fg_color;
    78       bg_color = pair.bg_color;
    81     inline void setColorPair (FColor fg, FColor bg) noexcept
    88     inline void swap() noexcept
    90       std::swap (fg_color, bg_color);
   101 #endif  // FCOLORPAIR_H Definition: class_template.cpp:25
 
Definition: fcolorpair.h:49