|
ReactOS 0.4.17-dev-653-g1d6dae3
|
#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 | Build3DCharacters (GLvoid) |
| GLvoid | Delete3DCharacters (GLvoid) |
| GLvoid | glPrint (GLvoid) |
| 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 |
| static GLuint | base |
| static GLuint | text_display_list [MAX_TEXT_LENGTH] |
| static GLfloat | rot |
| static GLfloat | extentX = 0.0f |
| static 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 111 of file 3dtext.c.
Referenced by ScreenSaverProc().
Definition at line 200 of file 3dtext.c.
Referenced by ScreenSaverProc().
Definition at line 118 of file 3dtext.c.
Referenced by DrawGLScene().
Definition at line 131 of file 3dtext.c.
Referenced by ScreenSaverProc().
Definition at line 174 of file 3dtext.c.
Referenced by ScreenSaverProc().
Definition at line 384 of file 3dtext.c.
Definition at line 246 of file 3dtext.c.
|
static |
Definition at line 38 of file 3dtext.c.
Referenced by Build3DCharacters(), and DrawGLScene().
|
static |
Definition at line 39 of file 3dtext.c.
Referenced by Build3DCharacters(), and DrawGLScene().
Definition at line 44 of file 3dtext.c.
Referenced by create_foreground_window_().
|
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(), Build3DCharacters(), 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(), CheckColor(), CheckEAFonts(), cicDrawMaskBmpOnDC(), co_IntPaintWindows(), co_UserExcludeUpdateRgn(), COMBO_Init(), COMBO_Paint(), COMBO_PrepareColors(), COMBOEX_ComboWndProc(), COMCTL32_DrawInsertMark(), ATL::CPathT< StringType >::CompactPath(), ConvertBitmapTo32Bpp(), ConWndProc(), CreatDibBitmap(), Create24BppBitmap(), CCicLibMenuItem::CreateBitmap(), CreateCompatibleBitmap(), CreateD3D9DeviceData(), CreateDIBitmap(), CreateDIBSection(), CreateDiscardableBitmap(), CreateFrameBufferBitmap(), ATL::CImage::CreateInternal(), CreateInternalDeviceData(), CreateMonospaceFont(), CShellLink::CreateShortcutIcon(), CreateStateImages(), CreateTestImage(), DceSetDrawable(), DCU_SetDcUndeletable(), DefWndControlColor(), dialog_choose_font(), Display_DrawText(), Display_SetTypeFace(), DisplayPageProc(), DoBlt(), CCanvasWindow::DoDraw(), DoEntryW(), CTextEditWindow::DoFillBack(), DoLoadImageFile(), DoLoadNames(), DoTestEntry(), draw_text_with_style(), 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(), editor_draw(), editor_handle_message(), EditTypeDlg_OnMeasureItem(), EnumFontsA(), EnumFontsW(), ExcludeUpdateRgn(), export_welcome_dlg_proc(), ExtEscape(), FaceNameList_Initialize(), FillRect(), FillSolidRect(), FindSuitableFont(), CTextEditWindow::FixEditPos(), fnIMLangFontLink2_GetFontUnicodeRanges(), fnIMLangFontLink2_MapFont(), fnIMLangFontLink_MapFont(), 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(), GreGetCharABCWidthsW(), GreGetCharWidthW(), GreGetDCPoint(), GreGetDIBitsInternal(), GreGetKerningPairs(), GreGetTextExtentExW(), GreGetTextExtentW(), GreSetStretchBltMode(), GreSetViewportOrgEx(), HeightFromPointSize(), HelDdSurfLock(), HelDdSurfUnlock(), HEXEDIT_PaintLines(), HEXEDIT_WM_SETFONT(), ICONTITLE_Paint(), ICONTITLE_SetTitlePos(), Imm32DeserializeBitmap(), Imm32SerializeBitmap(), Imm32WriteHBitmapToNode(), 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(), MainWnd_OnDrawItem(), MainWnd_OnMeasureItem(), MainWnd_OnPaint(), MainWndProc(), MCIAVI_OpenVideo(), MCIAVI_PaintFrame(), MCIAVI_player(), MD_OnPrint(), MD_OnPrintClient(), ME_CharFormatFromLogFont(), ME_DebugWrite(), ME_InitContext(), CTrayClockWnd::MeasureLines(), MENU_DrawMenuBar(), CAppBarManager::MonitorEnumProc(), 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(), RosImageProc(), ScreenSaverProc(), ScrollDC(), serializeIcon(), SetColorSpace(), SetDIBColorTable(), SetDIBits(), CACListView::SetFont(), SetMapperFlags(), SetMetaRgn(), CACSizeBox::SetStatus(), SetupControls(), SetupDiGetClassImageListExW(), SHFillRectClr(), SHGetPerScreenResName(), SHIsTempDisplayMode(), ShowColorSpectrum(), ShowResolutionPreview(), ShowScreenSaverPreview(), SHPropertyBag_PerScreenRes(), 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_CharWidth32A(), Test_CharWidth32W(), Test_CharWidthA(), Test_CharWidthFloatA(), Test_CharWidthFloatW(), Test_CharWidthI(), Test_CharWidthW(), Test_Dibsection(), test_edit_control_3(), Test_FontPresence(), Test_FontSelection(), Test_FontSelectionEntry(), test_fontsize(), Test_GetClipRgn(), Test_GetCurrentObject(), TEST_GetGlyphOutlineA(), TEST_GetGlyphOutlineW(), TEST_GetGlyphOutlineWow(), 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().
|
static |
Definition at line 37 of file 3dtext.c.
Referenced by AntiMonikerImpl_IsRunning(), CompositeMonikerImpl_BindToObject(), CompositeMonikerImpl_GetTimeOfLastChange(), CompositeMonikerImpl_IsRunning(), DrawGLScene(), FileMoniker_CreateFromDisplayName(), FileMonikerImpl_GetTimeOfLastChange(), FileMonikerImpl_IsRunning(), ItemMonikerImpl_GetTimeOfLastChange(), ItemMonikerImpl_IsRunning(), linegradient_init_transform(), and test_Matrix_Transformation2D().
|
static |
Definition at line 36 of file 3dtext.c.
Referenced by Build3DCharacters(), and glPrint().
| UINT uTimerID |
Definition at line 45 of file 3dtext.c.
Referenced by ScreenSaverProc().