#include <wx/bitmap.h>
#include <wx/gdicmn.h>
#include <wx/panel.h>
#include <wx/statbmp.h>
#include <wx/window.h>
#include <functional>
#include <gal/color4d.h>
#include <dialogs/dialog_color_picker.h>
 
Go to the source code of this file.
◆ SWATCH_SIZE
| Enumerator | 
|---|
| SWATCH_SMALL  |  | 
| SWATCH_MEDIUM  |  | 
| SWATCH_LARGE  |  | 
| SWATCH_EXPAND  |  | 
Definition at line 38 of file color_swatch.h.
 
 
◆ CHECKERBOARD_SIZE_DU()
  
  
      
        
          | static const wxSize CHECKERBOARD_SIZE_DU  | 
          ( | 
          3 |           ,  | 
         
        
           | 
           | 
          3 |            ) | 
         
       
   | 
  
static   | 
  
 
 
◆ SWATCH_SIZE_LARGE_DU()
  
  
      
        
          | static const wxSize SWATCH_SIZE_LARGE_DU  | 
          ( | 
          24 |           ,  | 
         
        
           | 
           | 
          16 |            ) | 
         
       
   | 
  
static   | 
  
 
 
◆ SWATCH_SIZE_MEDIUM_DU()
  
  
      
        
          | static const wxSize SWATCH_SIZE_MEDIUM_DU  | 
          ( | 
          24 |           ,  | 
         
        
           | 
           | 
          10 |            ) | 
         
       
   | 
  
static   | 
  
 
 
◆ SWATCH_SIZE_SMALL_DU()
  
  
      
        
          | static const wxSize SWATCH_SIZE_SMALL_DU  | 
          ( | 
          8 |           ,  | 
         
        
           | 
           | 
          6 |            ) | 
         
       
   | 
  
static   | 
  
 
 
◆ wxDECLARE_EVENT()
      
        
          | wxDECLARE_EVENT  | 
          ( | 
          COLOR_SWATCH_CHANGED |           ,  | 
        
        
           | 
           | 
          wxCommandEvent |            ) | 
        
      
 
Event signaling a swatch has changed color.