GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
BaseControl.cc File Reference
#include <QEvent>
#include <QKeyEvent>
#include <QMouseEvent>
#include <QWidget>
#include "BaseControl.h"
#include "ContextMenu.h"
#include "QtHandlesUtils.h"
#include "graphics.h"
#include "interpreter.h"
Include dependency graph for BaseControl.cc:

Go to the source code of this file.

Functions

static void updatePalette (const uicontrol::properties &props, QWidget *w)
 

Function Documentation

◆ updatePalette()

static void updatePalette ( const uicontrol::properties &  props,
QWidget w 
)
static

Definition at line 45 of file BaseControl.cc.

References abs(), Matrix::fill(), Utils::fromRgb(), and Faddeeva::w().

Referenced by BaseControl::init(), and BaseControl::update().