ReactOS 0.4.16-dev-125-g798ea90
|
#include "3dtext.h"
#include <winbase.h>
#include <wingdi.h>
#include <winuser.h>
#include <scrnsave.h>
#include <math.h>
#include <GL/glu.h>
#include "resource.h"
Go to the source code of this file.
Macros | |
#define | APPNAME _T("3DText") |
#define | APP_TIMER 1 |
#define | APP_TIMER_INTERVAL (USER_TIMER_MINIMUM * 5) |
Functions | |
GLvoid | BuildFont (GLvoid) |
GLvoid | KillFont (GLvoid) |
GLvoid | glPrint (LPTSTR text) |
GLvoid | InitGL (GLsizei Width, GLsizei Height) |
GLvoid | ReSizeGLScene (GLsizei Width, GLsizei Height) |
GLvoid | DrawGLScene (GLvoid) |
LRESULT CALLBACK | ScreenSaverProc (HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam) |
BOOL CALLBACK | ScreenSaverConfigureDialog (HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) |
BOOL WINAPI | RegisterDialogClasses (HANDLE hInst) |
Variables | |
static HGLRC | hRC |
static HDC | hDC |
GLuint | base |
GLfloat | rot |
GLfloat | extentX = 0.0f |
GLfloat | extentY = 0.0f |
HINSTANCE | hInstance |
BOOL | fullscreen = FALSE |
UINT | uTimerID |
#define APP_TIMER_INTERVAL (USER_TIMER_MINIMUM * 5) |
Definition at line 49 of file 3dtext.c.
Referenced by InitGL().
Definition at line 213 of file 3dtext.c.
Referenced by ScreenSaverProc().
Definition at line 118 of file 3dtext.c.
Referenced by DrawGLScene().
Definition at line 144 of file 3dtext.c.
Referenced by ScreenSaverProc().
Definition at line 111 of file 3dtext.c.
Referenced by ScreenSaverProc().
Definition at line 187 of file 3dtext.c.
Referenced by ScreenSaverProc().
Definition at line 397 of file 3dtext.c.
Definition at line 259 of file 3dtext.c.
GLfloat extentX = 0.0f |
Definition at line 37 of file 3dtext.c.
Referenced by BuildFont(), and DrawGLScene().
GLfloat extentY = 0.0f |
Definition at line 38 of file 3dtext.c.
Referenced by BuildFont(), and DrawGLScene().
|
static |
Definition at line 33 of file 3dtext.c.
Referenced by _Success_(), AddDlg_OnInitDialog(), ANIMATE_AnimationThread(), ANIMATE_DrawFrame(), ANIMATE_PaintFrame(), ANIMATE_Play(), ANIMATE_Timer(), ANIMATE_WindowProc(), BIDI_Reorder(), BitmapFromClipboardDIB(), BitmapFromHEMF(), BitmapFromIcon(), BitmapToClipboardDIB(), BuildFont(), C1_DrawConvexRect(), C1_DrawLabel(), C1_InitBitmap(), C1_InvertButton(), C1_OnButtonDown(), C1_OnButtonUp(), C1_OnCreate(), C1_OnDraw(), C1_OnImeControl(), C1_OnMouseMove(), C1_SetData(), C1_WindowProc(), CalculateCharWidth(), CancelDC(), CB_Paint(), CB_ThemedPaint(), CBGetTextAreaHeight(), CC_PaintColorGraph(), CC_PaintCross(), CC_PaintLumBar(), CC_PaintTriangle(), CheckEAFonts(), cicDrawMaskBmpOnDC(), co_IntPaintWindows(), co_UserExcludeUpdateRgn(), COMBO_Init(), COMBO_Paint(), COMBO_PrepareColors(), COMBOEX_ComboWndProc(), COMCTL32_DrawInsertMark(), ATL::CPathT< StringType >::CompactPath(), ConvertBitmapTo32Bpp(), ConWndProc(), Create24BppBitmap(), CCicLibMenuItem::CreateBitmap(), CreateCheckImage(), CreateCheckMask(), CreateCompatibleBitmap(), CreateD3D9DeviceData(), CreateDIBitmap(), CreateDIBSection(), CreateDiscardableBitmap(), CreateFrameBufferBitmap(), ATL::CImage::CreateInternal(), CreateInternalDeviceData(), CreateMonospaceFont(), CreateRadioImage(), CreateRadioMask(), CShellLink::CreateShortcutIcon(), CreateTestImage(), DceSetDrawable(), DCU_SetDcUndeletable(), DefWndControlColor(), dialog_choose_font(), Display_DrawText(), Display_SetTypeFace(), DisplayPageProc(), DoBlt(), CCanvasWindow::DoDraw(), DoEntry(), CTextEditWindow::DoFillBack(), DoLoadImageFile(), DoLoadNames(), DoTestEntry(), CUIFMenuItem::DrawArrow(), DrawBackgroundPreview(), CUIFMenuItem::DrawBitmapProc(), CUIFButton::DrawBitmapProc(), DrawCaption(), DrawCaptionTempW(), CUIFMenuItem::DrawCheck(), drawColorBox(), DrawEdge(), CUIFButton::DrawEdgeProc(), DrawEscape(), DrawFrameControl(), CTextEditWindow::DrawGrip(), DrawHeaderOrFooter(), DrawIcon(), CUIFButton::DrawIconProc(), DrawLines(), DrawNCPreview(), DrawPrimitive(), DrawStateA(), DrawStateW(), DrawTextFromResource(), CUIFButton::DrawTextProc(), CUIFBalloonButton::DrawTextProc(), CUIFTheme::DrawThemeBackground(), CUIFTheme::DrawThemeEdge(), CUIFTheme::DrawThemeIcon(), CUIFTheme::DrawThemeParentBackground(), CUIFTheme::DrawThemeText(), DrawTileBitmap(), CUIFMenuItem::DrawUnderline(), DrawWindowForNCPreview(), DumpFont(), DxDdCreateDirectDrawObject(), DxDdReenableDirectDrawObject(), DxEngGetDCState(), DxEngLockDC(), DxEngSetDCState(), EditDlg_OnInitDialog(), EditTypeDlg_OnMeasureItem(), EnumFontsA(), EnumFontsW(), ExcludeUpdateRgn(), export_welcome_dlg_proc(), ExtEscape(), FaceNameList_Initialize(), FillRect(), FillSolidRect(), FindSuitableFont(), CTextEditWindow::FixEditPos(), fnIMLangFontLink2_GetFontUnicodeRanges(), fnIMLangFontLink2_MapFont(), fnIMLangFontLink_MapFont(), font_height(), FontTypeChange(), ForceNCPaintErase(), FrameRect(), ftGdiGetTextMetricsW(), GB_Paint(), GB_ThemedPaint(), GdiCreateLocalMetaFilePict(), GdiSelectPalette(), Get16BitD3DFormat(), get_font_height(), GetButtonHeight(), GetClipboardDataDimensions(), GetColorSpace(), GetDIBColorTable(), GetDIBits(), GetDpiForSystem(), GetFontMetrics(), GetFontSig(), CDefCompFrameWindow::GetGripperWidth(), CTipbarWnd::GetGripperWidth(), GetKerningPairsA(), GetPhysicalFontHeight(), GetPossibleSettings(), CUIFSystemInfo::GetSystemMetrics(), GetSystemPaletteEntries(), GetTabbedTextExtentA(), GetTabbedTextExtentW(), CTipbarThread::GetTextSize(), CUIFButton::GetTextSize(), CUIFTheme::GetThemeBackgroundContentRect(), CUIFTheme::GetThemeBackgroundExtent(), CUIFTheme::GetThemeFont(), CUIFTheme::GetThemeMargins(), CUIFTheme::GetThemePartSize(), CUIFTheme::GetThemeTextExtent(), CUIFToolTip::GetTipWindowSize(), Graph_DrawCpuUsageGraph(), Graph_DrawMemUsageGraph(), Graph_DrawMemUsageHistoryGraph(), GrayStringA(), GrayStringW(), GreExtTextOutW(), GreGetDCPoint(), GreGetDIBitsInternal(), GreGetKerningPairs(), GreGetTextExtentExW(), GreGetTextExtentW(), GreSetStretchBltMode(), GreSetViewportOrgEx(), HeightFromPointSize(), HelDdSurfLock(), HelDdSurfUnlock(), HEXEDIT_PaintLines(), HEXEDIT_WM_SETFONT(), ICONTITLE_Paint(), ICONTITLE_SetTitlePos(), Imm32StoreBitmapToBytes(), import_welcome_dlg_proc(), InatCreateIconBySize(), init_system_font_height(), InitBitmap(), CFontsDialog::InitFontNames(), InitFonts(), InitLogo(), InitOGLWindow(), IntAnimatePalette(), IntDefWindowProc(), IntDrawMenuBarTemp(), IntDrawScrollArrows(), IntDrawScrollInterior(), InternalSelectEx(), IntFillWindow(), IntGdiCleanDC(), IntGdiCreateDisplayDC(), IntGdiDeleteDC(), IntGdiPolyPatBlt(), IntGdiRealizePalette(), IntGdiSetBkColor(), IntGdiSetBkMode(), IntGdiSetHookFlags(), IntGdiSetTextAlign(), IntGdiSetTextColor(), IntGetSystemPaletteEntries(), IntGrayString(), IntPaintDesktop(), IntScrollWindowEx(), IntTMWFixUp(), IntUpdateScrollArrows(), CicCaret::InvertCaret(), InvertRect(), is_charset_font_installed(), is_fixed_charset_font_installed(), is_truetype_font_installed(), IsDirectDrawSupported(), IsGDIDriver(), IsValidConsoleFont(), KeyboardSpeedProc(), LoadDialog(), LoadIniFile(), LogicalSizeToPointSize(), Main_DDrawSurface_ReleaseDC(), MainFrameBase::MainFrameBase(), MainWnd_OnDrawItem(), MainWnd_OnMeasureItem(), MainWnd_OnPaint(), MainWndProc(), MCIAVI_OpenVideo(), MCIAVI_PaintFrame(), MCIAVI_player(), MD_OnPrint(), MD_OnPrintClient(), ME_CharFormatFromLogFont(), ME_DebugWrite(), ME_DrawTextWithStyle(), ME_HandleMessage(), ME_InitContext(), ME_PaintContent(), CTrayClockWnd::MeasureLines(), MENU_DrawMenuBar(), MonitorSelWndProc(), MonSelGetMonitorFont(), MonSelMoveDragRect(), MonSelPaint(), MonSelPaintMonitor(), MonthCalPaint(), MonthCalWndProc(), MultiWndProc(), MyDrawEdge(), MyDrawFrameControl(), NC_DoNCPaint(), NC_DrawFrame(), NC_HandleNCActivate(), NC_HandleNCCalcSize(), NC_HandleNCLButtonDown(), NewEnumFontFamiliesExW(), NtGdiAbortPath(), NtGdiAngleArc(), NtGdiArcInternal(), NtGdiBeginPath(), NtGdiCloseFigure(), NtGdiCreateCompatibleBitmap(), NtGdiCreateDIBSection(), NtGdiCreateHalftonePalette(), NtGdiDdDDICreateDCFromMemory(), NtGdiEllipse(), NtGdiEndPath(), NtGdiEscape(), NtGdiExtEscape(), NtGdiExtFloodFill(), NtGdiExtSelectClipRgn(), NtGdiExtTextOutW(), NtGdiFillPath(), NtGdiFlattenPath(), NtGdiFlushUserBatch(), NtGdiGetCharABCWidthsW(), NtGdiGetCharSet(), NtGdiGetCharWidthW(), NtGdiGetDCDword(), NtGdiGetDCObject(), NtGdiGetDCPoint(), NtGdiGetDeviceGammaRamp(), NtGdiGetFontData(), NtGdiGetKerningPairs(), NtGdiGetNearestColor(), NtGdiGetOutlineTextMetricsInternalW(), NtGdiGetPath(), NtGdiGetTextExtentExW(), NtGdiGetTextFaceW(), NtGdiGetTextMetricsW(), NtGdiLineTo(), NtGdiOffsetViewportOrgEx(), NtGdiOffsetWindowOrgEx(), NtGdiPathToRegion(), NtGdiPolyPatBlt(), NtGdiPolyPolyDraw(), NtGdiPtVisible(), NtGdiRectangle(), NtGdiRectVisible(), NtGdiRoundRect(), NtGdiSaveDC(), NtGdiScaleViewportExtEx(), NtGdiScaleWindowExtEx(), NtGdiSelectBrush(), NtGdiSelectClipPath(), NtGdiSelectPen(), NtGdiSetDeviceGammaRamp(), NtGdiSetDIBitsToDeviceInternal(), NtGdiSetMetaRgn(), NtGdiSetSystemPaletteUse(), NtGdiSetTextJustification(), NtGdiSetViewportOrgEx(), NtGdiSetWindowOrgEx(), NtGdiStrokeAndFillPath(), NtGdiStrokePath(), NtGdiTransformPoints(), NtGdiUpdateColors(), NtGdiWidenPath(), NtUserBeginPaint(), NtUserDrawCaption(), NtUserDrawCaptionTemp(), NtUserDrawMenuBarTemp(), NtUserEnumDisplayMonitors1(), NtUserExcludeUpdateRgn(), NtUserFillWindow(), NtUserPaintDesktop(), NtUserPaintMenuBar(), NtUserScrollDC(), NtUserSelectPalette(), NtUserxRealizePalette(), NtUserxReleaseDC(), NtUserxWindowFromDC(), OB_Paint(), CAutoComplete::OnDrawItem(), CTextEditWindow::OnEraseBkGnd(), CTextEditWindow::OnNCPaint(), CCanvasWindow::OnPaint(), CFullscreenWindow::OnPaint(), CMiniatureWindow::OnPaint(), CPaletteWindow::OnPaint(), CTextEditWindow::OnPaint(), CDownloaderProgress::OnPaint(), CTrayClockWnd::OnPaint(), CACSizeBox::OnPaint(), CDefView::OnPrintClient(), PaintControl(), CUIFBalloonWindow::PaintFrameProc(), CTrayClockWnd::PaintLine(), CUIFBalloonWindow::PaintMessageProc(), PaintSuspendedWindow(), PathCompactPathA(), PathCompactPathW(), ATL::CPathT< StringType >::PathCompactPathX(), PB_Paint(), PB_ThemedPaint(), PlotCharacter(), PointSizeFromHeight(), PointSizeToLogicalSize(), ATL::CWindow::Print(), ATL::CWindow::PrintClient(), ProcessListWndProc(), ReadBits(), RealDrawFrameControl(), RealUserDrawCaption(), ATL::CWindow::ReleaseDC(), ReleaseDC(), RichEditWndProc_common(), RosImageProc(), ScreenSaverProc(), ScrollDC(), serializeBMP(), serializeIcon(), SetColorSpace(), SetDIBColorTable(), SetDIBits(), CACListView::SetFont(), SetMapperFlags(), SetMetaRgn(), CACSizeBox::SetStatus(), SetupControls(), SetupDiGetClassImageListExW(), ShellBrowser::ShellBrowser(), SHFillRectClr(), SHGetPerScreenResName(), SHIsTempDisplayMode(), ShowColorSpectrum(), ShowResolutionPreview(), ShowScreenSaverPreview(), SHPropertyBag_PerScreenRes(), SIC_Initialize(), SoftModalMessageBox(), START_TEST(), STDMETHODIMP_(), SelectionModel::StretchSkew(), system_font_height(), T1_DrawConvexRect(), T1_DrawLabels(), T1_GetTextMetric(), T1_InitBitmap(), T1_InvertButton(), T1_OnDraw(), T1_SetData(), T1_WindowProc(), TabbedTextOutA(), TabbedTextOutW(), Test_Dibsection(), test_edit_control_3(), Test_FontPresence(), Test_FontSelection(), Test_FontSelectionEntry(), test_fontsize(), Test_GetClipRgn(), Test_GetCurrentObject(), Test_GetSystemMetrics(), Test_GetTextFace(), Test_GetTextFaceAliasW(), Test_NtGdiDoPalette_GdiPalSetEntries(), Test_OneParamRoutine_WindowFromDC(), test_pack_DRAWITEMSTRUCT(), test_pack_MCI_ANIM_UPDATE_PARMS(), test_pack_MCI_DGV_UPDATE_PARMS(), Test_Params(), Test_ScrollDC(), Test_SetDCPenColor(), Test_SetMapMode(), Test_SetWindowExtEx(), Thunk_DDrawSurface3_ReleaseDC(), ToolTipProc(), TOOLTIPS_Paint(), TrayIcon_GetProcessorUsageIcon(), TREEVIEW_ComputeTextWidth(), TTEmbedFont(), TTGetEmbeddingType(), TTIsEmbeddingEnabled(), UB_Paint(), UpdateCaretPos(), UserDrawCaptionBar(), UserDrawCaptionButton(), UserDrawCaptionButtonWnd(), UserDrawSysMenuButton(), UserGetDCEx(), UserPaintCaption(), UserRealizePalette(), UserScrollDC(), WindowFromDC(), WinPrev_OnDraw(), and ZoomWnd_OnPaint().
|
static |
Definition at line 32 of file 3dtext.c.
Referenced by InitOGLWindow(), and ScreenSaverProc().
GLfloat rot |
Definition at line 36 of file 3dtext.c.
Referenced by AntiMonikerImpl_IsRunning(), CompositeMonikerImpl_GetTimeOfLastChange(), CompositeMonikerImpl_IsRunning(), DrawGLScene(), FileMoniker_CreateFromDisplayName(), FileMonikerImpl_GetTimeOfLastChange(), FileMonikerImpl_IsRunning(), ItemMonikerImpl_GetTimeOfLastChange(), ItemMonikerImpl_IsRunning(), linegradient_init_transform(), and test_Matrix_Transformation2D().
UINT uTimerID |
Definition at line 44 of file 3dtext.c.
Referenced by ScreenSaverProc().