OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

77 lines
3.1 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../pekwm/gcc41.patch
  5. # Copyright (C) 2006 The T2 SDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- T2-COPYRIGHT-NOTE-END ---
  16. diff -Nur pekwm-0.1.3-orig/src/FrameWidget.hh pekwm-0.1.3/src/FrameWidget.hh
  17. --- pekwm-0.1.3-orig/src/FrameWidget.hh 2003-06-05 19:12:14.000000000 +0000
  18. +++ pekwm-0.1.3/src/FrameWidget.hh 2006-04-03 12:10:11.537071250 +0000
  19. @@ -78,49 +78,49 @@
  20. // border inlines
  21. inline unsigned int
  22. - FrameWidget::borderTop(void) const {
  23. + borderTop(void) const {
  24. return (_border ? (_focused
  25. ? _theme->getWinFocusedBorder()[BORDER_TOP]->getHeight()
  26. : _theme->getWinUnfocusedBorder()[BORDER_TOP]->getHeight()) : 0);
  27. }
  28. inline unsigned int
  29. - FrameWidget::borderTopLeft(void) const {
  30. + borderTopLeft(void) const {
  31. return (_border ? (_focused
  32. ? _theme->getWinFocusedBorder()[BORDER_TOP_LEFT]->getWidth()
  33. : _theme->getWinUnfocusedBorder()[BORDER_TOP_LEFT]->getWidth()) : 0);
  34. }
  35. inline unsigned int
  36. - FrameWidget::borderTopRight(void) const {
  37. + borderTopRight(void) const {
  38. return (_border ? (_focused
  39. ? _theme->getWinFocusedBorder()[BORDER_TOP_RIGHT]->getWidth()
  40. : _theme->getWinUnfocusedBorder()[BORDER_TOP_RIGHT]->getWidth()) : 0);
  41. }
  42. inline unsigned int
  43. - FrameWidget::borderBottom(void) const {
  44. + borderBottom(void) const {
  45. return (_border ? (_focused
  46. ? _theme->getWinFocusedBorder()[BORDER_BOTTOM]->getHeight()
  47. : _theme->getWinUnfocusedBorder()[BORDER_BOTTOM]->getHeight()) : 0);
  48. }
  49. inline unsigned int
  50. - FrameWidget::borderBottomLeft(void) const {
  51. + borderBottomLeft(void) const {
  52. return (_border ? (_focused
  53. ? _theme->getWinFocusedBorder()[BORDER_BOTTOM_LEFT]->getWidth()
  54. : _theme->getWinUnfocusedBorder()[BORDER_BOTTOM_LEFT]->getWidth()) : 0);
  55. }
  56. inline unsigned int
  57. - FrameWidget::borderBottomRight(void) const {
  58. + borderBottomRight(void) const {
  59. return (_border ? (_focused
  60. ? _theme->getWinFocusedBorder()[BORDER_BOTTOM_RIGHT]->getWidth()
  61. : _theme->getWinUnfocusedBorder()[BORDER_BOTTOM_RIGHT]->getWidth()) : 0);
  62. }
  63. inline unsigned int
  64. - FrameWidget::borderLeft(void) const {
  65. + borderLeft(void) const {
  66. return (_border ? (_focused
  67. ? _theme->getWinFocusedBorder()[BORDER_LEFT]->getWidth()
  68. : _theme->getWinUnfocusedBorder()[BORDER_LEFT]->getWidth()) : 0);
  69. }
  70. inline unsigned int
  71. - FrameWidget::borderRight(void) const {
  72. + borderRight(void) const {
  73. return (_border ? (_focused
  74. ? _theme->getWinFocusedBorder()[BORDER_RIGHT]->getWidth()
  75. : _theme->getWinUnfocusedBorder()[BORDER_RIGHT]->getWidth()) : 0);