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

theme_button.c File Reference
#include <stdarg.h>
#include <string.h>
#include <stdlib.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winuser.h"
#include "uxtheme.h"
#include "vssym32.h"
#include "comctl32.h"

Go to the source code of this file.

Defines

#define BUTTON_TYPE   0x0f /* bit mask for the available button types */

Typedefs

typedef void(* pfThemedPaint )(HTHEME theme, HWND hwnd, HDC hdc, ButtonState drawState, UINT dtFlags)

Enumerations

enum  ButtonState {
  STATE_NORMAL, STATE_DISABLED, STATE_HOT, STATE_PRESSED,
  STATE_DEFAULTED
}

Functions

static UINT get_drawtext_flags (DWORD style, DWORD ex_style)
static WCHARget_button_text (HWND hwnd)
static void PB_draw (HTHEME theme, HWND hwnd, HDC hDC, ButtonState drawState, UINT dtFlags)
static void CB_draw (HTHEME theme, HWND hwnd, HDC hDC, ButtonState drawState, UINT dtFlags)
static void GB_draw (HTHEME theme, HWND hwnd, HDC hDC, ButtonState drawState, UINT dtFlags)
static BOOL BUTTON_Paint (HTHEME theme, HWND hwnd, HDC hParamDC)
LRESULT CALLBACK THEMING_ButtonSubclassProc (HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam, ULONG_PTR dwRefData)

Variables

static const pfThemedPaint btnThemedPaintFunc [BUTTON_TYPE+1]

Generated on Sat May 26 2012 05:06:03 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.