note description: "EiffelVision font selection dialog." legal: "See notice at end of class." status: "See notice at end of class." date: "$Date$" revision: "$Revision$" class EV_FONT_DIALOG inherit EV_STANDARD_DIALOG redefine implementation end create default_create, make_with_title feature -- Access font: EV_FONT -- Font selected in `Current'. require not_destroyed: not is_destroyed do Result := implementation.font ensure Result_not_void: Result /= Void bridge_ok: Result.is_equal (implementation.font) end feature -- Element change set_font (a_font: EV_FONT) -- Assign `a_font' to `font'. require not_destroyed: not is_destroyed a_font_not_void: a_font /= Void do implementation.set_font (a_font) end feature {EV_ANY, EV_ANY_I} -- Implementation implementation: EV_FONT_DIALOG_I feature {NONE} -- Implementation create_implementation -- See `{EV_ANY}.create_implementation'. do create {EV_FONT_DIALOG_IMP} implementation.make end note copyright: "Copyright (c) 1984-2006, Eiffel Software and others" license: "Eiffel Forum License v2 (see http://www.eiffel.com/licensing/forum.txt)" source: "[ Eiffel Software 356 Storke Road, Goleta, CA 93117 USA Telephone 805-685-1006, Fax 805-685-6869 Website http://www.eiffel.com Customer support http://support.eiffel.com ]" end -- class EV_FONT_DIALOG