Commit Graph

155 Commits

Author SHA1 Message Date
Marco Pesenti Gritti
0984938f95 New animation API. Start rewriting the frame slidein slideout logic.
(Use the keys for now, mouse is not working)
2007-03-12 12:39:29 +01:00
Marco Pesenti Gritti
57c928916c Refactor sugar.env and paths 2007-03-09 14:57:54 +01:00
Marco Pesenti Gritti
66e341c58e Use button_press virtual method instead of the connect_after hacks. 2007-03-09 13:12:52 +01:00
Marco Pesenti Gritti
cda47a41f4 Implement ToggleIconButton 2007-03-09 11:22:51 +01:00
Marco Pesenti Gritti
ce6d21075f Simplified logic using a grid. It looks ugly but we don't care right now. 2007-03-07 12:11:14 +01:00
Marco Pesenti Gritti
d06c1af638 Tweak menu layout 2007-03-05 13:34:31 +01:00
Marco Pesenti Gritti
5cc06cb5eb Tweak optionmenu and entry paddings 2007-03-05 12:43:32 +01:00
Marco Pesenti Gritti
5ae521be77 Fix aligment of menu icons 2007-03-05 12:29:52 +01:00
Tomeu Vizoso
4b1ca7056e Make action-id in MenuItem be object, not int. 2007-03-04 19:49:03 +01:00
Tomeu Vizoso
d504124cc2 Hack Dan's DataStore for doing what we need for 6th March demo. 2007-03-02 21:17:03 +01:00
Marco Pesenti Gritti
d1a29ecf32 Set font to 7 points. Tweak zoom levels. 2007-03-01 21:38:38 +01:00
Marco Pesenti Gritti
1c69095310 Remove TODO 2007-03-01 16:31:14 +01:00
Marco Pesenti Gritti
8ec1e2b524 Use the dropdown icon. Quite an hack to get the icon size right,
we will have to fix this properly.
2007-03-01 15:52:36 +01:00
Marco Pesenti Gritti
6c16653173 Convert points correctly to device. Tweak zoom factor logic a bit 2007-02-28 21:04:26 +01:00
Tomeu Vizoso
1b869a04f8 Icon and Button fixes. 2007-02-28 19:53:06 +01:00
Marco Pesenti Gritti
abc400f841 Fix points_to_pixels impl 2007-02-28 19:05:56 +01:00
Tomeu Vizoso
6704e1bfd3 Button fixes and fix launching activities from the clipboard. 2007-02-28 16:41:50 +01:00
Marco Pesenti Gritti
b364612615 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-02-28 15:43:11 +01:00
Marco Pesenti Gritti
aec4fcf874 More work on devices, getting there 2007-02-28 15:42:41 +01:00
Tomeu Vizoso
b692eb3833 Entry fixes. 2007-02-28 15:34:40 +01:00
Tomeu Vizoso
0f1adfe1de Specify font size in pixels, not in points. 2007-02-28 14:47:35 +01:00
Tomeu Vizoso
a6a8ad5677 IconButton hover fix. 2007-02-27 23:05:34 +01:00
Tomeu Vizoso
f09a63930f Fix stroke/fill on ZoomBox icons. 2007-02-27 22:35:28 +01:00
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