Commit Graph

132 Commits

Author SHA1 Message Date
Marco Pesenti Gritti
b3452663bc Use a custom style to get rid of the damned window background 2007-02-27 20:08:33 +01:00
Marco Pesenti Gritti
b2f50f9da4 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-02-27 17:05:01 +01:00
Marco Pesenti Gritti
7081909d2d Fix some bugs with frame animation and enable it 2007-02-27 17:04:15 +01:00
Tomeu Vizoso
d398b37645 Button fixes. 2007-02-27 15:31:05 +01:00
Marco Pesenti Gritti
2e2db562c5 Make the canvas window background transparent 2007-02-27 13:56:00 +01:00
Marco Pesenti Gritti
b04c19efb4 Add a window class to graphics, it contains a canvas. 2007-02-27 13:41:51 +01:00
Tomeu Vizoso
de902c41fd Added Button control. 2007-02-26 17:35:58 +01:00
Tomeu Vizoso
6b31f57257 Some control fixes. 2007-02-26 12:40:14 +01:00
Dan Williams
c1efa0a266 Ensure correctly formatted color 2007-02-25 22:23:27 -05:00
Marco Pesenti Gritti
b26ddc64ba Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-02-25 15:33:01 +01:00
Marco Pesenti Gritti
10bfe004a8 Fix strength propagation 2007-02-25 15:05:56 +01:00
Tomeu Vizoso
bba86e5b74 First try at menu sizing in OptionMenu. 2007-02-25 14:58:18 +01:00
Tomeu Vizoso
067f703bfe Make OptionMenu grab the pointer on popup. 2007-02-24 18:18:50 +01:00
Tomeu Vizoso
951e92395b Make the default icon scale depend on the screen resolution. 2007-02-24 17:15:47 +01:00
Tomeu Vizoso
5714396e34 Add hovering to MenuItem. 2007-02-24 15:30:16 +01:00
Tomeu Vizoso
2b1445be6c Adjusted rounded box radius. 2007-02-24 15:22:16 +01:00
Tomeu Vizoso
ce800fbc66 Add hover to BuddyIcon in the Frame. 2007-02-24 14:58:38 +01:00
Tomeu Vizoso
6a58df67a0 Highlight buttons and change menu background to black. 2007-02-23 20:39:52 +01:00
Tomeu Vizoso
a2e5b9308e Rename color property in CanvasIcon to xo-color and added properties fill-color and stroke-color. 2007-02-23 17:08:37 +01:00
Marco Pesenti Gritti
7cfeb76d4a Rework the implementation and add an explanation
about units and resolution indipendance in sugar.
2007-02-23 15:29:59 +01:00
Tomeu Vizoso
cb0d75eb59 Rename IconColor to XoColor. 2007-02-23 13:09:33 +01:00
Tomeu Vizoso
b8792c5c32 Added some SystemColors for the buttons. 2007-02-23 12:45:06 +01:00
Tomeu Vizoso
6756c00917 Added tooltips to CanvasIcon and implement popup positioning in the Frame. 2007-02-22 22:51:24 +01:00
Tomeu Vizoso
2f4822f1cd Make OptionMenu use the new Menu and MenuItem classes. 2007-02-22 12:34:38 +01:00
Tomeu Vizoso
d4639a1764 Use hippo.CanvasContext.translate_to_screen() for positioning popups. 2007-02-21 21:29:08 +01:00
Tomeu Vizoso
c9af045e43 Removed MenuIcon. 2007-02-21 21:15:08 +01:00
Tomeu Vizoso
b452b7d718 Make ClipboardIcon use the new Menu. 2007-02-21 21:12:27 +01:00
Tomeu Vizoso
7be3333671 Make BuddyIcon and BuddyMenu use the new Menu. 2007-02-21 17:55:44 +01:00
Tomeu Vizoso
3ce2a67304 Refactored Menu out of Popup. 2007-02-21 17:05:41 +01:00
Tomeu Vizoso
c05b179675 Fix wrong import. 2007-02-21 15:45:19 +01:00
Tomeu Vizoso
00db5e15a5 Move popup activation logic from IconButton to CanvasIcon. 2007-02-21 14:13:52 +01:00
Tomeu Vizoso
c58b6c5587 Make IconButton inherit from Button instead of containing it. 2007-02-21 13:51:44 +01:00
Tomeu Vizoso
500f979302 Renamed Button to IconButton. 2007-02-21 13:01:20 +01:00
Tomeu Vizoso
abff0a8cec Throw NotImplementedError in abstract method. 2007-02-21 12:02:57 +01:00
Tomeu Vizoso
111da5911a Allow for having the popup positioning logic in PopupContext. 2007-02-21 11:42:47 +01:00
Tomeu Vizoso
bbfe539429 Renamed Rollover to Popup. 2007-02-21 10:16:03 +01:00
Marco Pesenti Gritti
affba784cf Add missing files 2007-02-20 22:34:36 +01:00
Marco Pesenti Gritti
0ccaf0dac8 Remove the style stuff 2007-02-20 22:15:31 +01:00
Tomeu Vizoso
f3cf928f31 Added Rollover control. 2007-02-20 16:38:25 +01:00
Marco Pesenti Gritti
7e96b1afb7 Get rid of the old grid. Never use absolute positioning. 2007-02-20 16:23:49 +01:00
Marco Pesenti Gritti
3de915db96 Completely drop stylesheets. Move some of it inside the nm service, don't want to touch that code because it will be rewritten. 2007-02-20 15:10:18 +01:00
Marco Pesenti Gritti
ee66b2237d More work to get rid of stylesheets, some regressions. 2007-02-20 14:57:50 +01:00
Marco Pesenti Gritti
b44715cf08 Remove deprecated style stuff 2007-02-20 14:28:49 +01:00
Marco Pesenti Gritti
c9b103dfef Refactor button a bit to support different sizes. Use it for the overlaybox. 2007-02-16 15:24:02 +01:00
Tomeu Vizoso
6ee8067b06 Temporary fix until the next hippo-canvas. 2007-02-15 20:32:25 +01:00
Tomeu Vizoso
28f10bf142 OptionMenu fixes and API updates. 2007-02-15 19:18:15 +01:00
Marco Pesenti Gritti
fa4c775bc9 Add icon sizes 2007-02-15 19:03:24 +01:00
Marco Pesenti Gritti
67c9268a75 Take in account screen size 2007-02-15 18:55:32 +01:00
Marco Pesenti Gritti
2e8bd12f8b Rework color and fonts to be more pytonish. Add units conversions. 2007-02-15 18:48:58 +01:00
Tomeu Vizoso
32c89a1fcb New widget OptionMenu. 2007-02-15 18:23:52 +01:00