summaryrefslogtreecommitdiffstats
path: root/win/ttkWinXPTheme.c
Commit message (Collapse)AuthorAgeFilesLines
* Bring all win32 version stuff to one place. Should work the same (should ↵jan.nijtmans2016-11-091-5/+1
| | | | still work on XP, although I don't know if we really want that).
* 'xpnative' and 'vista' (and 'aqua') themes: 'alternate on' changed to be ↵bug_3217462fvogel2016-10-051-0/+2
| | | | identical to 'alternate', for radiobuttons
* Some bit of Windows 8.1 compatibility: See ↵jan.nijtmans2013-11-201-3/+3
|\ | | | | | | [http://msdn.microsoft.com/en-us/library/windows/desktop/dn302074.aspx]
| * Some bit of Windows 8.1 compatibility: See ↵jan.nijtmans2013-11-201-3/+3
| | | | | | | | [http://msdn.microsoft.com/en-us/library/windows/desktop/dn302074.aspx]
* | ttk::theme::* packages don't Provide anything Extra.jenglish2013-02-151-1/+1
| | | | | | Change Tcl_PkgProvideEx() back to Tcl_PkgProvide().
* | Eliminate usage of Tcl_PkgProvide/Tcl_PkgRequire functions, use the 'Ex' ↵jan.nijtmans2013-02-151-1/+1
| | | | | | | | versions in stead.
* | Merge core-8-5-branchjan.nijtmans2013-01-241-4/+4
|\ \ | |/ | | Various Tcl_GetIndexFromObj -> Tcl_GetIndexFromObjStruct changes.
* | Fix build for VC 11.dgp2012-12-101-1/+1
| |
* | Working towards making the error codes more consistent.dkf2012-07-301-2/+2
| |
* | a few more placesdkf2012-07-241-5/+9
| |
* | ttk::*: Ensure that all tables passed to Tcl_GetIndexFromObj{Struct} jenglish2012-07-021-1/+1
|\ \ | |/ | | are statically allocated. Caught by Michael Kirkham.
| * ttk::*: Ensure that all tables passed to Tcl_GetIndexFromObj{Struct}jenglish2012-07-021-1/+1
| | | | | | are statically allocated. Caught by Michael Kirkham.
* | Purge RCS Keywordsdgp2011-06-081-2/+0
|\ \ | |/
| * Purge RCS Keywords.dgp2011-06-081-2/+0
| |
* | [Bug 3000002]: enable use of system sizes for vsapi elementspatthoyts2011-03-221-3/+69
|\ \ | |/ | | | | | | | | | | | | | | | | Added additional flags to the vsapi element engine to enable specifying the system metrics to use when calculating the size of certain elements. This was being done already for the XP theme but the scripted definitions using the vsapi engine for vista/win7 could not use such flags. This fixes scrollbars not reflecting the users configured scrollbar size. Reported-by: Mark Garvey <dunkfan@users.sourceforge.net> Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
| * [Bug 3000002]: enable use of system sizes for vsapi elementspatthoyts2011-03-221-3/+69
| | | | | | | | | | | | | | | | | | | | Added additional flags to the vsapi element engine to enable specifying the system metrics to use when calculating the size of certain elements. This was being done already for the XP theme but the scripted definitions using the vsapi engine for vista/win7 could not use such flags. This fixes scrollbars not reflecting the users configured scrollbar size. Reported-by: Mark Garvey <dunkfan@users.sourceforge.net> Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
| * Major backport of 8.6 Ttk for 8.5.9. Most changes were only beinghobbs2010-08-261-2/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | committed to head (8.6), although they could apply for 8.5 as well. This re-sync makes future work easier to maintain and adds some useful work for 8.5 users. Notable changes: - Lots of code cleanup - Some bug fixes never backported - Addition of ttk::spinbox - minor color changes - Improved Vista/7 styling - Move to tile version 0.8.6 (pseudo-package) - ABI and API compatible (even $w identify) - minor new features (extended $w identify)
| * Fix the selection of treeview rows on Windows XP and Vistapatthoyts2009-12-031-2/+6
| |
| * Backported support for the Vista theme.patthoyts2009-05-141-35/+222
| | | | | | | | This requires the vsapi element engine, the hover state and the theme script definition.
* | Remove casts from uses of ckalloc/ckfree/... now that Tcl declares them to bedkf2011-03-121-14/+13
| | | | | | using useful casts internally.
* | Unnessarary TCL_STORAGE_CLASS re-definitionsnijtmans2010-04-291-2/+2
| | | | | | | | | | | | Make various functions MODULE_SCOPE TCHAR-related fixes, making al those files compile fine when TCHAR != char.
* | Eliminate various gcc warningsnijtmans2009-08-091-2/+2
| | | | | | | | include <vssym32.h> only when available
* | eliminate various gcc and msvc compiler warningsnijtmans2009-08-021-2/+6
| |
* | Eliminate a few compiler warnings on mingwnijtmans2009-03-251-38/+38
| | | | | | | | spacing
* | Correct the ttk::treeview border on XP and Vista.patthoyts2009-02-211-1/+11
| |
* | Added vista theme to iron out the visual differences between vista and XP.patthoyts2008-12-051-2/+19
| |
* | Implemented the themed spinbox widget ttk::spinbox.patthoyts2008-11-011-1/+47
| |
* | Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-271-29/+34
| |
* | Provide a visual-styles API element engine to permit scripts to createpatthoyts2008-04-081-3/+158
|/ | | | any available windows xp/vista element. Plus basic tests.
* merge stable branch onto HEADdgp2007-12-131-1/+1
|
* Only tkWin.h should include windows.h unless we have an explicit override ofpatthoyts2007-12-101-3/+2
| | | | the WINVER macro.
* Improved macrology for statically-initialized layout template tables.jenglish2007-12-021-30/+21
|
* * win/ttkWinXPTheme.c: Add support for size information flags forpatthoyts2007-11-181-13/+56
| | | | | scrollbar and combobox buttons. This handles tile patches 1596647 and 1596657 but a bit more generically.
* Ttk_ElementSize: Fixed longstanding, subtle bug that caused element paddingjenglish2007-11-081-1/+5
| | | | | | to sometimes be counted twice in size computations. Fix ElementSizeProcs affected by previous change.
* Move widget layout registration from TtkElements_Init()jenglish2007-10-251-211/+178
| | | | | to widget *_Init() routines. Renaming/consistency: s/...ElementGeometry()/...ElementSize()/
* Standardize function definition format.dkf2007-04-171-166/+194
|
* Skip OS version test, should work on Vista/Aero now as well as XPjenglish2007-04-101-37/+24
| | | | [Fixes #1687299, thanks to George Petasis for tracking this down].
* Re-sync with Tile codebase so patches can flow back and forth.jenglish2007-04-101-86/+37
|
* Less of that K&R or wrongly indented function header style!dkf2007-02-221-37/+86
|
* see logJoe Mistachkin2007-02-041-2/+2
|
* Support IsAppThemed() call. This is what is used when theming ispatthoyts2007-02-021-3/+8
| | | | turned off just for an individual application.
* Revert previous change to keep in sync with Tile codebase.jenglish2007-01-111-2/+2
| | | | | | | The minor warnings from GCC fixed in the previous revision were false positives due to improper use of "-Wconversion". Still compiles cleanly with "gcc -Wall -Werror" (gcc 3.3.5).
* Many minute fixes to reduce number of minor warnings from GCC.dkf2007-01-111-2/+2
|
* Add support for alternate/indeterminate checkbutton state.jenglish2006-11-211-40/+41
| | | | | Fix various spacing parameters [#1596020, patch from Tim Baker]. Remove unused uxtheme hooks.
* Miscellaneous minor changes to re-sync Ttk codebase with Tile CVS:jenglish2006-11-071-2/+2
| | | | | | fix comments damaged by overzealous search-and-destroy; removed obsolete [style default] synonym for [ttk::style configure]; removed other dead code.
* * generic/ttk/ttkBlink.c, generic/ttk/ttkButton.c:das2006-11-031-8/+8
| | | | | | | | | | | | | | | | | | | | | | | * generic/ttk/ttkClamTheme.c, generic/ttk/ttkClassicTheme.c: * generic/ttk/ttkDecls.h, generic/ttk/ttkDefaultTheme.c: * generic/ttk/ttkElements.c, generic/ttk/ttkEntry.c: * generic/ttk/ttkFrame.c, generic/ttk/ttkImage.c: * generic/ttk/ttkInit.c, generic/ttk/ttkLabel.c: * generic/ttk/ttkLayout.c, generic/ttk/ttkManager.h: * generic/ttk/ttkNotebook.c, generic/ttk/ttkPanedwindow.c: * generic/ttk/ttkProgress.c, generic/ttk/ttkScale.c: * generic/ttk/ttkScroll.c, generic/ttk/ttkScrollbar.c: * generic/ttk/ttkSeparator.c, generic/ttk/ttkSquare.c: * generic/ttk/ttkStubInit.c, generic/ttk/ttkStubLib.c: * generic/ttk/ttkTheme.c, generic/ttk/ttkTheme.h: * generic/ttk/ttkThemeInt.h, generic/ttk/ttkTrack.c: * generic/ttk/ttkTreeview.c, generic/ttk/ttkWidget.c: * generic/ttk/ttkWidget.h, macosx/ttkMacOSXTheme.c: * win/ttkWinMonitor.c, win/ttkWinTheme.c, win/ttkWinXPTheme.c: ensure all global Ttk symbols have Ttk or ttk prefix; declare all externally visible Ttk symbols not contained in stubs table as MODULE_SCOPE (or as static when possible); so that 'make check{exports,stubs}' once again complete without errors.
* * doc/ttk_Geometry.3, doc/ttk_Theme.3, doc/ttk_button.n:hobbs2006-10-311-0/+998
* doc/ttk_checkbutton.n, doc/ttk_combobox.n, doc/ttk_dialog.n: * doc/ttk_entry.n, doc/ttk_frame.n, doc/ttk_image.n: * doc/ttk_intro.n, doc/ttk_label.n, doc/ttk_labelframe.n: * doc/ttk_menubutton.n, doc/ttk_notebook.n, doc/ttk_panedwindow.n: * doc/ttk_progressbar.n, doc/ttk_radiobutton.n, doc/ttk_scrollbar.n: * doc/ttk_separator.n, doc/ttk_sizegrip.n, doc/ttk_style.n: * doc/ttk_treeview.n, doc/ttk_widget.n,: * generic/ttk/ttk.decls, generic/ttk/ttkBlink.c: * generic/ttk/ttkButton.c, generic/ttk/ttkCache.c: * generic/ttk/ttkClamTheme.c, generic/ttk/ttkClassicTheme.c: * generic/ttk/ttkDecls.h, generic/ttk/ttkDefaultTheme.c: * generic/ttk/ttkElements.c, generic/ttk/ttkEntry.c: * generic/ttk/ttkFrame.c, generic/ttk/ttkImage.c: * generic/ttk/ttkInit.c, generic/ttk/ttkLabel.c: * generic/ttk/ttkLayout.c, generic/ttk/ttkManager.c: * generic/ttk/ttkManager.h, generic/ttk/ttkNotebook.c: * generic/ttk/ttkPanedwindow.c, generic/ttk/ttkProgress.c: * generic/ttk/ttkScale.c, generic/ttk/ttkScroll.c: * generic/ttk/ttkScrollbar.c, generic/ttk/ttkSeparator.c: * generic/ttk/ttkSquare.c, generic/ttk/ttkState.c: * generic/ttk/ttkStubInit.c, generic/ttk/ttkStubLib.c: * generic/ttk/ttkTagSet.c, generic/ttk/ttkTheme.c: * generic/ttk/ttkTheme.h, generic/ttk/ttkThemeInt.h: * generic/ttk/ttkTrace.c, generic/ttk/ttkTrack.c: * generic/ttk/ttkTreeview.c, generic/ttk/ttkWidget.c: * generic/ttk/ttkWidget.h: * library/demos/ttk_demo.tcl, library/demos/ttk_iconlib.tcl: * library/demos/ttk_repeater.tcl: * library/ttk/altTheme.tcl, library/ttk/aquaTheme.tcl: * library/ttk/button.tcl, library/ttk/clamTheme.tcl: * library/ttk/classicTheme.tcl, library/ttk/combobox.tcl: * library/ttk/cursors.tcl, library/ttk/defaults.tcl: * library/ttk/dialog.tcl, library/ttk/entry.tcl: * library/ttk/fonts.tcl, library/ttk/icons.tcl: * library/ttk/keynav.tcl, library/ttk/menubutton.tcl: * library/ttk/notebook.tcl, library/ttk/panedwindow.tcl: * library/ttk/progress.tcl, library/ttk/scale.tcl: * library/ttk/scrollbar.tcl, library/ttk/sizegrip.tcl: * library/ttk/treeview.tcl, library/ttk/ttk.tcl: * library/ttk/utils.tcl, library/ttk/winTheme.tcl: * library/ttk/xpTheme.tcl: * macosx/ttkMacOSXTheme.c: * tests/ttk/all.tcl, tests/ttk/bwidget.test, tests/ttk/combobox.test: * tests/ttk/entry.test, tests/ttk/image.test: * tests/ttk/labelframe.test, tests/ttk/layout.test: * tests/ttk/misc.test, tests/ttk/notebook.test: * tests/ttk/panedwindow.test, tests/ttk/progressbar.test: * tests/ttk/scrollbar.test, tests/ttk/treetags.test: * tests/ttk/treeview.test, tests/ttk/ttk.test, tests/ttk/validate.test: * win/ttkWinMonitor.c, win/ttkWinTheme.c, win/ttkWinXPTheme.c: First import of Ttk themed Tk widgets as branched from tile 0.7.8 * generic/tkInt.h, generic/tkWindow.c: add Ttk_Init call, copy tk classic widgets to ::tk namespace. * library/tk.tcl: add source of ttk/ttk.tcl, define $::ttk::library. * unix/Makefile.in, win/Makefile.in: add Ttk build bits * win/configure, win/configure.in: check for uxtheme.h (XP theme).