Commit Graph

33875 Commits

Author SHA1 Message Date
952ae5caec Fix typo in eti_update(). 2010-10-29 13:51:38 -04:00
b5f2dc92ff Actually set the path in gnome_canvas_shape_set_path(). 2010-10-29 13:51:38 -04:00
d9d9d7f0ef Restore update method in ECanvasBackground
Restore the update() method in ECanvasBackground.  Without a redraw
request the draw() method is never called.  For some reason this isn't
noticeable on gtk+-3.0 -- ETable and ETree backgrounds are still white
-- but on gtk+-2.0 the backgrounds are grey.
2010-10-29 13:51:38 -04:00
06943232b3 Fix typo in EText.
Fill color properties should be write-only, not read-only.
2010-10-29 13:51:38 -04:00
df5ff95999 Adapt branch for building with GTK+ 2.22. 2010-10-29 13:51:38 -04:00
ac3903ac0f Reinstate GDK_DISABLE_DEPRECATED
Everything compiles with this flag now.
2010-10-29 13:50:05 -04:00
eeab97be42 calendar: Don't draw a shadow outside of the widget 2010-10-29 13:50:05 -04:00
08405c6950 calendar: Remove now unused gcs and colormap handling from EWeekView 2010-10-29 13:50:05 -04:00
2cb8ee8d45 calendar: Draw EWeekViewTitlesItem with cairo 2010-10-29 13:50:05 -04:00
d1487cdf64 calendar: draw EWeekViewEventItem with cairo 2010-10-29 13:50:05 -04:00
032a2a9c06 calendar: Remove unused variable 2010-10-29 13:50:05 -04:00
d262e26a02 e-table: Remove unused dnd pixmaps 2010-10-29 13:50:05 -04:00
8563661b4e e-table: Don't push/pop colormaps
It's not necessary anymore.
2010-10-29 13:50:04 -04:00
d98a5c50d4 e-table: Draw button with cairo 2010-10-29 13:50:04 -04:00
73ccbf4029 e-table: Draw ECellTree with cairo 2010-10-29 13:50:04 -04:00
7d2fc0cf9e e-text: Draw EReflow with cairo 2010-10-29 13:50:04 -04:00
eaf4b5a865 e-text: Fix color handling
- "color" and "color-gdk" properties aren't readable (Their values would
  be wrong if an alpha channel was set).
- Use the rgba color when rendering
- Don't allocate the color in the colormap anymore.
2010-10-29 13:50:04 -04:00
168b536e82 e-map: Take colormap and visual from the widget
No need to use magic visuals and colormaps anymore, we're all cairo
these days.
2010-10-29 13:50:04 -04:00
200df519f1 gnome-canvas: Remove functions that allocate colors
Cairo doesn't need allocated colors.

Yay, gnome-canvas now compiles with GDK_DISABLE_DEPRECATED.
2010-10-29 13:50:04 -04:00
b6cc0f11b8 gnome-canvas: Use gdk_parse_color() in GnomeCanvasShape
We don't want to allocate colors anymore. It's not needed with cairo.
2010-10-29 13:50:04 -04:00
a0dbaa9449 calendar: Draw meeting time selector with cairo 2010-10-29 13:50:04 -04:00
90381cf3bc calendar: Draw day view with cairo 2010-10-29 13:50:04 -04:00
90c26d6fe6 e-table: Remove retro look
It's not used by themes so I don't see the need to port it.
2010-10-29 13:50:04 -04:00
68c2986245 e-table: Remove unused GdkGC 2010-10-29 13:50:04 -04:00
1e74b08c03 e-table: Draw ECellText with cairo 2010-10-29 13:50:04 -04:00
39a6c1b9e7 e-table: Use gdk_pango_layout_get_clip_region() in ECellText 2010-10-29 13:50:04 -04:00
1f1d70ba44 e-table: Remove unused GdkGC from ECellToggle 2010-10-29 13:50:03 -04:00
eab0fac0cc e-table: Use Pango ellipsizing instead of manual arrow drawing 2010-10-29 13:50:03 -04:00
ecee88725f gnome-canvas: Port drawing to use cairo 2010-10-29 13:50:03 -04:00
861c878514 gnome-canvas: Remove gnome_canvas_set_stipple_origin() 2010-10-29 13:50:03 -04:00
7d8966eae3 gnome-canvas: Port GnomeCanvasText to use cairo 2010-10-29 13:50:03 -04:00
d6a0c006c1 e-map: Stuff tween duration into a macro so it's easier to change 2010-10-29 13:50:03 -04:00
5d73cd320f e-map: Add simplification API to zoom from a certain state 2010-10-29 13:50:03 -04:00
963d59c44a e-map: Zoom out smoothly, too 2010-10-29 13:50:03 -04:00
6c15378fc0 e-map: Redo zooming
Instead of hacky magic, we now use cairo and a naïve implementation of
tweening.
2010-10-29 13:50:03 -04:00
edb4b36b8d e-map: Make center_at() function take longitude/latitude
Way easier than to try to get the coordinates right.
Includes refactoring to introduce e_map_world_to_render_surface() that
computes coordinates on the background surface to make this stuff
easier.
2010-10-29 13:50:03 -04:00
eda95a9c33 e-map: Introduce e_map_get_current_location()
... and use it when zooming out
2010-10-29 13:50:03 -04:00
b5ee0e3e82 e-map: Use gtk_alignment_configure()
Nothing but a massive code cleanup
2010-10-29 13:50:03 -04:00
abe994285a e-map: Repaint points unconditionally
The in_view() check is broken because it doesn't repaint points that are
1px outside the window. The point take 2 extra pixels in every direction
after all. And gtk_widget_queue_draw_area() will automatically discard
out-of-range rects anyway.
2010-10-29 13:50:03 -04:00
f71506a5e0 e-map: Make cache a server-side surface
Doing performance optimizations on the client is not a good idea...
2010-10-29 13:50:03 -04:00
97739da7ca e-map: Query adjustment for size, not pixbuf 2010-10-29 13:50:02 -04:00
c52b0f748f e-map: pass width and height to set_scroll_area() directly 2010-10-29 13:50:02 -04:00
791b5f68a1 e-map: Draw with cairo 2010-10-29 13:50:02 -04:00
a21ae31d94 e-map: Update the xofs/yofs properties together with the adjustments 2010-10-29 13:50:02 -04:00
26c62ff150 e-map: Don't block signal handlers
The signal handler will no-op the operations anyway, because nothing
changed.
2010-10-29 13:50:02 -04:00
43f1c47f88 e-map: Move all rendering into the expose event
For the zoom, we now use the long-deprecated gtk_widget_draw() to force
repaints.
2010-10-29 13:50:02 -04:00
a171cf15e3 e-map: Always repaint the whole window on scrolls
We cannot move parts of the window with GTK3 APIs, so stop doing it.
2010-10-29 13:50:02 -04:00
8a0f0cfdc9 e-text: Draw with cairo 2010-10-29 13:50:02 -04:00
d5cf0c298c e-text: Use gdk_pango_layout_get_clip_region() for selection rendering 2010-10-29 13:50:02 -04:00
00b6c62989 widgets: Don't use GdkGC in ECalendarItem 2010-10-29 13:50:02 -04:00