mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2025-12-31 06:30:52 +00:00
move files
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@603 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
/* $Id$ */
|
||||
/*!
|
||||
* @file Mw/Directory.h
|
||||
* @file Mw/Abstract/Directory.h
|
||||
* @brief Directory functions
|
||||
*/
|
||||
#ifndef __MW_DIRECTORY_H__
|
||||
#define __MW_DIRECTORY_H__
|
||||
#ifndef __MW_ABSTRACT_DIRECTORY_H__
|
||||
#define __MW_ABSTRACT_DIRECTORY_H__
|
||||
|
||||
#include <Mw/MachDep.h>
|
||||
#include <Mw/TypeDefs.h>
|
||||
@@ -89,17 +89,6 @@ MWDECL void MwDrawTriangle(MwWidget handle, MwRect* rect, MwLLColor color, int i
|
||||
*/
|
||||
MWDECL void MwDrawFrameEx(MwWidget handle, MwRect* rect, MwLLColor color, int invert, int border);
|
||||
|
||||
/*!
|
||||
* @brief Draws a text
|
||||
* @param handle Widget
|
||||
* @param point Center point of the text
|
||||
* @param text Text
|
||||
* @param bold Bold
|
||||
* @param align Align
|
||||
* @param color Color
|
||||
*/
|
||||
MWDECL void MwDrawText(MwWidget handle, MwPoint* point, const char* text, int bold, int align, MwLLColor color);
|
||||
|
||||
/*!
|
||||
* @brief Creates a pixmap from image
|
||||
* @param handle Widget
|
||||
@@ -108,22 +97,6 @@ MWDECL void MwDrawText(MwWidget handle, MwPoint* point, const char* text, int bo
|
||||
*/
|
||||
MWDECL MwLLPixmap MwLoadImage(MwWidget handle, const char* path);
|
||||
|
||||
/*!
|
||||
* @brief Calculates a text width
|
||||
* @param handle Widget
|
||||
* @param text Text
|
||||
* @return Text width
|
||||
*/
|
||||
MWDECL int MwTextWidth(MwWidget handle, const char* text);
|
||||
|
||||
/*!
|
||||
* @brief Calculates a text height
|
||||
* @param handle Widget
|
||||
* @param text Text
|
||||
* @return Text height
|
||||
*/
|
||||
MWDECL int MwTextHeight(MwWidget handle, const char* text);
|
||||
|
||||
/*!
|
||||
* @brief Get color components
|
||||
* @param color Color
|
||||
@@ -178,6 +151,35 @@ MWDECL MwLLPixmap MwLoadIcon(MwWidget handle, unsigned int* data);
|
||||
*/
|
||||
MWDECL void MwDrawDiamond(MwWidget handle, MwRect* rect, MwLLColor color, int invert);
|
||||
|
||||
/* text.c */
|
||||
|
||||
/*!
|
||||
* @brief Draws a text
|
||||
* @param handle Widget
|
||||
* @param point Center point of the text
|
||||
* @param text Text
|
||||
* @param bold Bold
|
||||
* @param align Align
|
||||
* @param color Color
|
||||
*/
|
||||
MWDECL void MwDrawText(MwWidget handle, MwPoint* point, const char* text, int bold, int align, MwLLColor color);
|
||||
|
||||
/*!
|
||||
* @brief Calculates a text width
|
||||
* @param handle Widget
|
||||
* @param text Text
|
||||
* @return Text width
|
||||
*/
|
||||
MWDECL int MwTextWidth(MwWidget handle, const char* text);
|
||||
|
||||
/*!
|
||||
* @brief Calculates a text height
|
||||
* @param handle Widget
|
||||
* @param text Text
|
||||
* @return Text height
|
||||
*/
|
||||
MWDECL int MwTextHeight(MwWidget handle, const char* text);
|
||||
|
||||
/* color.c */
|
||||
|
||||
/*!
|
||||
|
||||
@@ -12,15 +12,16 @@
|
||||
#include <Mw/TypeDefs.h>
|
||||
#include <Mw/Core.h>
|
||||
#include <Mw/Default.h>
|
||||
#include <Mw/Draw.h>
|
||||
#include <Mw/Font.h>
|
||||
#include <Mw/Error.h>
|
||||
#include <Mw/Constants.h>
|
||||
#include <Mw/Unicode.h>
|
||||
#include <Mw/Directory.h>
|
||||
#include <Mw/String.h>
|
||||
#include <Mw/Draw.h>
|
||||
#include <Mw/Version.h>
|
||||
|
||||
#include <Mw/Abstract/Directory.h>
|
||||
|
||||
#include <Mw/Resource/Icon.h>
|
||||
#include <Mw/Resource/Cursor.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user