ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

msstyles.c File Reference
#include "uxthemep.h"
#include "wine/debug.h"
#include "wine/unicode.h"

Go to the source code of this file.

Data Structures

struct  PARSECOLORSTATE
struct  PARSENONCLIENTSTATE

Defines

#define MSSTYLES_VERSION   0x0003

Functions

 WINE_DEFAULT_DEBUG_CHANNEL (uxtheme)
static BOOL MSSTYLES_GetNextInteger (LPCWSTR lpStringStart, LPCWSTR lpStringEnd, LPCWSTR *lpValEnd, int *value)
static BOOL MSSTYLES_GetNextToken (LPCWSTR lpStringStart, LPCWSTR lpStringEnd, LPCWSTR *lpValEnd, LPWSTR lpBuff, DWORD buffSize)
static void MSSTYLES_ParseThemeIni (PTHEME_FILE tf, BOOL setMetrics)
static HRESULT MSSTYLES_GetFont (LPCWSTR lpStringStart, LPCWSTR lpStringEnd, LPCWSTR *lpValEnd, LOGFONTW *logfont)
HRESULT MSSTYLES_OpenThemeFile (LPCWSTR lpThemeFile, LPCWSTR pszColorName, LPCWSTR pszSizeName, PTHEME_FILE *tf)
void MSSTYLES_CloseThemeFile (PTHEME_FILE tf)
HRESULT MSSTYLES_SetActiveTheme (PTHEME_FILE tf, BOOL setMetrics)
PUXINI_FILE MSSTYLES_GetThemeIni (PTHEME_FILE tf)
static PUXINI_FILE MSSTYLES_GetActiveThemeIni (PTHEME_FILE tf)
static BOOL MSSTYLES_ParseIniSectionName (LPCWSTR lpSection, DWORD dwLen, LPWSTR szAppName, LPWSTR szClassName, int *iPartId, int *iStateId)
static PTHEME_CLASS MSSTYLES_FindClass (PTHEME_FILE tf, LPCWSTR pszAppName, LPCWSTR pszClassName)
static PTHEME_CLASS MSSTYLES_AddClass (PTHEME_FILE tf, LPCWSTR pszAppName, LPCWSTR pszClassName)
PTHEME_PARTSTATE MSSTYLES_FindPartState (PTHEME_CLASS tc, int iPartId, int iStateId, PTHEME_CLASS *tcNext)
static PTHEME_PARTSTATE MSSTYLES_AddPartState (PTHEME_CLASS tc, int iPartId, int iStateId)
static PTHEME_PROPERTY MSSTYLES_LFindProperty (PTHEME_PROPERTY tp, int iPropertyPrimitive, int iPropertyId)
static PTHEME_PROPERTY MSSTYLES_PSFindProperty (PTHEME_PARTSTATE ps, int iPropertyPrimitive, int iPropertyId)
static PTHEME_PROPERTY MSSTYLES_FFindMetric (PTHEME_FILE tf, int iPropertyPrimitive, int iPropertyId)
PTHEME_PROPERTY MSSTYLES_FindMetric (int iPropertyPrimitive, int iPropertyId)
static PTHEME_PROPERTY MSSTYLES_AddProperty (PTHEME_PARTSTATE ps, int iPropertyPrimitive, int iPropertyId, LPCWSTR lpValue, DWORD dwValueLen, BOOL isGlobal)
static PTHEME_PROPERTY MSSTYLES_AddMetric (PTHEME_FILE tf, int iPropertyPrimitive, int iPropertyId, LPCWSTR lpValue, DWORD dwValueLen)
static void parse_init_color (struct PARSECOLORSTATE *state)
static BOOL parse_handle_color_property (struct PARSECOLORSTATE *state, int iPropertyId, LPCWSTR lpValue, DWORD dwValueLen)
static void parse_apply_color (struct PARSECOLORSTATE *state)
static void parse_init_nonclient (struct PARSENONCLIENTSTATE *state)
static BOOL parse_handle_nonclient_font (struct PARSENONCLIENTSTATE *state, int iPropertyId, LPCWSTR lpValue, DWORD dwValueLen)
static BOOL parse_handle_nonclient_size (struct PARSENONCLIENTSTATE *state, int iPropertyId, LPCWSTR lpValue, DWORD dwValueLen)
static void parse_apply_nonclient (struct PARSENONCLIENTSTATE *state)
PTHEME_CLASS MSSTYLES_OpenThemeClass (LPCWSTR pszAppName, LPCWSTR pszClassList)
HRESULT MSSTYLES_CloseThemeClass (PTHEME_CLASS tc)
PTHEME_PROPERTY MSSTYLES_FindProperty (PTHEME_CLASS tc, int iPartId, int iStateId, int iPropertyPrimitive, int iPropertyId)
static BOOL prepare_alpha (HBITMAP bmp, BOOL *hasAlpha)
HBITMAP MSSTYLES_LoadBitmap (PTHEME_CLASS tc, LPCWSTR lpFilename, BOOL *hasAlpha)
HRESULT MSSTYLES_GetPropertyBool (PTHEME_PROPERTY tp, BOOL *pfVal)
HRESULT MSSTYLES_GetPropertyColor (PTHEME_PROPERTY tp, COLORREF *pColor)
HRESULT MSSTYLES_GetPropertyFont (PTHEME_PROPERTY tp, HDC hdc, LOGFONTW *pFont)
HRESULT MSSTYLES_GetPropertyInt (PTHEME_PROPERTY tp, int *piVal)
HRESULT MSSTYLES_GetPropertyIntList (PTHEME_PROPERTY tp, INTLIST *pIntList)
HRESULT MSSTYLES_GetPropertyPosition (PTHEME_PROPERTY tp, POINT *pPoint)
HRESULT MSSTYLES_GetPropertyString (PTHEME_PROPERTY tp, LPWSTR pszBuff, int cchMaxBuffChars)
HRESULT MSSTYLES_GetPropertyRect (PTHEME_PROPERTY tp, RECT *pRect)
HRESULT MSSTYLES_GetPropertyMargins (PTHEME_PROPERTY tp, RECT *prc, MARGINS *pMargins)

Variables

HINSTANCE hDllInst
int alphaBlendMode
static const WCHAR szThemesIniResource []
static PTHEME_FILE tfActiveTheme

Generated on Sun May 27 2012 05:20:16 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.