From: <bar...@us...> - 2009-06-05 13:07:40
|
Revision: 39 http://mevislabmodules.svn.sourceforge.net/mevislabmodules/?rev=39&view=rev Author: bartdedobbelaer Date: 2009-06-05 13:07:12 +0000 (Fri, 05 Jun 2009) Log Message: ----------- - Added styles Added Paths: ----------- trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/ trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/ trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/data/ trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/data/bullet.png trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/data/footerMiddle.png trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/data/headerLeft.png trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/data/headerMiddle.png trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/data/headerMiddle2.png trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/data/headerRight.png trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/data/menuBottom.png trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/data/menuMiddle.png trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/data/menuSeparator.png trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/data/subBullet.png trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/style trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/style.png trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/tags trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/template trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/MeVisLab/ trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/MeVisLab/data/ trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/MeVisLab/data/background.png trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/MeVisLab/data/headerLeft.png trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/MeVisLab/data/headerMiddle.png trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/MeVisLab/data/headerRight.png trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/MeVisLab/style trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/MeVisLab/style.png trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/MeVisLab/tags trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/MeVisLab/template trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/UZ/ trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/UZ/data/ trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/UZ/data/bullet.png trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/UZ/data/footerMiddle.png trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/UZ/data/headerLeft.png trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/UZ/data/headerMiddle.png trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/UZ/data/headerRight.png trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/UZ/data/separatorBullet.png trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/UZ/data/subBullet.png trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/UZ/style trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/UZ/style.png trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/UZ/tags trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/UZ/template Added: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/data/bullet.png =================================================================== (Binary files differ) Property changes on: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/data/bullet.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/data/footerMiddle.png =================================================================== (Binary files differ) Property changes on: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/data/footerMiddle.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/data/headerLeft.png =================================================================== (Binary files differ) Property changes on: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/data/headerLeft.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/data/headerMiddle.png =================================================================== (Binary files differ) Property changes on: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/data/headerMiddle.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/data/headerMiddle2.png =================================================================== (Binary files differ) Property changes on: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/data/headerMiddle2.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/data/headerRight.png =================================================================== (Binary files differ) Property changes on: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/data/headerRight.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/data/menuBottom.png =================================================================== (Binary files differ) Property changes on: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/data/menuBottom.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/data/menuMiddle.png =================================================================== (Binary files differ) Property changes on: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/data/menuMiddle.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/data/menuSeparator.png =================================================================== (Binary files differ) Property changes on: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/data/menuSeparator.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/data/subBullet.png =================================================================== (Binary files differ) Property changes on: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/data/subBullet.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/style =================================================================== --- trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/style (rev 0) +++ trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/style 2009-06-05 13:07:12 UTC (rev 39) @@ -0,0 +1,93 @@ + +DefineStyle KUL.whiteBackground { + derive = Panel.default + colors { + bg = white + } +} + +//////////////////////////////////////////////////////////// + +DefineStyle KUL.menuText { + titleFont { + weight = Bold + } + colors { + fg = "#333333" + bg = "white:$(LOCAL)/style/headerMiddle2.png" + } +} + +//////////////////////////////////////////////////////////// + +DefineStyle KUL.titleText { + titleFont { + weight = Bold + size = 16 + } + colors { + fg = "#a60046" + bg = "white" + } +} + +//////////////////////////////////////////////////////////// + +DefineStyle KUL.headerText { + titleFont { + size = 24 + } + colors { + fg = "white" + bg = "white:$(LOCAL)/style/headerMiddle.png" + } +} + +//////////////////////////////////////////////////////////// + +DefineStyle KUL.separatorText { + titleFont { + weight = Bold + size = 48 + } + colors { + fg = "#a60046" + bg = "white" + } +} + +//////////////////////////////////////////////////////////// + +DefineStyle KUL.footerText { + + colors { + fg = "black" + bg = "#E8F5F6:$(LOCAL)/style/footerMiddle.png" + } +} + +//////////////////////////////////////////////////////////// + +DefineStyle KUL.bulletText { + titleFont { + size = [SCALE = 20] + } + colors { + fg = "#333333" + bg = "white" + } +} + +//////////////////////////////////////////////////////////// + +DefineStyle KUL.subBulletText { + titleFont { + size = [SCALE = 18] + } + colors { + fg = "#333333" + bg = "white" + } +} + +//////////////////////////////////////////////////////////// Added: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/style.png =================================================================== (Binary files differ) Property changes on: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/style.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/tags =================================================================== --- trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/tags (rev 0) +++ trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/tags 2009-06-05 13:07:12 UTC (rev 39) @@ -0,0 +1,54 @@ + +[SLIDETITLE] = Horizontal { + Label { + expandX = YES + h = 30 mh = 30 ph = 30 + alignY = Center + alignX = Right + style = KUL.titleText + title = [TEXT] + } + } + +//////////////////////////////////////////////////////////// + +[MENUITEM] = Label { style = KUL.menuText title = [TEXT] [NAME] } Empty { w = 5 } + +//////////////////////////////////////////////////////////// + +[MENUEMPTY] = + +//////////////////////////////////////////////////////////// + +[BULLET] = Horizontal { + expandX = YES + expandY = NO + alignX = Left + Empty { w = 20 } + Image { image = $(LOCAL)/style/bullet.png } + Label { title = [TEXT] style = KUL.bulletText } + } + +//////////////////////////////////////////////////////////// + +[BULLETSUB] = Horizontal { + expandX = YES + expandY = NO + alignX = Left + Empty { w = 40 } + Image { image = $(LOCAL)/style/subBullet.png } + Label { title = [TEXT] style = KUL.subBulletText } + } + +//////////////////////////////////////////////////////////// + +[SEPARATOR] = + Empty { expandY = YES } + Horizontal { + alignX = Center + Label { title = [TEXT] style = KUL.separatorText } + } + Empty { expandY = YES } + +//////////////////////////////////////////////////////////// + Added: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/template =================================================================== --- trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/template (rev 0) +++ trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/KUL/template 2009-06-05 13:07:12 UTC (rev 39) @@ -0,0 +1,242 @@ + +Interface { + Inputs {} + Outputs {} + Parameters { } +} + +Commands { + source = $(LOCAL)/template.py +} + +Window "MainWindow" { + + Accel { key = "F5" command = showFullScreen } + Accel { key = "Escape" command = showNormalScreen } + Accel { key = "Right" command = navigateSlideUp } + Accel { key = "Down" command = navigateSlideUp } + Accel { key = "Page Down" command = navigateSlideUp } + Accel { key = "Left" command = navigateSlideDown } + Accel { key = "Up" command = navigateSlideDown } + Accel { key = "Page Up" command = navigateSlideDown } + Accel { key = "Home" command = navigateSlideHome } + + wakeupCommand = init + + name = main + + style = KUL.whiteBackground + + EventFilter { + control = main + filter = Enter + children = no + command = grabFocus + } + /*EventFilter { + control = main + filter = MouseButtonRelease + children = no + command = navigateSlideMouse + }*/ + + Vertical { + expandX = YES + expandY = YES + margin = 0 + spacing = 0 + frameMargin = 0 + + // HEADER + Empty { + h = 10 mh = 10 ph = 10 + } + + Horizontal { + alignY = top + expandX = YES + expandY = NO + h = 76 mh = 76 ph = 76 + + style { + colors { + bg = "white:$(LOCAL)/style/headerMiddle.png" + } + } + bgMode = stretchX + + Empty { + w = 10 + } + Image { + image = $(LOCAL)/style/headerLeft.png + alignX = Left + } + + Empty { + w = 10 + } + + // HEADER TITLE + Vertical { + alignY = Center + expandX = YES + expandY = YES + h = 76 mh = 76 ph = 76 + + // INCLUDE HEADER + Label { + style = KUL.headerText + title = [HEADER] + } + + + }// END HEADER TITLE + + Image { + image = $(LOCAL)/style/headerRight.png + alignX = Right + } + } + + // MENU ITEMS + Horizontal { + expandX = YES + expandY = YES + h = 22 mh = 22 ph = 22 maxh = 22 + name = menu + + style { + colors { + bg = "white:$(LOCAL)/style/headerMiddle2.png" + } + } + bgMode = stretchX + + Empty { + w = 10 + } + + // INCLUDE MENU + [MENU] + + Empty { + expandX = YES + } + + EventFilter { + control = menu + filter = MouseButtonRelease + command = navigateToSlide + name = menuEventFilter + children = YES + eatEvent = YES + } + } + + Empty { + h = 10 mh = 10 ph = 10 + }// END HEADER + + // CONTENT + Horizontal { + expandX = YES + expandY = YES + + // LEFT SPACER + Empty { + alignX = Left + expandX = NO + expandY = YES + w = 10 + } + + // SLIDES + Vertical { + expandX = YES + expandY = YES + + TabView { + expandX = YES + expandY = YES + name = slides + mode = invisible + + // INCLUDE SLIDES + [SLIDES] + + }// END TABVIEW + + + }// END SLIDES + + // RIGHT SPACER + Empty { + alignX = Right + expandX = NO + expandY = YES + w = 10 + } + + }// END CONTENT + + // FOOTER + Empty { + h = 10 mh = 10 ph = 10 + } + + Horizontal { + //alignY = bottom + expandX = YES + expandY = NO + h = 40 mh = 40 ph = 40 + + style { + colors { + bg = "white:$(LOCAL)/style/footerMiddle.png" + } + } + bgMode = stretchX + + Horizontal { + alignY = Center + alignX = Center + expandX = YES + expandY = NO + h = 40 mh = 40 ph = 40 + + Label { + style = KUL.footerText + title = [FOOTER] + } + Label { + title = " | " + style = KUL.footerText + } + Label { + title = "" + name = autoSlideCounter + style = KUL.footerText + } + Label { + title = " | " + style = KUL.footerText + } + Label { + title = "" + name = autoDate + style = KUL.footerText + } + } + + } + + Empty { + h = 10 mh = 10 ph = 10 + }// END FOOTER + + }// END GLOBAL VERTICAL + + Execute = grabFocus + +}// END WINDOW Added: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/MeVisLab/data/background.png =================================================================== (Binary files differ) Property changes on: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/MeVisLab/data/background.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/MeVisLab/data/headerLeft.png =================================================================== (Binary files differ) Property changes on: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/MeVisLab/data/headerLeft.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/MeVisLab/data/headerMiddle.png =================================================================== (Binary files differ) Property changes on: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/MeVisLab/data/headerMiddle.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/MeVisLab/data/headerRight.png =================================================================== (Binary files differ) Property changes on: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/MeVisLab/data/headerRight.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/MeVisLab/style =================================================================== --- trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/MeVisLab/style (rev 0) +++ trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/MeVisLab/style 2009-06-05 13:07:12 UTC (rev 39) @@ -0,0 +1,31 @@ + +DefineStyle MeVisLab.background { + derive = Panel.default + colors { + bg = "white:$(LOCAL)/style/background.png" + } +} + +//////////////////////////////////////////////////////////// + +DefineStyle MeVisLab.titleText { + titleFont { + family = Helvetica + size = 30 + } + colors { + fg = "white" + } +} + +//////////////////////////////////////////////////////////// + +DefineStyle MeVisLab.footerText { + derive = Panel.default + colors { + fg = "white" + bg = "white:$(LOCAL)/style/background.png" + } +} + +//////////////////////////////////////////////////////////// Added: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/MeVisLab/style.png =================================================================== (Binary files differ) Property changes on: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/MeVisLab/style.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/MeVisLab/tags =================================================================== --- trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/MeVisLab/tags (rev 0) +++ trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/MeVisLab/tags 2009-06-05 13:07:12 UTC (rev 39) @@ -0,0 +1,12 @@ + +[SLIDETITLE] = Horizontal { + Label { + alignX = Center + alignY = Center + style = MeVisLab.titleText + title = [TEXT] + } + } + +//////////////////////////////////////////////////////////// + Added: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/MeVisLab/template =================================================================== --- trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/MeVisLab/template (rev 0) +++ trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/MeVisLab/template 2009-06-05 13:07:12 UTC (rev 39) @@ -0,0 +1,179 @@ + +Interface { + Inputs {} + Outputs {} + Parameters { } +} + +Commands { + source = $(LOCAL)/template.py +} + +Window "MainWindow" { + + Accel { key = "F5" command = showFullScreen } + Accel { key = "Escape" command = showNormalScreen } + Accel { key = "Right" command = navigateSlideUp } + Accel { key = "Down" command = navigateSlideUp } + Accel { key = "Page Down" command = navigateSlideUp } + Accel { key = "Left" command = navigateSlideDown } + Accel { key = "Up" command = navigateSlideDown } + Accel { key = "Page Up" command = navigateSlideDown } + Accel { key = "Home" command = navigateSlideHome } + + wakeupCommand = init + + name = main + + style = MeVisLab.background + bgMode = stretchX + + + EventFilter { + control = main + filter = Enter + children = no + command = grabFocus + } + /*EventFilter { + control = main + filter = MouseButtonRelease + children = no + command = navigateSlideMouse + }*/ + + Vertical { + expandX = YES + expandY = YES + margin = 0 + spacing = 0 + frameMargin = 0 + + // HEADER + + Horizontal { + alignY = Bottom + expandX = YES + expandY = NO + h = 85 + + style { + colors { + bg = "white:$(LOCAL)/style/headerMiddle.png" + } + } + bgMode = stretchX + + Image { + image = $(LOCAL)/style/headerLeft.png + alignX = Left + } + + Empty { + w = 10 + expandX = YES + } + + Image { + image = $(LOCAL)/style/headerRight.png + alignX = Right + } + + Empty { w = 10 } + } + + // CONTENT + Horizontal { + expandX = YES + expandY = YES + + // LEFT SPACER + Empty { + alignX = Left + expandX = NO + expandY = YES + w = 10 + } + + // SLIDES + Vertical { + expandX = YES + expandY = YES + + TabView { + expandX = YES + expandY = YES + name = slides + mode = invisible + + // INCLUDE SLIDES + [SLIDES] + + }// END TABVIEW + + }// END SLIDES + + // RIGHT SPACER + Empty { + alignX = Right + expandX = NO + expandY = YES + w = 10 + } + + }// END CONTENT + + // FOOTER + + Empty { + h = 10 + } + Horizontal { + alignY = bottom + expandX = YES + expandY = NO + h = 20 + + style { + colors { + bg = "white:$(LOCAL)/style/background.png" + } + } + bgMode = stretchX + + Horizontal { + alignX = Left + Empty { w = 10 } + Label { + style = MeVisLab.footerText + title = [FOOTER] + } + Label { + title = " - " + style = MeVisLab.footerText + } + Label { + title = "" + name = autoDate + style = MeVisLab.footerText + } + } + + Horizontal { + alignX = Center + Label { + title = "" + name = autoSlideCounter + style = MeVisLab.footerText + } + } + + Empty { w = 10 alignX = Right } + + } // END FOOTER + + }// END GLOBAL VERTICAL + + Execute = grabFocus + +}// END WINDOW Added: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/UZ/data/bullet.png =================================================================== (Binary files differ) Property changes on: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/UZ/data/bullet.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/UZ/data/footerMiddle.png =================================================================== (Binary files differ) Property changes on: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/UZ/data/footerMiddle.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/UZ/data/headerLeft.png =================================================================== (Binary files differ) Property changes on: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/UZ/data/headerLeft.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/UZ/data/headerMiddle.png =================================================================== (Binary files differ) Property changes on: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/UZ/data/headerMiddle.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/UZ/data/headerRight.png =================================================================== (Binary files differ) Property changes on: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/UZ/data/headerRight.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/UZ/data/separatorBullet.png =================================================================== (Binary files differ) Property changes on: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/UZ/data/separatorBullet.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/UZ/data/subBullet.png =================================================================== (Binary files differ) Property changes on: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/UZ/data/subBullet.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/UZ/style =================================================================== --- trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/UZ/style (rev 0) +++ trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/UZ/style 2009-06-05 13:07:12 UTC (rev 39) @@ -0,0 +1,127 @@ + +DefineStyle UZ.whiteBackground { + derive = Panel.default + colors { + bg = white + } +} + +//////////////////////////////////////////////////////////// + +DefineStyle UZ.menuText { + titleFont { + weight = Bold + } + colors { + fg = "black" + bg = "white:$(LOCAL)/style/headerMiddle.png" + } +} + +//////////////////////////////////////////////////////////// + +DefineStyle UZ.titleText { + titleFont { + weight = Bold + size = 36 + } + colors { + fg = "#00a1d7" + bg = "white" + } +} + +//////////////////////////////////////////////////////////// + +DefineStyle UZ.separatorText { + titleFont { + weight = Bold + size = 48 + } + colors { + fg = "#00a1d7" + bg = "white" + } +} + +//////////////////////////////////////////////////////////// + +DefineStyle UZ.headerText { + titleFont { + size = 36 + } + colors { + fg = "#979797" + bg = "white" + } +} + +//////////////////////////////////////////////////////////// + +DefineStyle UZ.footerText { + colors { + fg = "black" + bg = "white:$(LOCAL)/style/footerMiddle.png" + } +} + +//////////////////////////////////////////////////////////// + +DefineStyle UZ.bulletText { + titleFont { + size = [SCALE = 20] + } + colors { + fg = "#979797" + bg = "white" + } +} + +//////////////////////////////////////////////////////////// + +DefineStyle UZ.subBulletText { + titleFont { + size = [SCALE = 18] + } + colors { + fg = "#00a1d7" + bg = "white" + } +} + +//////////////////////////////////////////////////////////// + +DefineStyle UZ.button { + derive = Panel.default + colors { + button = "white" + buttonText = "#00a1d7" + } +} + +//////////////////////////////////////////////////////////// + +DefineStyle UZ.subSeparatorText { + titleFont { + size = [SCALE = 12] + } + colors { + fg = "#979797" + bg = "white" + } +} + +//////////////////////////////////////////////////////////// + +DefineStyle UZ.smallBulletText { + titleFont { + size = [SCALE = 6] + } + colors { + fg = "#00a1d7" + bg = "white" + } +} + +//////////////////////////////////////////////////////////// + Added: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/UZ/style.png =================================================================== (Binary files differ) Property changes on: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/UZ/style.png ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Added: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/UZ/tags =================================================================== --- trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/UZ/tags (rev 0) +++ trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/UZ/tags 2009-06-05 13:07:12 UTC (rev 39) @@ -0,0 +1,93 @@ + +[SLIDETITLE] = Horizontal { + Label { + expandX = Yes + h = 30 mh = 30 ph = 30 + alignY = Center + alignX = Right + style = UZ.titleText + title = [TEXT] + } + } + +//////////////////////////////////////////////////////////// + +[MENUITEM] = Label { style = UZ.menuText title = [TEXT] [NAME] } Empty { w = 5 } + +//////////////////////////////////////////////////////////// + +[MENUEMPTY] = + +//////////////////////////////////////////////////////////// + +[BULLET] = Horizontal { + expandX = Yes + expandY = No + alignX = Left + Image { image = $(LOCAL)/style/bullet.png } + Label { title = [TEXT] style = UZ.bulletText } + } + +//////////////////////////////////////////////////////////// + +[BULLETSUB] = Horizontal { + expandX = Yes + expandY = No + alignX = Left + Empty { w = 40 } + Image { image = $(LOCAL)/style/subBullet.png } + Label { title = [TEXT] style = UZ.subBulletText } + } + +//////////////////////////////////////////////////////////// + +[BULLETSMALL] = Horizontal { + expandX = Yes + expandY = No + alignX = Right + Label { title = [TEXT] style = UZ.smallBulletText } + Empty { w = 10 } + Image { image = $(LOCAL)/style/separatorBullet.png } + Empty { w = 10 } + } + +//////////////////////////////////////////////////////////// + +[BULLETEMPTY] = Horizontal { + expandX = Yes + expandY = No + alignX = Left + Label { title = [TEXT] style = UZ.bulletText } + } + +//////////////////////////////////////////////////////////// + +[BULLETSUBEMPTY] = Horizontal { + expandX = Yes + expandY = No + alignX = Left + Label { title = [TEXT] style = UZ.subBulletText } + } + +//////////////////////////////////////////////////////////// + +[SEPARATOR] = + Empty { expandY = Yes } + Horizontal { + alignX = Center + Label { title = [TEXT] style = UZ.separatorText } + } + +//////////////////////////////////////////////////////////// + +[SEPARATORSUB] = Horizontal { + expandX = Yes + expandY = No + alignX = Right + Label { title = [TEXT] style = UZ.subSeparatorText } + Empty { w = 10 } + Image { image = $(LOCAL)/style/separatorBullet.png } + Empty { w = 200 } + } + +//////////////////////////////////////////////////////////// Added: trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/UZ/template =================================================================== --- trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/UZ/template (rev 0) +++ trunk/Community/General/Modules/Macros/PresentationBuilder/Styles/UZ/template 2009-06-05 13:07:12 UTC (rev 39) @@ -0,0 +1,243 @@ + +Interface { + Inputs {} + Outputs {} + Parameters { } +} + +Commands { + source = $(LOCAL)/template.py +} + +Window "MainWindow" { + + Accel { key = "F5" command = showFullScreen } + Accel { key = "F6" command = showNormalScreen } + Accel { key = "Right" command = navigateSlideUp } + Accel { key = "Down" command = navigateSlideUp } + Accel { key = "Page Down" command = navigateSlideUp } + Accel { key = "Left" command = navigateSlideDown } + Accel { key = "Up" command = navigateSlideDown } + Accel { key = "Page Up" command = navigateSlideDown } + Accel { key = "Home" command = navigateSlideHome } + + wakeupCommand = init + + name = main + + style = UZ.whiteBackground + + + EventFilter { + control = main + filter = Enter + children = no + command = grabFocus + } + /*EventFilter { + control = main + filter = MouseButtonRelease + children = no + command = navigateSlideMouse + }*/ + + Vertical { + expandX = YES + expandY = YES + margin = 0 + spacing = 0 + frameMargin = 0 + + // HEADER + Empty { + h = 10 + } + + Horizontal { + alignY = Bottom + expandX = YES + expandY = NO + h = 73 + + Empty { + w = 10 + } + Image { + image = $(LOCAL)/style/headerLeft.png + alignX = Left + } + + // HEADER TITLE + Vertical { + alignY = Bottom + expandX = YES + expandY = YES + h = 73 + + // INCLUDE HEADER + Label { + style = UZ.headerText + title = [HEADER] + alignY = Bottom + alignX = Center + } + + } // END HEADER TITLE + + Image { + image = $(LOCAL)/style/headerRight.png + alignX = Right + } + Empty { + w = 10 + } + } + + Empty { + h = 10 ph = 10 mh = 10 + }// END HEADER + + + // MENU ITEMS + Horizontal { + + expandX = YES + expandY = NO + h = 33 mh = 33 ph = 33 maxh = 33 + name = menu + + style { + colors { + bg = "white:$(LOCAL)/style/headerMiddle.png" + } + } + bgMode = stretchX + + Empty { + w = 10 + } + + // INCLUDE MENU + [MENU] + + Empty { + w = 10 + expandX = YES + } + + EventFilter { + control = menu + filter = MouseButtonRelease + command = navigateToSlide + name = menuEventFilter + children = YES + eatEvent = YES + } + + } // END MENU ITEMS + + Empty { + h = 10 ph = 10 mh = 10 + } + + // CONTENT + Horizontal { + expandX = YES + expandY = YES + + // LEFT SPACER + Empty { + alignX = Left + expandX = NO + expandY = YES + w = 10 + } + + // SLIDES + Vertical { + expandX = YES + expandY = YES + + TabView { + expandX = YES + expandY = YES + name = slides + mode = invisible + + // INCLUDE SLIDES + [SLIDES] + + }// END TABVIEW + + }// END SLIDES + + // RIGHT SPACER + Empty { + alignX = Right + expandX = NO + expandY = YES + w = 10 + } + + }// END CONTENT + + // FOOTER + + Empty { + h = 10 ph = 10 mh = 10 + } + Horizontal { + alignY = bottom + expandX = YES + expandY = NO + h = 33 ph = 33 mh = 33 + + style { + colors { + bg = "white:$(LOCAL)/style/footerMiddle.png" + } + } + bgMode = stretchX + + Horizontal { + expandX = YES + expandY = YES + h = 33 ph = 33 mh = 33 + Empty { expandX = Yes } + Label { + style = UZ.footerText + title = [FOOTER] + h = 33 ph = 33 mh = 33 + } + Label { + title = " | " + style = UZ.footerText + } + Label { + title = "" + name = autoSlideCounter + style = UZ.footerText + } + Label { + title = " | " + style = UZ.footerText + } + Label { + title = "" + name = autoDate + style = UZ.footerText + } + Empty { expandX = Yes } + } + + } + + Empty { + h = 10 ph = 10 mh = 10 + }// END FOOTER + + }// END GLOBAL VERTICAL + + Execute = grabFocus + +}// END WINDOW This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |