#include "camtypes.h"
#include "colourix.h"
#include "csrstack.h"
#include "osrndrgn.h"
#include "blobs.h"
#include "oilfiles.h"
#include "filltool.h"
#include "opgrad.h"
#include "toollist.h"
#include "bitmpinf.h"
#include "ophist.h"
#include "keypress.h"
#include "opnudge.h"
#include "fillndge.h"
#include "bmpcomp.h"
#include "bubbleid.h"
#include "nodeshad.h"
#include "objchge.h"
#include "layer.h"
#include "opliveeffects.h"
#include "effects_stack.h"
#include "nodeliveeffect.h"
Go to the source code of this file.
Classes | |
struct | FGMItem |
Associate the FillGeometry enum with the resource id of the text that gets displayed on the menu. More... | |
struct | TGMItem |
Associate the TransparencyGeometry enum with the resource id of the text that gets displayed on the menu. More... | |
Defines | |
#define | new CAM_DEBUG_NEW |
Functions | |
DECLARE_SOURCE ("$Revision: 1730 $") | |
double | GetDoubleGrain (INT32 Pos) |
INT32 | GetGrainPos (double Grain) |
INT32 | GetGrainPosMax () |
double | GetDoubleScale (INT32 Pos) |
INT32 | GetScalePos (double Scale) |
INT32 | GetScalePosMax () |
Variables | |
static INT32 | TempGeometryIndex = -1 |
const FGMItem | FillGeometryMenu [] |
Array of 'FGMItem's that make up the geometry menu. We need to keep track of this because list combo boxes can only return the position of the selected item, not what it actually is. All this fuctionality should be in the gadgets not here. | |
const INT32 | FillGeometryMenuCount = sizeof(FillGeometryMenu) / sizeof(FillGeometryMenu[0]) |
Number of items on the FillGeometryMenu menu. | |
const TGMItem | TransparencyGeometryMenu [] |
Array of 'TGMItem's that make up the geometry menu. We need to keep track of this because list combo boxes can only return the position of the selected item, not what itd actually is. All this fuctionality should be in the gadgets not here. | |
const INT32 | TransparencyGeometryMenuCount = sizeof(TransparencyGeometryMenu) / sizeof(TransparencyGeometryMenu[0]) |
Number of items on the TransparencyGeometryMenu menu. |
|
Definition at line 203 of file filltool.cpp. |
|
|
|
Definition at line 9937 of file filltool.cpp. 09938 { 09939 return ( 128.0 * double(Pos)/double(GetGrainPosMax()) ); 09940 }
|
|
Definition at line 9952 of file filltool.cpp. 09953 { 09954 return ( 100.0 * double(Pos)/double(GetScalePosMax()) ); 09955 }
|
|
Definition at line 9942 of file filltool.cpp. 09943 { 09944 return INT32(Grain * double(GetGrainPosMax()) / 128.0 ); 09945 }
|
|
Definition at line 9947 of file filltool.cpp.
|
|
Definition at line 9957 of file filltool.cpp. 09958 { 09959 return INT32(Scale * double(GetScalePosMax()) / 100.0 ); 09960 }
|
|
Definition at line 9962 of file filltool.cpp.
|
|
Initial value: { { FGMENU_FLAT, _R(IDS_FILLTOOL_FLATFILL) }, { FGMENU_LINEAR, _R(IDS_FILLTOOL_LINEAR) }, { FGMENU_CIRCULAR, _R(IDS_FILLTOOL_CIRCULAR) }, { FGMENU_RADIAL, _R(IDS_FILLTOOL_ELLIPTICAL) }, { FGMENU_CONICAL, _R(IDS_FILLTOOL_CONICAL) }, { FGMENU_SQUARE, _R(IDS_FILLTOOL_SQUARE) }, { FGMENU_THREECOL, _R(IDS_FILLTOOL_THREECOL) }, { FGMENU_FOURCOL, _R(IDS_FILLTOOL_FOURCOL) }, { FGMENU_BITMAP, _R(IDS_FILLTOOL_BITMAP) }, { FGMENU_FRACTAL, _R(IDS_FILLTOOL_FRACTAL) }, { FGMENU_NOISE, _R(IDS_FILLTOOL_NOISE) } }
Definition at line 2589 of file filltool.cpp. |
|
Number of items on the FillGeometryMenu menu.
Definition at line 2619 of file filltool.cpp. |
|
Definition at line 184 of file filltool.cpp. |
|
Initial value: { { FGMENU_NOTRANSP, _R(IDS_FILLTOOL_NOTRANSP) }, { FGMENU_FLATTRANSP, _R(IDS_FILLTOOL_FLATTRANSP) }, { FGMENU_LINEARTRANSP, _R(IDS_FILLTOOL_LINEAR) }, { FGMENU_CIRCULARTRANSP, _R(IDS_FILLTOOL_CIRCULAR) }, { FGMENU_RADIALTRANSP, _R(IDS_FILLTOOL_ELLIPTICAL) }, { FGMENU_CONICALTRANSP, _R(IDS_FILLTOOL_CONICAL) }, { FGMENU_SQUARETRANSP, _R(IDS_FILLTOOL_SQUARE) }, { FGMENU_THREECOLTRANSP, _R(IDS_FILLTOOL_THREECOLTRANS) }, { FGMENU_FOURCOLTRANSP, _R(IDS_FILLTOOL_FOURCOLTRANS) }, { FGMENU_BITMAPTRANSP, _R(IDS_FILLTOOL_TEXTURE) }, { FGMENU_FRACTALTRANSP, _R(IDS_FILLTOOL_FRACTAL) }, { FGMENU_NOISETRANSP, _R(IDS_FILLTOOL_NOISE) } }
Definition at line 5855 of file filltool.cpp. |
|
Number of items on the TransparencyGeometryMenu menu.
Definition at line 5886 of file filltool.cpp. |