Apycom jQuery Menus

SDK_Manila_Sense.h File Reference

#include <windows.h>
#include <ddraw.h>
#include <winuserm.h>
#include <sipapi.h>
#include <shellapi.h>
#include <string>
#include <sstream>
#include <map>
#include <vector>
#include <aygshell.h>
#include <imaging.h>
Include dependency graph for SDK_Manila_Sense.h:

Go to the source code of this file.

Classes

class  ChildSection
 Class ChildSection Contains a subsection which is displayed with a horizontal sliding effect. More...
struct  DIRECTDRAW_GDI
 structure used to save info about surface (image, screen...) More...
class  DirectDrawWarp
 Class DirectDrawWarp This class is responsible for displaying the window. More...
class  Element
 class Element : provide basic functions... More...
class  EventHandler
 Class EventHandler This class will be your command center... More...
struct  GDI_OVERLAY
 structure used to save info about overlay (surface printed above current drawing) More...
class  GlobalInformations
 GlobalInformation Class (singleton!) Used to save global informations like resources directory or painting buffers... More...
struct  ICONDIR
 icon structs (msdn : http://msdn.microsoft.com/en-us/library/ms997538.aspx) More...
struct  ICONDIRENTRY
 icon structs (msdn : http://msdn.microsoft.com/en-us/library/ms997538.aspx) More...
struct  ICONIMAGE
 icon structs (msdn : http://msdn.microsoft.com/en-us/library/ms997538.aspx) More...
class  LocalisedString
 LocalisedString header used to print errors messages in different language. More...
class  MessageBoxSense
 Class MessageBoxSense To print a messagebox. More...
class  MouseCtrl
 Class MouseCtrl Used to control user gesture (scrolling, clicks...) With this class, you can know if user try to click, double click, do a long press, scroll up/down or left/right. More...
class  MyEditControl
 Class MyEditControl An input text with an adjustable width Easy get and set text. More...
class  MyItem
 Class MyItem Different items : Button (3 types), checkboxes and switch (TripleState!). More...
class  MyLabel
 Class MyLabel Used to print text The text is first printed into a surface to speed later rendering... More...
class  MyPanel
 Class MyPanel This element is a sub section and is used to bring together elements. More...
class  MyPictureBox
 Class MyPictureBox Used to print a picture (can be stretchable). More...
class  MySelector
 Class MySelector Used to draw dropdown list. More...
class  MySlider
 Class MySlider Used to draw an horizontal slider You have two type of sliders : a common slider and a slider which return to origin when released. More...
class  Section
 Class Section The main panel of your application When you create an element, you must add to this section to be printed to screen. More...

Defines

#define DBL_CLICK_LENGTH   0
#define DRAWING_GDI
#define EVENT_CLICK   1
#define EVENT_RIGHT_CLICK   3
#define EVENT_VALUE_CHANGED   2
#define ID_EDITCHILD   102
#define IDM_EDITMENU   103
#define ITEM_COLOR_DISABLED   1
#define ITEM_COLOR_HOVER   0
#define ITEM_COLOR_NORMAL   2
#define ITEM_IS_BUTTON_BIG   4
#define ITEM_IS_BUTTON_NORMAL   3
#define ITEM_IS_BUTTON_SHORT   5
#define ITEM_IS_CHECKBOX   1
#define ITEM_IS_SWITCH   2
#define ITEM_STATE_DSBL_EMPTY   2
#define ITEM_STATE_DSBL_SELECTED   3
#define ITEM_STATE_EBL_EMPTY   0
#define ITEM_STATE_EBL_SELECTED   1
#define ITEM_STATE_HOVER_EMPTY   4
#define ITEM_STATE_HOVER_SELECTED   5
#define ITEM_THIRD_STATE   6
#define ITEM_THIRD_STATE_DSBL   7
#define LABEL_STATE_DSBL   2
#define LABEL_STATE_HOVER   1
#define LABEL_STATE_NORMAL   0
#define LABEL_STATE_SELECTED   3
#define MANILA_SDK_VERSION   1.53
#define MESSAGE_ABORTRETRY   4
#define MESSAGE_ALERT   1
#define MESSAGE_OKCANCEL   3
#define MESSAGE_REP   0x0500
#define MESSAGE_YESNO   2
#define MS_PER_FRAME   25
#define MSG_REP_ABORT   0
#define MSG_REP_CANCEL   0
#define MSG_REP_NO   0
#define MSG_REP_OK   1
#define MSG_REP_RETRY   1
#define MSG_REP_YES   1
#define MSG_USER_PAINT   0x0410
#define MyASSERT(condition)
#define NB_FRAME_ANIM   1
#define NB_MOUSE_HISTORY   3
#define PADDING_ARROW   15
#define PADDING_PANEL_H   0
#define PADDING_SECT_H   5
#define RGB565to32(r, g, b)   (((WORD)r << 11) |(0x3F&(WORD)g) << 5) |((0x1F&(WORD)b))
#define SCROLL_WIDTH   5
#define SELECT_STATE_DSBL   2
#define SELECT_STATE_HOVER   1
#define SELECT_STATE_NORMAL   0
#define SELECT_STATE_SELECTED   3
#define STATE_DSBL   2
#define STATE_HOVER   1
#define STATE_NORMAL   0
#define STATE_SELECTED   3
#define SW_MINIMIZED   6
#define TEXT_BIG   1
#define TEXT_ITALIC   2
#define TEXT_NORMAL   0
#define TEXT_SMALL   3
#define TYPE_CHILD_SECTION   1
#define TYPE_EDIT_CTRL   2
#define TYPE_ITEM   3
#define TYPE_LABEL   4
#define TYPE_PANEL   5
#define TYPE_PICTURE   6
#define TYPE_SECTION   8
#define TYPE_SELECTOR   7
#define TYPE_SLIDER   9
#define VEL_INERTIE   100.0
#define VIS_DISABLED   2
#define VIS_HOVER   1
#define VIS_NORMAL   0
#define VIS_SLIDE_DISABLED   2
#define VIS_SLIDE_NORMAL   0
#define WINDLL

Typedefs

typedef struct DIRECTDRAW_GDI DIRECTDRAW_GDI
 structure used to save info about surface (image, screen...)
typedef struct GDI_OVERLAY GDI_OVERLAY
 structure used to save info about overlay (surface printed above current drawing)
typedef struct ICONDIRLPICONDIR
typedef struct ICONDIRENTRYLPICONDIRENTRY
typedef struct ICONIMAGELPICONIMAGE

Define Documentation

#define DBL_CLICK_LENGTH   0

Definition at line 724 of file SDK_Manila_Sense.h.

#define DRAWING_GDI

Definition at line 34 of file SDK_Manila_Sense.h.

#define EVENT_CLICK   1

Definition at line 1765 of file SDK_Manila_Sense.h.

#define EVENT_RIGHT_CLICK   3

Definition at line 1767 of file SDK_Manila_Sense.h.

#define EVENT_VALUE_CHANGED   2

Definition at line 1766 of file SDK_Manila_Sense.h.

#define ID_EDITCHILD   102

Definition at line 1115 of file SDK_Manila_Sense.h.

#define IDM_EDITMENU   103

Definition at line 1116 of file SDK_Manila_Sense.h.

#define ITEM_COLOR_DISABLED   1

Definition at line 1226 of file SDK_Manila_Sense.h.

#define ITEM_COLOR_HOVER   0

Definition at line 1225 of file SDK_Manila_Sense.h.

#define ITEM_COLOR_NORMAL   2

Definition at line 1227 of file SDK_Manila_Sense.h.

#define ITEM_IS_BUTTON_BIG   4

Definition at line 1213 of file SDK_Manila_Sense.h.

#define ITEM_IS_BUTTON_NORMAL   3

Definition at line 1212 of file SDK_Manila_Sense.h.

#define ITEM_IS_BUTTON_SHORT   5

Definition at line 1214 of file SDK_Manila_Sense.h.

#define ITEM_IS_CHECKBOX   1

Definition at line 1210 of file SDK_Manila_Sense.h.

#define ITEM_IS_SWITCH   2

Definition at line 1211 of file SDK_Manila_Sense.h.

#define ITEM_STATE_DSBL_EMPTY   2

Definition at line 1218 of file SDK_Manila_Sense.h.

#define ITEM_STATE_DSBL_SELECTED   3

Definition at line 1219 of file SDK_Manila_Sense.h.

#define ITEM_STATE_EBL_EMPTY   0

Definition at line 1216 of file SDK_Manila_Sense.h.

#define ITEM_STATE_EBL_SELECTED   1

Definition at line 1217 of file SDK_Manila_Sense.h.

#define ITEM_STATE_HOVER_EMPTY   4

Definition at line 1220 of file SDK_Manila_Sense.h.

#define ITEM_STATE_HOVER_SELECTED   5

Definition at line 1221 of file SDK_Manila_Sense.h.

#define ITEM_THIRD_STATE   6

Definition at line 1222 of file SDK_Manila_Sense.h.

#define ITEM_THIRD_STATE_DSBL   7

Definition at line 1223 of file SDK_Manila_Sense.h.

#define LABEL_STATE_DSBL   2

Definition at line 518 of file SDK_Manila_Sense.h.

#define LABEL_STATE_HOVER   1

Definition at line 517 of file SDK_Manila_Sense.h.

#define LABEL_STATE_NORMAL   0

Definition at line 516 of file SDK_Manila_Sense.h.

#define LABEL_STATE_SELECTED   3

Definition at line 519 of file SDK_Manila_Sense.h.

#define MANILA_SDK_VERSION   1.53

Definition at line 33 of file SDK_Manila_Sense.h.

#define MESSAGE_ABORTRETRY   4

Definition at line 1697 of file SDK_Manila_Sense.h.

#define MESSAGE_ALERT   1

Definition at line 1694 of file SDK_Manila_Sense.h.

#define MESSAGE_OKCANCEL   3

Definition at line 1696 of file SDK_Manila_Sense.h.

#define MESSAGE_REP   0x0500

Definition at line 1706 of file SDK_Manila_Sense.h.

#define MESSAGE_YESNO   2

Definition at line 1695 of file SDK_Manila_Sense.h.

#define MS_PER_FRAME   25

Definition at line 1843 of file SDK_Manila_Sense.h.

#define MSG_REP_ABORT   0

Definition at line 1703 of file SDK_Manila_Sense.h.

#define MSG_REP_CANCEL   0

Definition at line 1701 of file SDK_Manila_Sense.h.

#define MSG_REP_NO   0

Definition at line 1699 of file SDK_Manila_Sense.h.

#define MSG_REP_OK   1

Definition at line 1702 of file SDK_Manila_Sense.h.

#define MSG_REP_RETRY   1

Definition at line 1704 of file SDK_Manila_Sense.h.

#define MSG_REP_YES   1

Definition at line 1700 of file SDK_Manila_Sense.h.

#define MSG_USER_PAINT   0x0410

Definition at line 7 of file SDK_Manila_Sense.h.

#define MyASSERT (   condition  ) 

Definition at line 53 of file SDK_Manila_Sense.h.

#define NB_FRAME_ANIM   1

Definition at line 1844 of file SDK_Manila_Sense.h.

#define NB_MOUSE_HISTORY   3

Definition at line 723 of file SDK_Manila_Sense.h.

#define PADDING_ARROW   15

Definition at line 1584 of file SDK_Manila_Sense.h.

#define PADDING_PANEL_H   0

Definition at line 1363 of file SDK_Manila_Sense.h.

#define PADDING_SECT_H   5

Definition at line 986 of file SDK_Manila_Sense.h.

#define RGB565to32 (   r,
  g,
  b 
)    (((WORD)r << 11) |(0x3F&(WORD)g) << 5) |((0x1F&(WORD)b))

Definition at line 46 of file SDK_Manila_Sense.h.

#define SCROLL_WIDTH   5

Definition at line 987 of file SDK_Manila_Sense.h.

#define SELECT_STATE_DSBL   2

Definition at line 1467 of file SDK_Manila_Sense.h.

#define SELECT_STATE_HOVER   1

Definition at line 1466 of file SDK_Manila_Sense.h.

#define SELECT_STATE_NORMAL   0

Definition at line 1465 of file SDK_Manila_Sense.h.

#define SELECT_STATE_SELECTED   3

Definition at line 1468 of file SDK_Manila_Sense.h.

#define STATE_DSBL   2

Definition at line 1588 of file SDK_Manila_Sense.h.

#define STATE_HOVER   1

Definition at line 1587 of file SDK_Manila_Sense.h.

#define STATE_NORMAL   0

Definition at line 1586 of file SDK_Manila_Sense.h.

#define STATE_SELECTED   3

Definition at line 1589 of file SDK_Manila_Sense.h.

#define SW_MINIMIZED   6

Definition at line 1842 of file SDK_Manila_Sense.h.

#define TEXT_BIG   1

Definition at line 522 of file SDK_Manila_Sense.h.

#define TEXT_ITALIC   2

Definition at line 523 of file SDK_Manila_Sense.h.

#define TEXT_NORMAL   0

Definition at line 521 of file SDK_Manila_Sense.h.

#define TEXT_SMALL   3

Definition at line 524 of file SDK_Manila_Sense.h.

#define TYPE_CHILD_SECTION   1

Definition at line 270 of file SDK_Manila_Sense.h.

#define TYPE_EDIT_CTRL   2

Definition at line 271 of file SDK_Manila_Sense.h.

#define TYPE_ITEM   3

Definition at line 272 of file SDK_Manila_Sense.h.

#define TYPE_LABEL   4

Definition at line 273 of file SDK_Manila_Sense.h.

#define TYPE_PANEL   5

Definition at line 274 of file SDK_Manila_Sense.h.

#define TYPE_PICTURE   6

Definition at line 275 of file SDK_Manila_Sense.h.

#define TYPE_SECTION   8

Definition at line 277 of file SDK_Manila_Sense.h.

#define TYPE_SELECTOR   7

Definition at line 276 of file SDK_Manila_Sense.h.

#define TYPE_SLIDER   9

Definition at line 278 of file SDK_Manila_Sense.h.

#define VEL_INERTIE   100.0

Definition at line 725 of file SDK_Manila_Sense.h.

#define VIS_DISABLED   2

Definition at line 1120 of file SDK_Manila_Sense.h.

#define VIS_HOVER   1

Definition at line 1119 of file SDK_Manila_Sense.h.

#define VIS_NORMAL   0

Definition at line 1118 of file SDK_Manila_Sense.h.

#define VIS_SLIDE_DISABLED   2

Definition at line 882 of file SDK_Manila_Sense.h.

#define VIS_SLIDE_NORMAL   0

Definition at line 881 of file SDK_Manila_Sense.h.

#define WINDLL

Definition at line 6 of file SDK_Manila_Sense.h.


Typedef Documentation

structure used to save info about surface (image, screen...)

typedef struct GDI_OVERLAY GDI_OVERLAY

structure used to save info about overlay (surface printed above current drawing)

typedef struct ICONDIR * LPICONDIR
typedef struct ICONDIRENTRY * LPICONDIRENTRY
typedef struct ICONIMAGE * LPICONIMAGE
Thibault LELORE