class EL_STOCK_COLORS_IMP
Windows implementation of EL_STOCK_COLORS_I interface
note
description: "Windows implementation of ${EL_STOCK_COLORS_I} interface"
author: "Finnian Reilly"
copyright: "Copyright (c) 2001-2022 Finnian Reilly"
contact: "finnian at eiffel hyphen loop dot com"
license: "MIT license (See: en.wikipedia.org/wiki/MIT_License)"
date: "2024-01-20 19:18:25 GMT (Saturday 20th January 2024)"
revision: "7"
class
EL_STOCK_COLORS_IMP
inherit
EL_STOCK_COLORS_I
EL_WINDOWS_IMPLEMENTATION
feature -- Access
Text_field_background: EV_COLOR
--
local
system_colors: WEL_SYSTEM_COLORS; color_window: WEL_COLOR_REF
once
create system_colors
color_window := system_colors.system_color_window
create Result.make_with_8_bit_rgb (color_window.red, color_window.green, color_window.blue)
end
end