Eiffel Media API
Overview Cluster Class Classes Index      Previous Next      Top Features

em.widget.delegates.eclipse_delegates

Class EM_WIDGET_DRAWING


Known direct descendants

EM_ECLIPSE_TEXTLIST_DELEGATE, EM_ECLIPSE_COMBOBOX_DELEGATE, EM_ECLIPSE_CHECKBOX_DELEGATE, EM_ECLIPSE_SLIDER_DELEGATE, EM_ECLIPSE_PROGRESS_BAR_DELEGATE, EM_ECLIPSE_SCROLLBAR_DELEGATE, EM_BEVEL_BORDER

Features

Invariants

indexing

description

Helper routines for drawing widgets
TODO: refactor colors

date

$Date: 2005/10/23 20:36:21 $

revision

$Revision: 1.6 $

class

EM_WIDGET_DRAWING

feature -- Border

draw_bevel_border (x1, y1, x2, y2: INTEGER; surface: EM_SURFACE; outer_top_left, inner_top_left, outer_bottom_right, inner_bottom_right: EM_COLOR)

-- Draw a bevel border on 'surface'.

draw_bevel_border_down (x1, y1, x2, y2: INTEGER; surface: EM_SURFACE)

-- Draw a bevel border looking "down" on 'surface'.

draw_bevel_border_up (x1, y1, x2, y2: INTEGER; surface: EM_SURFACE)

-- Draw a bevel border looking "down" on 'surface'.

feature -- Colors

down_inner_top_left: EM_COLOR

-- Border color

down_outer_top_left: EM_COLOR

-- Border color

up_inner_bottom_right: EM_COLOR

-- Border color

up_inner_top_left: EM_COLOR

-- Border color

up_outer_bottom_right: EM_COLOR

-- Border color

up_outer_top_left: EM_COLOR

-- Border color

invariant

-- From ANY
reflexive_equality: standard_is_equal (Current)
reflexive_conformance: conforms_to (Current)

end