ReactOS
0.4.15-dev-1638-gc0caa5c
|
#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") |
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 |
Definition at line 46 of file 3dtext.c.
Referenced by InitGL().
Definition at line 210 of file 3dtext.c.
Referenced by ScreenSaverProc().
Definition at line 115 of file 3dtext.c.
Referenced by DrawGLScene().
Definition at line 141 of file 3dtext.c.
Referenced by ScreenSaverProc().
Definition at line 108 of file 3dtext.c.
Referenced by ScreenSaverProc().
Definition at line 184 of file 3dtext.c.
Referenced by ScreenSaverProc().
Definition at line 256 of file 3dtext.c.
Definition at line 35 of file 3dtext.c.
Referenced by _dosmaperr(), _lsearch(), _vsnprintf(), add_module(), afm_parser_init(), align_the_pointer(), apc_deadlock_thread(), asciiToUTF8(), astollb(), basename(), bezier_deviation_squared(), ccf_sortlist(), cf2_doBlend(), cff_blend_doBlend(), cid_parse_dict(), CoInternetCombineIUri(), CoInternetCombineUrlEx(), combine_uri(), context_bind_shader_resources(), context_create(), convert_text2number_2(), createenumpins(), CreateOffloadInfo5Internal(), CRYPT_OpenParentStore(), CRYPT_SysRegOpenStoreW(), DECLARE_INTERFACE(), DECLARE_INTERFACE_(), decode_base85_guid(), detect_dsp(), dup_basename(), dwarf2_parse_augmentation_ptr(), dwarfaddrtounit(), elf_lookup_symtab(), EnumPins_Construct(), expr_common_type(), FDI_read_string(), findfde(), format_float(), FT_GlyphLoader_Add(), FT_GlyphLoader_Rewind(), ft_validator_init(), gen_bitlen(), get_iframe_doc(), get_manifest_in_manifest_file(), get_manifest_in_pe_file(), get_nt_header(), gl_GenLists(), gl_ListBase(), gl_save_ListBase(), hook_WaitForInputIdle(), IMAGEHLP_ReportImportSection(), inet_addr(), inflate_table(), ipaddr_aton(), isolat1ToUTF8(), l_to_a(), merge_paths(), minidump_add_memory64_block(), minidump_add_memory_block(), MiniDumpReadDumpStream(), OP_E(), otv_validate(), para_num_get_str(), parse_charstrings(), parse_dict(), parse_subrs(), parseAndPrintFile(), ParseV4Address(), PathIsURLA(), PathIsURLW(), pfr_face_get_kerning(), PICE_vsprintf(), ppy__scan_buffer(), PS_Conv_Strtol(), ps_parser_init(), QISearch(), read_msft_importlib(), ReadQWordNode(), RtlIntegerToChar(), RtlUnicodeStringToInteger(), shader_glsl_init_uniform_block_bindings(), shader_glsl_load_samplers(), shader_glsl_map_tex_unit(), sort_linked_list(), state_cb(), streamout(), strtol(), strtolW(), strtoull(), strtoulW(), SymEnumLines(), symt_new_array(), t42_parse_dict(), td_lfind(), test_CoInternetCombineIUri(), test_CoInternetCombineUrlEx(), test_create_adjustable_cap(), test_create_effect_and_pool(), test_create_effect_compiler(), test_CreateFileMapping_protection(), test_filesourcefilter(), test_GetMappedFileName(), test_mapping(), test_PdhGetCounterTimeBase(), test_VirtualAlloc_protection(), test_VirtualProtect(), test_write_watch(), ArcTessellator::trim_power_coeffs(), TRIO_ARGS2(), TRIO_ARGS3(), TRIO_ARGS5(), TRIO_ARGS6(), UDFUnPackMapping(), UniataAhciResume(), update_radio(), UrlCombineA(), UrlCombineW(), UrlGetLocationA(), UrlGetLocationW(), UrlIsA(), UrlIsW(), wcstol(), wcstoul(), wine_ldt_set_base(), wined3d_buffer_map(), WMSFT_fixup_typeinfos(), WPRINTF_GetLen(), xmlBufGetInputBase(), xmlBufSetInputBaseCur(), xmlBufWriteQuotedString(), xmlHTMLPrintFileContext(), xmlParserPrintFileContextInternal(), xsltLoadStylesheetPI(), xsltReleaseLocalRVTs(), xsltSaveResultTo(), yy_scan_buffer(), ZSTD_compressBlock_doubleFast_extDict_generic(), ZSTD_compressBlock_fast_extDict_generic(), ZSTD_compressBlock_lazy_extDict_generic(), ZSTD_execSequenceLast7(), ZSTD_ldm_generateSequences_internal(), and ZSTD_ldm_ipow().
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(), BitmapFromIcon(), BuildFont(), CancelDC(), CB_Paint(), CB_ThemedPaint(), CBGetTextAreaHeight(), CC_PaintColorGraph(), CC_PaintCross(), CC_PaintLumBar(), CC_PaintTriangle(), co_IntPaintWindows(), co_UserExcludeUpdateRgn(), COMBO_Init(), COMBO_Paint(), COMBO_PrepareColors(), COMBOEX_ComboWndProc(), COMBOEX_EditWndProc(), COMCTL32_DrawInsertMark(), ATL::CPathT< StringType >::CompactPath(), ConvertBitmapTo32Bpp(), ConWndProc(), Create24BppBitmap(), CreateCheckImage(), CreateCheckMask(), CreateCompatibleBitmap(), CreateD3D9DeviceData(), CreateDIBitmap(), CreateDIBSection(), CreateDiscardableBitmap(), CreateFrameBufferBitmap(), ATL::CImage::CreateInternal(), CreateInternalDeviceData(), CreateMonospaceFont(), CreateRadioImage(), CreateRadioMask(), CShellLink::CreateShortcutIcon(), DceSetDrawable(), DCU_SetDcUndeletable(), DefWndControlColor(), dialog_choose_font(), Display_DrawText(), Display_SetTypeFace(), DisplayPageProc(), DoBlt(), DoEntry(), DoLoadNames(), DoTestEntry(), Draw3dRect(), Draw3dRect2(), DrawBackgroundPreview(), DrawCaption(), DrawCaptionTempW(), DrawEdge(), DrawEscape(), DrawFrameControl(), DrawIcon(), DrawLines(), DrawNCPreview(), DrawPrimitive(), DrawStateA(), DrawStateW(), DrawTextFromResource(), DrawTileBitmap(), DumpFont(), DxDdCreateDirectDrawObject(), DxDdReenableDirectDrawObject(), DxEngGetDCState(), DxEngLockDC(), DxEngSetDCState(), EditDlg_OnInitDialog(), EditTypeDlg_OnMeasureItem(), EnumFontsA(), EnumFontsW(), ExcludeUpdateRgn(), export_welcome_dlg_proc(), ExtEscape(), FaceNameList_Initialize(), FillRect(), FillSolidRect(), FillSolidRect2(), fnIMLangFontLink2_GetFontUnicodeRanges(), fnIMLangFontLink2_MapFont(), fnIMLangFontLink_MapFont(), font_height(), FontTypeChange(), ForceNCPaintErase(), FrameRect(), ftGdiGetTextMetricsW(), GB_Paint(), GB_ThemedPaint(), GdiCreateLocalMetaFilePict(), GdiIsMetaPrintDC(), GdiIsPlayMetafileDC(), GdiSelectPalette(), Get16BitD3DFormat(), GetButtonHeight(), GetClipboardDataDimensions(), GetColorSpace(), GetDIBColorTable(), GetDIBits(), GetFontCellSize(), GetFontMetrics(), GetKerningPairsA(), GetPossibleSettings(), GetSystemPaletteEntries(), GetTabbedTextExtentA(), GetTabbedTextExtentW(), 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(), ImageEditWndProc(), ImageEditWndRepaint(), import_welcome_dlg_proc(), init_system_font_height(), InitBitmap(), InitEditWnd(), InitFonts(), InitLogo(), InitOGLWindow(), IntAnimatePalette(), IntDefWindowProc(), IntDrawMenuBarTemp(), IntDrawScrollArrows(), IntDrawScrollInterior(), IntFillWindow(), IntGdiCleanDC(), IntGdiCreateDisplayDC(), IntGdiDeleteDC(), IntGdiPolyPatBlt(), IntGdiRealizePalette(), IntGdiSetBkColor(), IntGdiSetBkMode(), IntGdiSetHookFlags(), IntGdiSetTextAlign(), IntGdiSetTextColor(), IntGetSystemPaletteEntries(), IntGrayString(), IntPaintDesktop(), IntScrollWindowEx(), IntTMWFixUp(), IntUpdateScrollArrows(), 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(), CPaletteWindow::OnPaint(), CFullscreenWindow::OnPaint(), CSelectionWindow::OnPaint(), CTrayClockWnd::OnPaint(), CDownloaderProgress::OnPaint(), CDefView::OnPrintClient(), PaintControl(), PaintSuspendedWindow(), PathCompactPathA(), PathCompactPathW(), ATL::CPathT< StringType >::PathCompactPathX(), PB_Paint(), PB_ThemedPaint(), PlotCharacter(), PointSizeFromHeight(), PointSizeToLogicalSize(), ATL::CWindow::Print(), ATL::CWindow::PrintClient(), ProcessListWndProc(), ReadBits(), RealDrawFrameControl(), RealUserDrawCaption(), ReleaseDC(), ATL::CWindow::ReleaseDC(), RichEditWndProc_common(), ScreenSaverProc(), ScrollDC(), serializeBMP(), serializeIcon(), SetColorSpace(), SetDIBColorTable(), SetDIBits(), SetMapperFlags(), SetMetaRgn(), SetupControls(), SetupDiGetClassImageListExW(), ShellBrowser::ShellBrowser(), SHFillRectClr(), ShowColorSpectrum(), SIC_Initialize(), SoftModalMessageBox(), START_TEST(), system_font_height(), 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(), ViewDlg_CreateTreeImageList(), WindowFromDC(), and WinPrev_OnDraw().
|
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().