comparison libgui/src/module.mk @ 29220:ab8aa1bb3c2f

add gui utilities with first function for color interpolation * gui-utils.cc: new file; (interpolate_color): new function for deteriming a color similar to a first color but with less contrast to a second one * gui-utils.h: new file with declaration of interpolate_color * file-editor-tab.cc (update_lexer_settings): use new utility function for computing margin colors from given editor colors * led-indicator.cc (style_sheet): use new utility function for computing the colors for the led indicator * module.mk: added source gui.utils.cc with header gui-utils.h
author Torsten Lilge <ttl-octave@mailbox.org>
date Sun, 27 Dec 2020 19:07:32 +0100
parents 8a425e771aa7
children b92614cfdfed
comparison
equal deleted inserted replaced
29219:c2f3a0832cf0 29220:ab8aa1bb3c2f
237 %reldir%/workspace-model.h \ 237 %reldir%/workspace-model.h \
238 %reldir%/workspace-view.h \ 238 %reldir%/workspace-view.h \
239 %reldir%/variable-editor.h \ 239 %reldir%/variable-editor.h \
240 %reldir%/variable-editor-model.h \ 240 %reldir%/variable-editor-model.h \
241 %reldir%/set-path-dialog.h \ 241 %reldir%/set-path-dialog.h \
242 %reldir%/set-path-model.h 242 %reldir%/set-path-model.h \
243 %reldir%/gui-utils.h
243 244
244 245
245 %canon_reldir%_%canon_reldir%_la_SOURCES = \ 246 %canon_reldir%_%canon_reldir%_la_SOURCES = \
246 %reldir%/dialog.cc \ 247 %reldir%/dialog.cc \
247 %reldir%/documentation-dock-widget.cc \ 248 %reldir%/documentation-dock-widget.cc \
278 %reldir%/workspace-model.cc \ 279 %reldir%/workspace-model.cc \
279 %reldir%/workspace-view.cc \ 280 %reldir%/workspace-view.cc \
280 %reldir%/variable-editor.cc \ 281 %reldir%/variable-editor.cc \
281 %reldir%/variable-editor-model.cc \ 282 %reldir%/variable-editor-model.cc \
282 %reldir%/set-path-dialog.cc \ 283 %reldir%/set-path-dialog.cc \
283 %reldir%/set-path-model.cc 284 %reldir%/set-path-model.cc \
285 %reldir%/gui-utils.cc
284 286
285 nodist_%canon_reldir%_%canon_reldir%_la_SOURCES = \ 287 nodist_%canon_reldir%_%canon_reldir%_la_SOURCES = \
286 $(octave_gui_MOC) \ 288 $(octave_gui_MOC) \
287 $(octave_gui_RC) 289 $(octave_gui_RC)
288 290