Commit Graph

20203 Commits

Author SHA1 Message Date
Cody Russell
e184fa85bf unset GTK_CAN_FOCUS flag on min/max/close buttons 2010-04-16 14:17:50 -05:00
Cody Russell
e173e3f72b tooltip text on min/max/close buttons 2010-04-16 14:17:50 -05:00
Cody Russell
aa0f5fb87d fix oops 2010-04-16 14:17:50 -05:00
Cody Russell
d4c721a9e1 remove test code again 2010-04-16 14:17:50 -05:00
Cody Russell
cd5ede55c9 add support for window icons 2010-04-16 14:17:50 -05:00
Cody Russell
fe8ad4d746 hide and show min/max buttons based on GdmWMDecorations value 2010-04-16 14:17:50 -05:00
Cody Russell
ea7b05024e check is_client_side_decorated() in ensure_title_box() 2010-04-16 14:17:50 -05:00
Cody Russell
f0c0032171 only update mouse cursor to non-arrow if window is resizable 2010-04-16 14:17:50 -05:00
Cody Russell
f5c141d746 no need for toggle logic in min_button_clicked() 2010-04-16 14:17:50 -05:00
Cody Russell
c59a059551 remove some temporary code 2010-04-16 14:17:50 -05:00
Cody Russell
a3ffbcacba add widget names so they can be accessed from the theme 2010-04-16 14:17:50 -05:00
Cody Russell
4bba6ac660 fix title setting bug 2010-04-16 14:17:50 -05:00
Cody Russell
ceec85b195 fix GtkPlug to always force cs-decorations off 2010-04-16 14:17:50 -05:00
Cody Russell
0358e0d7f7 remove the rgba stuff for now for firefox; temp hack for is_client_side_decorated 2010-04-16 14:17:50 -05:00
Cody Russell
b1ad5235b9 check for both ->client_side_decorated && ->decorated; motion/click only when not maximized 2010-04-16 14:17:50 -05:00
Cody Russell
ad24eb34d5 remove unnecessary change 2010-04-16 14:17:50 -05:00
Cody Russell
3cb8bc456b allocate bin.child's x-position and height by MAX(title height, box height) 2010-04-16 14:17:50 -05:00
Cody Russell
72c57c1b64 fix a mistake in gtkwindow.h 2010-04-16 14:17:50 -05:00
Cody Russell
52276a1402 add container::remove interface 2010-04-16 14:17:50 -05:00
Cody Russell
c284f256c7 button event handlers 2010-04-16 14:17:50 -05:00
Cody Russell
4a3a775aac add buttons 2010-04-16 14:17:50 -05:00
Cody Russell
842e7a216e remove frame event stuff 2010-04-16 14:17:50 -05:00
Cody Russell
cab5f6e0d8 cursor support 2010-04-16 14:17:50 -05:00
Cody Russell
0e6e52c19b remove compute_child_allocation from GtkWindowClass 2010-04-16 14:17:50 -05:00
Cody Russell
50bcb86e64 differentiate between N edge and title in button_press_event 2010-04-16 14:17:49 -05:00
Cody Russell
0051be4ead simple window resizing 2010-04-16 14:17:49 -05:00
Kristian Høgsberg
906020a222 Invalidate window on size_allocate so we redraw correctly 2010-04-16 14:17:49 -05:00
Cody Russell
c84c994a51 check for GDK_DECOR_BORDER before calculating frame size, use style properties for frame sizes 2010-04-16 14:17:49 -05:00
Kristian Høgsberg
e7a8c9da41 Move drawing to gtkstyle.c, use colors from style 2010-04-16 14:17:49 -05:00
Kristian Høgsberg
5d9a615c49 Offset path by half a pixel so we get a nice thin line. 2010-04-16 14:17:49 -05:00
Cody Russell
a741c53d23 check for -1 before setting 2010-04-16 14:17:49 -05:00
Cody Russell
f77ee8dfa6 fix warnings, remove unneeded code 2010-04-16 14:17:49 -05:00
Cody Russell
3bc6bb7632 remove #include "gtkwindow-decorate.h" 2010-04-16 14:17:49 -05:00
Cody Russell
8f7bcc1a44 remove gtkwindow-decorate.[ch] 2010-04-16 14:17:49 -05:00
Cody Russell
2e632ce7e2 put title label in an hbox 2010-04-16 14:17:49 -05:00
Cody Russell
5a6b67b522 remove some old stuff 2010-04-16 14:17:49 -05:00
Cody Russell
fbd4043137 fix sizing and other random changes 2010-04-16 14:17:49 -05:00
Cody Russell
f8f39cd397 temporary window painting 2010-04-16 14:17:49 -05:00
Cody Russell
00a9aaa68c remove unnecessary event propagation from gtk_window_expose 2010-04-16 14:17:49 -05:00
Cody Russell
ac23bb2577 size_allocate improvements 2010-04-16 14:17:49 -05:00
Cody Russell
eacf3b4e8f fix window title 2010-04-16 14:17:49 -05:00
Cody Russell
70760bcca0 do stuff in GtkWindow 2010-04-16 14:17:49 -05:00
Cody Russell
1c0e449cbe container stuff 2010-04-16 14:17:49 -05:00
Cody Russell
4f750e2bec title label widget 2010-04-16 14:17:49 -05:00
Cody Russell
d0a8a7268c wip 2010-04-16 14:17:49 -05:00
Cody Russell
895c8bb951 fixes for sizing 2010-04-16 14:17:49 -05:00
Cody Russell
b418df3d9a wip 2010-04-16 14:17:48 -05:00
Carlos Garnacho
123cf65d4f Also resize GTK_WIDGET (window)->window on size_allocate. 2010-04-16 14:17:48 -05:00
Carlos Garnacho
aa4ccd354c Fix typo. 2010-04-16 14:17:48 -05:00
Cody Russell
87d2a51f56 work in progress 2010-04-16 14:17:48 -05:00