Exemplo n.º 1
0
        protected override void DrawListMarker(string image, string baseURL, list_style_type marker_type, ref web_color color, ref position pos)
        {
            Context.SetFillColor(color.ToCGColor());

            switch (marker_type)
            {
            case list_style_type.list_style_type_square:
                Context.FillRect(pos.ToRect());
                break;

            case list_style_type.list_style_type_circle:
            default:
                Context.FillEllipseInRect(pos.ToRect());
                break;
            }
        }
Exemplo n.º 2
0
 protected override void DrawListMarker(string image, string baseURL, list_style_type marker_type, ref web_color color, ref position pos)
 {
     DrawRect(pos.x, pos.y, pos.width, pos.height, color.GetBrush());
 }
Exemplo n.º 3
0
 protected abstract void DrawListMarker(string image, string baseURL, list_style_type marker_type, ref web_color color, ref position pos);
Exemplo n.º 4
0
 private void DrawListMarkerCallback(Utf8Str image, Utf8Str baseURL, list_style_type marker_type, ref web_color color, ref position pos)
 {
     DrawListMarker(Utf8Util.Utf8PtrToString(image), Utf8Util.Utf8PtrToString(baseURL), marker_type, ref color, ref pos);
 }