Commit graph

44 commits

Author SHA1 Message Date
Giannis Adamopoulos 3f5a2c40ce [uxtheme]
- UXTHEME_LoadTheme call in theme hook callback is still needed in order to load the active theme in an application that starts after themes are enabled

svn path=/branches/GSoC_2011/ThemesSupport/; revision=53125
2011-08-07 20:50:01 +00:00
Giannis Adamopoulos d00aa9c19e [uxtheme]
- Broadcast WM_THEMECHANGED when hook themes are activated
- Do not call UXTHEME_LoadTheme in the hook theme callback. It will now be called when the application gets WM_THEMECHANGED

svn path=/branches/GSoC_2011/ThemesSupport/; revision=53124
2011-08-07 20:42:22 +00:00
Giannis Adamopoulos e3a05782a8 [uxtheme]
- Do not try to load the current theme when uxtheme loads. Instead, load the current theme when theme hooks are installed or when the application receives a WM_THEMECHANGED message. This allows us to change themes without restarting the running applications.
- Use the default behaviour of DefWindowProc from user32 when themes are not active. This allows us to have api hooks enabled when themes are disabled.

svn path=/branches/GSoC_2011/ThemesSupport/; revision=53026
2011-08-02 13:38:58 +00:00
Amine Khaldi 84291d0d72 * Bring back rbuild build to be used until bug 6372 is fixed.
svn path=/branches/GSoC_2011/ThemesSupport/; revision=52691
2011-07-15 22:27:16 +00:00
Giannis Adamopoulos 099b4c9363 [uxtheme]
- Fix the size of the caption buttons. Now they have the correct size with themes like Luna Inspirat or clear looks

svn path=/branches/GSoC_2011/ThemesSupport/; revision=52679
2011-07-14 12:15:06 +00:00
Giannis Adamopoulos 1c0a0fa28e [uxtheme]
- Add yet another reactos specific hack
- Fixes drawing scrollbar items

svn path=/branches/GSoC_2011/ThemesSupport/; revision=52677
2011-07-14 10:10:07 +00:00
Giannis Adamopoulos 660b694dc7 [apihooksrv]
- Call ThemeHooksRemove after the user presses a key 

svn path=/branches/GSoC_2011/ThemesSupport/; revision=52676
2011-07-14 08:46:43 +00:00
Giannis Adamopoulos 3a7d41318a remove test command
svn path=/branches/GSoC_2011/ThemesSupport/; revision=52666
2011-07-12 21:27:46 +00:00
Giannis Adamopoulos eb23bde458 [apihooksrv]
- Commit a test utility that can install user api hooks and give for the first time real themes support. This is a temporary test program till the same functionality is integrated to winlogon. To use it someone has to activate themes with themecfg and then run "apihook uxtheme.dll". Also note that it is possible to use this tool in windows for testing purposes

svn path=/branches/GSoC_2011/ThemesSupport/; revision=52665
2011-07-12 21:25:51 +00:00
Giannis Adamopoulos ab880775f5 [themecfg]
- Add a test utility called themecfg that can configure themes. This is a small part of winecfg from wine. With this utility we can test themes support now. In the future this functionality will become part of desk.cpl

svn path=/branches/GSoC_2011/ThemesSupport/; revision=52664
2011-07-12 21:09:43 +00:00
Giannis Adamopoulos 901481628b [uxtheme]
- Fix build

svn path=/branches/GSoC_2011/ThemesSupport/; revision=52662
2011-07-12 19:45:49 +00:00
Giannis Adamopoulos 628b870071 [uxtheme]
- Implement drawing non client scrollbars. This code is heavily based on code from wine and modified properly to use themes

svn path=/branches/GSoC_2011/ThemesSupport/; revision=52645
2011-07-11 22:29:33 +00:00
Amine Khaldi 9fa710c813 * Sync with recent trunk (r52637).
svn path=/branches/GSoC_2011/ThemesSupport/; revision=52643
2011-07-11 19:40:43 +00:00
Giannis Adamopoulos 7c84d922e5 [uxtheme]
- Fix build

svn path=/branches/GSoC_2011/ThemesSupport/; revision=52640
2011-07-11 18:23:44 +00:00
Giannis Adamopoulos 012c87272c [uxtheme]
- After doing any drawing operation for the non client area, restore the previously opened theme. Fixes GetWindowTheme

svn path=/branches/GSoC_2011/ThemesSupport/; revision=52639
2011-07-11 18:17:11 +00:00
Giannis Adamopoulos 832f3db5a1 [uxtheme]
- Really fix a comment

svn path=/branches/GSoC_2011/ThemesSupport/; revision=52636
2011-07-11 14:18:36 +00:00
Giannis Adamopoulos b2f3b73e33 [uxtheme]
- Fix some comments

svn path=/branches/GSoC_2011/ThemesSupport/; revision=52635
2011-07-11 13:53:58 +00:00
Giannis Adamopoulos 1e6bee248a [uxtheme]
- Do not close hKey in query_reg_path. Noticed while testing our uxtheme in windows. Should be sent to wine

svn path=/branches/GSoC_2011/ThemesSupport/; revision=52634
2011-07-11 13:38:05 +00:00
Giannis Adamopoulos 535a684169 [uxtheme]
- Call UXTHEME_InitSystem when user api hooks are installed

svn path=/branches/GSoC_2011/ThemesSupport/; revision=52633
2011-07-11 13:28:20 +00:00
Giannis Adamopoulos 17344c6dc6 [uxtheme]
- Move some definitions to a header file

svn path=/branches/GSoC_2011/ThemesSupport/; revision=52632
2011-07-11 13:17:39 +00:00
Giannis Adamopoulos 29e5fe2299 [uxtheme]
- Use double buffering when painting the caption

svn path=/branches/GSoC_2011/ThemesSupport/; revision=52544
2011-07-05 10:15:09 +00:00
Giannis Adamopoulos 47f499522a [uxtheme]
- Implement drawing the menu bar

svn path=/branches/GSoC_2011/ThemesSupport/; revision=52543
2011-07-05 10:09:26 +00:00
Giannis Adamopoulos c49c17744c [uxtheme]
- Fill in WINDOWINFO.cbSize before calling GetWindowInfo
- Handle invalid regions passed to WM_NCPAINT
- Handle WM_NCUAHDRAWCAPTION and WM_NCUAHDRAWFRAME without doing anything there for now

svn path=/branches/GSoC_2011/ThemesSupport/; revision=52542
2011-07-05 10:04:25 +00:00
Giannis Adamopoulos 3e3ba300bd [uxtheme]
- Implement handling WM_NCHITTEST

svn path=/branches/GSoC_2011/ThemesSupport/; revision=51848
2011-05-22 15:47:47 +00:00
Giannis Adamopoulos 99208a2b8b [uxtheme]
- Implement DrawClassicFrame, heavily based on user32

svn path=/branches/GSoC_2011/ThemesSupport/; revision=51847
2011-05-22 15:37:32 +00:00
Giannis Adamopoulos b55ba84d1f [uxtheme]
- Implement handling WM_NCMOUSEMOVE, WM_NCMOUSELEAVE and WM_NCLBUTTONDOWN, needed for painting the caption buttons when the user hovers or clicks them 

svn path=/branches/GSoC_2011/ThemesSupport/; revision=51846
2011-05-22 15:31:18 +00:00
Giannis Adamopoulos b9d402ed06 [uxtheme]
- Implement drawing the borders

svn path=/branches/GSoC_2011/ThemesSupport/; revision=51805
2011-05-17 08:03:46 +00:00
Giannis Adamopoulos ceca3abd9d [uxtheme]
- Implement drawing windows caption and borders with themes

svn path=/branches/GSoC_2011/ThemesSupport/; revision=51804
2011-05-17 07:57:17 +00:00
Giannis Adamopoulos 125af16c9b [uxtheme]
- Begin implementing handling WM_NCPAINT
- Evert time a draw operation is performed on the non client area, a DRAW_CONTEXT will be initialised in order to keep most used information about the drawing opoeration

svn path=/branches/GSoC_2011/ThemesSupport/; revision=51746
2011-05-14 19:01:50 +00:00
Giannis Adamopoulos 0f8c8b4376 [uxtheme]
- Hook the same messages with win2003

svn path=/branches/GSoC_2011/ThemesSupport/; revision=51745
2011-05-14 18:47:23 +00:00
Giannis Adamopoulos bf1b368ec2 fix indentation
svn path=/branches/GSoC_2011/ThemesSupport/; revision=51744
2011-05-14 18:45:37 +00:00
Giannis Adamopoulos 6bafc8acbe [uxtheme]
- Begin implementing ThemeHooksInstall, ThemeHooksRemove and ThemeInitApiHook

svn path=/branches/GSoC_2011/ThemesSupport/; revision=51741
2011-05-14 18:31:47 +00:00
Timo Kreuzer 9cc4f5ceee [CMAKE]
Don't automatically add stub files to the sources, instead add them manually where neccessary. also fix a number of spec files to resemble actual state of implementation.

svn path=/branches/cmake-bringup/; revision=50574
2011-01-31 14:20:53 +00:00
Sylvain Petreolle 53010e4c40 [CMAKE]
Stubs: Fix some win32 modules.

svn path=/branches/cmake-bringup/; revision=49876
2010-11-30 20:57:01 +00:00
Amine Khaldi 4e1f5725ff - Fix more dlls.
svn path=/branches/cmake-bringup/; revision=49810
2010-11-27 01:16:42 +00:00
Timo Kreuzer 8040e998be [CMAKE]
add a bunch more importlib targets

svn path=/branches/cmake-bringup/; revision=49807
2010-11-27 00:02:36 +00:00
Jérôme Gardou 4ee1da42f1 [CMAKE]
- rewrite spec2def macro because
1. cmake gracefully handles def files as source files
2. cmake gracefully handles autogenerated files as source
3. it did not take into account the fact that all shared libraries haven't the .dll extension

svn path=/branches/cmake-bringup/; revision=49358
2010-10-30 16:08:19 +00:00
Jérôme Gardou fd5ef6b1c1 [CMAKE]
- add macros add_cab and add_cab_target to add files to reactos.dff
  - add bootcd target
  - make use of these macros to create bootcd and livecd
Bootcd works and install things, but 2nd stage fails booting. We need debug symbols!!!

svn path=/branches/cmake-bringup/; revision=49347
2010-10-30 09:53:53 +00:00
Sylvain Petreolle 89271fe38d [CMAKE]
Add each win32dll module to livecd and remove global temporary add-on from gcc.cmake.
Fix pch use in fmifs.
Enable remaining dlls in dll/win32/CMakeLists.txt.

svn path=/branches/cmake-bringup/; revision=49230
2010-10-22 19:40:56 +00:00
Amine Khaldi 9967209aea [CMAKE]
- More work on the dlls.

svn path=/branches/cmake-bringup/; revision=49060
2010-10-08 21:34:25 +00:00
Sylvain Petreolle c702cc0d5a [CMAKE]
Generalize CMAKE_C_CREATE_SHARED_LIBRARY and remove per project instances.
Thanks to Amine for regexxer tool discovery ;)


svn path=/branches/cmake-bringup/; revision=48804
2010-09-18 15:22:08 +00:00
Amine Khaldi 1e684c2d24 [CMAKE]
- Add samsrv, sccbase, schannel, sensapi, serialui, shdoclc, shfolder, shlwapi, slbcsp, smdll, sndblst, snmpapi, spoolss, srclient, sxs, t2embed, tapi32, tapiui, traffic, updspapi, url, usp10 and uxtheme to build.
- Add mlang, mpr, and shell32 import libs.
- Fix shdoclc and shlwapi translations (patches will be sent upstream).
- Improve mmebuddy.

svn path=/branches/cmake-bringup/; revision=48644
2010-08-29 14:13:38 +00:00
Amine Khaldi 62ff6c86b7 - Delete rbuild and the rbuild files.
svn path=/branches/cmake-bringup/; revision=48237
2010-07-24 19:21:04 +00:00
Amine Khaldi c424146e2c Create a branch for cmake bringup.
svn path=/branches/cmake-bringup/; revision=48236
2010-07-24 18:52:44 +00:00